Drop PHP 7 support, require PHP 8.0+#14
Closed
Scarbous wants to merge 1 commit into
Closed
Conversation
Removes the symfony/polyfill-php80 dependency (no longer needed once PHP 7.4 support is dropped), narrows the composer/rector PHP version constraints to 8.0+, and removes PHP 7.4 from the CI matrix.
Minimum allowed line rate is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
phpconstraint incomposer.jsonto^8.0and drop thesymfony/polyfill-php80dependency (it only backported PHP 8.0'sstr_ends_with, used inXmlProcessor::checkNodePath(), which is now available natively on all supported versions).rector.phpatPhpVersion::PHP_80instead ofPHP_74..github/workflows/ci.yml.Test plan
composer validatecomposer install(installs cleanly without the polyfill package)composer test:unit— 49 tests pass (1 pre-existing skipped test, unrelated)composer test:behat— all scenarios passcomposer composer:normalize— composer.json already normalized🤖 Generated with Claude Code