From 7a09e94782d1d537d1722b211aaf6d61d4aa6e50 Mon Sep 17 00:00:00 2001 From: Simon Gaudreau Date: Tue, 29 Oct 2019 10:30:10 -0400 Subject: [PATCH] Update phpcs-config readme --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b67f062..9accd6c 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,11 @@ A collection of shareable configurations for various coding-style tools to make ## Setup -1. `composer require --dev exolnet/code-quality-tools` +1. `composer require --dev exolnet/phpcs-config` 2. Run the following command to run the standards checks: ``` -vendor/bin/phpcs --standard=vendor/exolnet/code-quality-tools . +vendor/bin/phpcs --standard=vendor/exolnet/phpcs-config . ``` You can add this to your Travis YAML file as a test: @@ -19,7 +19,7 @@ You can add this to your Travis YAML file as a test: ```yaml script: - phpunit - - vendor/bin/phpcs --standard=vendor/exolnet/code-quality-tools . + - vendor/bin/phpcs --standard=vendor/exolnet/phpcs-config . ``` ### Excluding Files @@ -56,7 +56,7 @@ If you want to add further rules (such as laravel-specific rules), you can creat tests - + @@ -77,7 +77,7 @@ vendor/bin/phpcs --standard=ruleset.xml . You can also customise the rule to exclude elements if they aren't applicable to the project: ```xml - +