Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several updates to modernize the codebase, improve compatibility, and enhance test quality. The most significant changes include updating PHP and dependency requirements, migrating test annotations to attributes, and improving test assertions for stricter type checks. There are also some minor documentation and configuration updates.
Dependency and compatibility updates:
composer.jsonto require PHP 8.4 or newer, updated Symfony Console and Webmozart Assert dependencies, and bumped dev dependencies such as PHPUnit and Psalm. Added a conflict forstevebauman/unfinalize. [1] [2].laminas-ci.jsonto ignore PHP platform requirements for 8.4 and enabled backward compatibility checks.Testing improvements:
@dataProviderannotations to PHP 8 attributes (#[DataProvider(...)]) intests/ValueTest.phpfor better IDE and static analysis support. [1] [2] [3] [4] [5] [6] [7]assertEqualswithassertSamein all tests for stricter type and value checking. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]Configuration and documentation:
phpunit.xmlto use the<source>element instead of<coverage>for including source directories.CONTRIBUTE.mdandREADME.mdto fix typos, improve formatting, and correct the PHP CS Fixer command. [1] [2].php-cs-fixer.dist.phpby settingsetRiskyAllowed(true).