chore(ci): add failOnDeprecation to PHPunit config - #344
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #344 +/- ##
============================================
+ Coverage 96.44% 96.45% +0.01%
Complexity 118 118
============================================
Files 13 13
Lines 478 480 +2
============================================
+ Hits 461 463 +2
Misses 17 17 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
staabm
approved these changes
Aug 26, 2026
Contributor
Author
I thought that is only for PHP 8.4 and up, and that Looks like I have to work around that. |
Signed-off-by: Phillip Davis <phil@jankaritech.com>
phil-davis
force-pushed
the
failOnDeprecation
branch
from
August 26, 2026 07:33
e1b79f2 to
8a0af31
Compare
Member
|
I opened phpstan/phpstan#15109 We should baseline/ignore the issue for now |
Signed-off-by: Phillip Davis <phil@jankaritech.com>
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.
phpunit on PHP 8.4 and later was reporting a deprecation:
I think that we may as well get phpunit to fail in this case, and we can easily sort out the needed code change now, rather than waiting until we are forced to do it (when PHP 9 happens, probably)