diff --git a/README.md b/README.md index 1b554a0..5b9a6a2 100644 --- a/README.md +++ b/README.md @@ -100,9 +100,9 @@ To install PHP Codesniffer (phpcs & phpcbf), follow the [recommended steps here] hooks: - id: php-cs-fixer files: \.(php)$ - args: [--level=PSR2] + args: [--rules=@PSR2] ``` -Similar pattern as the php-cs hook. A bash script that will run the appropriate [PHP Coding Standards Fixer](http://cs.sensiolabs.org/) executable and to fix errors according to the configuration. It accepts all of the args from the `php-cs-fixer` command, in particular the `--level`, `--config`, and `--config-file` options. +Similar pattern as the php-cs hook. A bash script that will run the appropriate [PHP Coding Standards Fixer](https://cs.symfony.com/) executable and to fix errors according to the configuration. It accepts all of the args from the `php-cs-fixer` command, in particular the `--rules`, `--config`, and `--config-file` options. The tool will fail a build when it has made changes to the staged files. This allows a developer to do a `git diff` and examine the changes that it has made. Remember that you may omit this if needed with a `SKIP=php-cs-fixer git commit`.