-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/php 8 support #32
Feature/php 8 support #32
Conversation
Do we really need a major for this? 😱 I wonder if |
Yes, due to #30, next feature release will be a major. |
We probably should consider backporting PHP 8.0 as migrating laminas-hydrator to a new major is considered as PITA (so many other dependencies need to get a release). https://packagist.org/packages/laminas/laminas-hydrator/dependents? |
- Bumps minimum supported PHP version to 7.3. - Adds `~8.0.0` as an additional allowed PHP constraint. - Bumps supported PHPUnit version to 9.3 series; prior to 9.3 did not support PHP 8, 9.4.0 breaks under PHP 8 currently. - Updates test matrix to drop 7.2 jobs and add 8.0 jobs. - Updates test matrix to move CS, coverage, and phpstan to 7.4 job. Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Prepares tests to work under PHP 8 + PHPUnit 9.3. In particular, removes usage of prophecy in favor of PHPUnit mock objects. Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
8.0 env has not yet been created on Travis Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
47e1d56
to
9ff8b92
Compare
Done - retargeted to 3.2.x and milestone 3.2.0. |
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Fixes issue flagged by PHP 8. Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Description
Adds PHP 8 support:
~8.0.0
as an additional PHP constraint.~9.3.0
(prior to 9.3 did not support PHP 8; 9.4 is currently broken under PHP 8).Fixes #29