We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5079587 commit d4fe933Copy full SHA for d4fe933
README.md
@@ -22,6 +22,22 @@ command:
22
composer require --dev projektmotor/symfony-coding-standard
23
```
24
25
+Optional: To install coding standard automatically edit your composer script:
26
+
27
+```JSON
28
+ scripts: {
29
+ "post-install-cmd": [
30
+ "@auto-scripts"
31
+ ],
32
+ "post-update-cmd": [
33
34
35
+ "auto-scripts": {
36
+ "phpcs --config-set installed_paths vendor/projektmotor/symfony-coding-standard/ProjektMOTORCodingStandard/": "script",
37
+ }
38
39
+```
40
41
## Usage
42
43
Just create a `phpcs.xml.dist` in your project's root directory with the following content:
0 commit comments