swissspidy/phpstan-no-private
最新稳定版本:v1.0.0
Composer 安装命令:
composer require swissspidy/phpstan-no-private
包简介
PHPStan rules for detecting usage of pseudo-private functions, classes, and methods.
README 文档
README
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!
Manual installation
If you don't want to use phpstan/extension-installer, include rules.neon in your project's PHPStan config:
includes: - vendor/swissspidy/phpstan-no-private/rules.neon
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.
统计信息
- 总下载量: 437.19k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 1
- 依赖项目数: 30
- 推荐数: 2
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04