From 4881145493ccf90de417c99631349038030c024f Mon Sep 17 00:00:00 2001 From: Arlo O'Keeffe Date: Wed, 15 Aug 2012 15:42:41 -0600 Subject: [PATCH] PHP_CodeSniffer includes PSR1+2 sniffs It pointed me in the wrong direction when trying to use the recommendations of the document. --- _posts/02-01-01-Code-Style-Guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/02-01-01-Code-Style-Guide.md b/_posts/02-01-01-Code-Style-Guide.md index 5196c9d..90aa4d6 100644 --- a/_posts/02-01-01-Code-Style-Guide.md +++ b/_posts/02-01-01-Code-Style-Guide.md @@ -18,7 +18,7 @@ not require PSR-2. * [Read about PSR-1][psr1] * [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 conforms with these standards, saving you from fixing each problem by hand.