->
PHPStan
Deprecated Classes
Extra Strict / Opinionated Rules
(requires review)
PHPUnit
Symplify -
Complex Duplicated Methods
(docs)
Symplify - 5
6 Rules Overview
¶
Symplify - Object Calisthenics Rules
Only X Level of Indentation per Method
No else & elseif Conditions
No Chain Method Call
No Names Shorter than 3 Characters
Keep Your Classes Small
No Setter Methods
¶
TheCodingMachine - Best Practice Additional Rules
Exceptions
Superglobals
Conditions
¶
Additional Resources
Configuring Symplify 110+ PHPStan Rules
To review:
Larastan v1.0
4 PHPStan Rules that Bring Order to Nette Injects
PHPStan extension for webmozart/assert
https://github.com/phpstan/phpstan-nette
https://github.com/phpstan/phpstan-mockery
https://github.com/canvural/phpstan-blade-rule