Repository navigation
Add the PHPStan deprecation rules - #590
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## v3.x #590 +/- ##
=========================================
Coverage 99.26% 99.26%
Complexity 456 456
=========================================
Files 31 31
Lines 1505 1505
=========================================
Hits 1494 1494
Misses 11 11 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
PHPStan now reports calls to deprecated functions, methods and classes (
function.deprecatedand friends). No deprecation surfaces insrc/andtests/on level 6, so no production code changes. No changelog entry: dev tooling only.Closes #582
Evidence
@deprecatedfunction passescomposer run phpstan.After: the same call fails with
Call to deprecated function Redmine\old582() (function.deprecated); the temporary file was removed again.[OK] No errors, PHPUnitOK (848 tests, 4290 assertions), code style 0 files to fix, Rector dry run exit 0. Behat not run, no code changed.Merge Danger
Door: two-way
Blast Radius: CI only. A new release of the extension can turn the PHPStan job red without a code change, like any other dev tool (
composer.lockis not versioned).Summary by CodeRabbit