Registry / testing / phpstan-phpstan-deprecation-rules

phpstan-phpstan-deprecation-rules

JSON →
library2.0.4phppackagistunverified

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

composer require phpstan/phpstan-deprecation-rules
INSTALL
IMPORT
SIG · PHPSTAN-PHPSTAN-DE
P
phpstan-phpstan-deprecation-rules
testingphpv2.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DeprecatedClassRule
✓ use PHPStan\Rules\Deprecations\DeprecatedClassRule;

The rule is automatically enabled via PHPStan extension; no manual code required.

use PHPStan\Rules\Deprecations\DeprecatedClassRule; // This rule is automatically registered when the extension is installed. // No manual instantiation needed.
Debug
Known issues
breakingRequires PHPStan 1.0 or higher; incompatible with older versions.
fix
Update PHPStan to version 1.0 or later.
affects: <2.0
Upgrade
Version history
2.0.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
Resources
phpstan-phpstan-deprecation-rules — pip install phpstan-phpstan-deprecation-rules · libregistry