wapmorgan / PhpDeprecationDetector

Analyzer of PHP code to search issues with deprecated functionality in newer interpreter versions.
http://wapmorgan.github.io/PhpDeprecationDetector/
BSD 3-Clause "New" or "Revised" License
364 stars 37 forks source link

--skip-checks full versions to check for specific version only #52

Closed kkmuffme closed 4 years ago

kkmuffme commented 4 years ago

There are a loads of "false positives" for us, since we have compatibility code (so it works fine both with old + new PHP versions) going back to PHP 5.6.

Since I want to upgrade to PHP7.4, I'd like to be able to do something like: --target 7.4 --skip-checks 7.3

to only check new errors between these 2 versions

kkmuffme commented 4 years ago

Implemented as -a/--after command argument