summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weimann <mail@michael-weimann.eu>2019-11-12 22:24:26 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2019-11-13 01:07:02 +0100
commitd83d60ce8d986e4e7cf28680189b5ef43b780e10 (patch)
treeacd6682547c4c9660a50c67b964b733eacb05b3f
parent50ffe99ac169dc815c849c8e5d4ba46cb0ee0151 (diff)
Update phpcs readme section
-rw-r--r--README.md8
1 files 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
```