Upgrade to PHP 8.2, replace Psalm with PHPStan, bump tooling#16
Merged
Upgrade to PHP 8.2, replace Psalm with PHPStan, bump tooling#16
Conversation
- Require PHP >=8.2, guzzlehttp/psr7 ^2.7 - Replace psalm with PHPStan (max level, baseline for SOAP mixed types) - Slim require-dev to setono/code-quality-pack ^3.2 (bundles PHPUnit 11, Infection, PHPStan, ECS) - Update ECS config to new ECSConfig format - Update phpunit.xml.dist for PHPUnit 11 - Update CI matrix to PHP 8.2/8.3/8.4 on 3.x branch - Add CLAUDE.md
- Bump setono/code-quality-pack ^3.2 → ^3.3 (adds phpstan/extension-installer) - Allow phpstan/extension-installer plugin in composer config - Update GitHub Actions: checkout v4→v6, composer-install v3→v4, codecov bash→codecov-action v5 - Fix implicitly nullable parameters in tests (PHP 8.4 deprecation) - Regenerate PHPStan baseline with auto-loaded extensions
Adds Roave/BackwardCompatibilityCheck as a GitHub Actions workflow that runs on pull requests to detect BC breaks.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 2.x #16 +/- ##
======================================
Coverage ? 75.71%
Complexity ? 79
======================================
Files ? 10
Lines ? 210
Branches ? 0
======================================
Hits ? 159
Misses ? 51
Partials ? 0 ☔ 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
require-devtosetono/code-quality-pack^3.3 (bundles PHPUnit 11, Infection, PHPStan, ECS, Rector)ECSConfigformat (sylius-labs/coding-standard ^4.5)phpunit.xml.distfor PHPUnit 11Test plan