- Part of https://github.com/php-tuf/composer-stager/issues/78.
|
|
| Dependency |
thecodingmachine/phpstan-strict-rules |
| Description |
A set of additional rules for PHPStan based on best practices followed at TheCodingMachine |
| Value/justification |
High: In addition to various defensive programming rules, it enforces important error-handling standards. |
| Usage/popularity |
Medium. Currently over 2.7M installs and 250 dependents on Packagist. |
| Security policy |
Apparently none. Requested one at https://github.com/thecodingmachine/phpstan-strict-rules/issues/65. |
| Maintainance |
Not especially active but stable. Latest release, v1.0.0, in November, 2021. |
| Considerations |
It catches a mistake made several times in the early days of Composer Stager development of not including a caught exception via the $previous argument in a try...catch block, losing important debugging information. |
Dependency tree
$ composer info --tree thecodingmachine/phpstan-strict-rules
thecodingmachine/phpstan-strict-rules v1.0.0 A set of additional rules for PHPStan based on best practices followed at TheCodingMachine
|--php ^7.1|^8.0
`--phpstan/phpstan ^1.0
`--php ^7.2|^8.0