mglaman / phpstan-drupal-deprecations
streamline configuring Drupal deprecation testing
Installs: 209 578
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- mglaman/phpstan-drupal: ^0.11.1
- phpstan/phpstan-deprecation-rules: ^0.11.0
This package is auto-updated.
Last update: 2024-11-08 07:36:14 UTC
README
Streamlines configuration for deprecation testing.
Usage
Add phpstan.neon
to your Drupal project. Then configure it to include either the deprecation
or rules_and_deprecation
testing configurations.
Testing deprecations only
includes: - vendor/mglaman/phpstan-drupal-deprecations/deprecation_testing.neon
Inspection rules and deprecations
includes: - vendor/mglaman/phpstan-drupal-deprecations/rules_and_deprecations_testing.neon