Skip to content

Commit 1faf1a9

Browse files
committed
Ignore line length
1 parent 924abba commit 1faf1a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ jobs:
3434
run: vendor/bin/phpunit
3535

3636
- name: Check PSR-12 Codestyle
37-
run: vendor/bin/phpcs --standard=psr12 src/
37+
run: vendor/bin/phpcs --standard=psr12 --exclude=Generic.Files.LineLength src/
3838
if: matrix.os == 'ubuntu-latest'

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
},
3333
"scripts": {
3434
"test": "phpunit",
35-
"check-style": "phpcs -p --standard=PSR12 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src",
36-
"fix-style": "phpcbf -p --standard=PSR12 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src"
35+
"check-style": "phpcs -p --standard=PSR12 --exclude=Generic.Files.LineLength --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src",
36+
"fix-style": "phpcbf -p --standard=PSR12 --exclude=Generic.Files.LineLength --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src"
3737
},
3838
"extra": {
3939
"branch-alias": {

0 commit comments

Comments
 (0)