fig-r/psr2r-sniffer
PHP_CodeSniffer ruleset implementing PSR-2-R for PHP 8.1+ projects. Includes 190+ sniffs, supports CI, and can auto-fix many issues via phpcbf. Install with Composer and reference the bundled PSR2R ruleset in phpcs.xml.
|
Package
|
Constraint
|
|---|---|
| php-collective/code-sniffer | ^0.5.0 |
| squizlabs/php_codesniffer | ^4.0.0 |
|
Package
|
Constraint
|
|---|---|
| dealerdirect/phpcodesniffer-composer-installer | ^1.0 |
| phpstan/phpstan | ^2.1.0 |
| phpunit/phpunit | ^10.3 || ^11.5 || ^12.0 |
How can I help you explore Laravel packages today?