swissspidy/phpstan-no-private
PHPStan rules for detecting usage of pseudo-private functions, classes, and methods.
Maintainers
Package info
github.com/swissspidy/phpstan-no-private
Type:phpstan-extension
pkg:composer/swissspidy/phpstan-no-private
Requires
- php: ^7.4 || ^8.0
- phpstan/phpstan: ^2.0
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^1.0.0
- nikic/php-parser: ^v5.3.1
- php-parallel-lint/php-parallel-lint: ^1.4
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^9.5
- slevomat/coding-standard: ^8.8.0
- squizlabs/php_codesniffer: ^3.5.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 559cb0e8d092df7314ed4254db83db0427440af2
README
👁 Build
👁 Latest Stable Version
👁 License
This PHPStan extension emits deprecation warnings on code which uses properties/functions/methods/classes which are annotated as @access private.
Installation
To use this extension, require it in Composer:
composer require --dev swissspidy/phpstan-no-private
If you also install phpstan/extension-installer then you're all set!
Credits
This project is a fork of the excellent phpstan/phpstan-deprecation-rules, which provides rules that detect usage of deprecated classes, methods, properties, constants and traits.
