Skip to content

Conversation

@akrabat
Copy link
Member

@akrabat akrabat commented Oct 31, 2025

Add support for PHP 8.5 to the CI matrix and only calling setAccessible() if the PHP version is less than 8.0. Also, remove prophecy from our tests and use PHPUnit's built-in mocks.

We prefer to use PHPUnit's built-in mocking support.
setAccessible() is only required for PHP versions less than 8.1 and is
deprecated from 8.5.
@coveralls
Copy link

Coverage Status

coverage: 99.893%. remained the same
when pulling 626c763 on akrabat:php8.5
into cce9c0d on slimphp:main.

@akrabat akrabat added this to the 1.8.0 milestone Oct 31, 2025
@akrabat akrabat requested review from Copilot and odan and removed request for Copilot October 31, 2025 10:20
@odan odan merged commit 11ccdc9 into slimphp:main Nov 1, 2025
15 checks passed
@akrabat akrabat deleted the php8.5 branch November 1, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants