This commit is contained in:
2025-07-22 20:29:36 +03:00
parent dbfe19daea
commit 995b577062
2 changed files with 9 additions and 14 deletions

View File

@@ -31,7 +31,7 @@ Optional: To install coding standard automatically edit your composer script:
"@auto-scripts"
],
"auto-scripts": {
"phpcs --config-set installed_paths vendor/1sept/sept-coding-standard": "script",
"phpcs --config-set installed_paths vendor/1sept/sept-coding-standard/SeptCodingStandard/": "script",
}
}
```
@@ -43,7 +43,7 @@ Just create a `phpcs.xml.dist` in your project's root directory with the followi
```xml
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="sept-coding-standard">
<rule ref="vendor/1sept/sept-coding-standard/ruleset.xml">
<rule ref="vendor/1sept/sept-coding-standard/SeptCodingStandard/ruleset.xml">
<!-- If the standard is too hard, you can exclude some rules like this: -->
<!-- <exclude name="Generic.Arrays.DisallowLongArraySyntax.Found" /> -->
<!-- <exclude name="Generic.Files.LineLength.TooLong" /> -->