From d83d60ce8d986e4e7cf28680189b5ef43b780e10 Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Tue, 12 Nov 2019 22:24:26 +0100 Subject: Update phpcs readme section --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7fc3e5ed..c5f3ac86 100644 --- a/README.md +++ b/README.md @@ -197,8 +197,12 @@ For more information on how to use it call `./bin/migrate help` We use gettext. You may use POEdit to extract new texts from the sourcecode. Please config POEdit to extract also the twig template files using the following settings: https://gist.github.com/jlambe/a868d9b63d70902a12254ce47069d0e6 ### Code style -Please ensure that your pull requests follows the [PSR-12](http://www.php-fig.org/psr/psr-12/) coding style guide. +Please ensure that your pull requests follow the [PSR-12](https://www.php-fig.org/psr/psr-12/) coding style guide. You can check that by running ```php -vendor/bin/phpcs --standard=PSR12 config/ db/ public/index.php src/ tests/ +composer run phpcs +``` +You may auto fix reported issues by running +```php +composer run phpcbf ``` -- cgit v1.2.3-54-g00ecf