Skip to content
PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Rules/Deprecations
tests Enhancement: Reference phpunit.xsd as installed with composer Dec 5, 2018
.editorconfig
.gitattributes
.gitignore Project skeleton Jun 24, 2018
.travis.yml
README.md
build.xml
composer.json
phpcs.xml Project skeleton Jun 24, 2018
phpstan.neon Test with bleeding edge May 12, 2019
rules.neon

README.md

Rules for detecting usage of deprecated classes, methods, properties, constants and traits.

Build Status Latest Stable Version License

Installation

To use this extension, require it in Composer:

composer require --dev phpstan/phpstan-deprecation-rules

If you also install phpstan/extension-installer then you're all set!

Manual installation

If you don't want to use phpstan/extension-installer, include rules.neon in your project's PHPStan config:

includes:
    - vendor/phpstan/phpstan-deprecation-rules/rules.neon
You can’t perform that action at this time.