Upgrade PHP to >=8.2, Symfony to ^6.4 || ^7.4, dev tooling to code-quality-pack ^3.2#27
Merged
Upgrade PHP to >=8.2, Symfony to ^6.4 || ^7.4, dev tooling to code-quality-pack ^3.2#27
Conversation
…e-quality-pack ^3.2 - Raise minimum PHP from 8.1 to 8.2 and narrow Symfony support to 6.4/7.4 LTS - Narrow Twig support from ^2.0 || ^3.0 to ^3.0 only - Migrate static analysis from Psalm to PHPStan (level max) with Symfony, PHPUnit, Prophecy, and WebmozartAssert extensions - Upgrade PHPUnit from ^10.5 to ^11.5 (via code-quality-pack) - Replace composer-require-checker + composer-unused with shipmonk/composer-dependency-analyser - Upgrade Rector from ^1 to ^2 targeting PHP 8.2 - Apply Rector readonly class upgrades to source files - Fix Twig IntegrationTestCase for PHPUnit 11 static data provider requirement - Update CI matrix: PHP 8.2–8.4, Symfony 6.4/7.4 - Add CLAUDE.md for Claude Code guidance
…ct rules - Upgrade code-quality-pack to ^3.3 which includes phpstan/extension-installer for automatic PHPStan extension discovery - Remove manual includes from phpstan.neon (now auto-loaded) - Allow phpstan/extension-installer plugin in composer.json - Fix $this->assertX() → self::assertX() calls flagged by phpstan-strict-rules - Revert phpunit.xml.dist schema to local vendor path - Add .claude/settings.local.json to .gitignore
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 3.x #27 +/- ##
============================================
+ Coverage 66.66% 67.70% +1.04%
Complexity 38 38
============================================
Files 10 10
Lines 96 96
============================================
+ Hits 64 65 +1
+ Misses 32 31 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
^6.4 || ^7.4(drop 7.0–7.3), narrow Twig to^3.0setono/code-quality-pack^3.2: PHPUnit 11, Rector 2, shipmonk/composer-dependency-analyser (replaces composer-require-checker + composer-unused)readonly classupgrades to 5 source filesIntegrationTestCasefor PHPUnit 11 static data provider requirementTest plan
composer phpunit— all tests passcomposer analyse— PHPStan level max, zero errorscomposer check-style— ECS cleanvendor/bin/rector --dry-run— no remaining changes