PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.
PHP
Switch branches/tags
Clone or download
iluuu1994 Check for existence of namespacedName property
PHP-Parsers `isAnonymous` doesn't always work for some reason.

Signed-off-by: Ilija Tovilo <ilija.tovilo@me.com>
Latest commit fc7d373 Jun 30, 2018

README.md

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

Build Status Latest Stable Version License

Usage

To use these rules, require it in Composer:

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

And include rules.neon in your project's PHPStan config:

includes:
	- vendor/phpstan/phpstan-deprecation-rules/rules.neon