Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate the thecodingmachine/phpstan-strict-rules dev dependency #84

Open
Tracked by #78
TravisCarden opened this issue Mar 3, 2023 · 0 comments
Open
Tracked by #78

Comments

@TravisCarden
Copy link
Collaborator

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 thecodingmachine/phpstan-strict-rules#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant