mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-07 22:46:39 +02:00
PHP_CodeSniffer includes PSR1+2 sniffs
It pointed me in the wrong direction when trying to use the recommendations of the document.
This commit is contained in:
@@ -18,7 +18,7 @@ not require PSR-2.
|
|||||||
* [Read about PSR-1][psr1]
|
* [Read about PSR-1][psr1]
|
||||||
* [Read about PSR-2][psr2]
|
* [Read about PSR-2][psr2]
|
||||||
|
|
||||||
You can use the [phpcs-psr][phpcs-psr] sniff for [PHP_CodeSniffer][phpcs] to check code against these recommendations.
|
You can use [PHP_CodeSniffer][phpcs] to check code against these recommendations.
|
||||||
Use Fabien Potencier's [PHP Coding Standards Fixer][phpcsfixer] to automatically modify your code syntax so that it
|
Use Fabien Potencier's [PHP Coding Standards Fixer][phpcsfixer] to automatically modify your code syntax so that it
|
||||||
conforms with these standards, saving you from fixing each problem by hand.
|
conforms with these standards, saving you from fixing each problem by hand.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user