Skip to content

Commit 7622364

Browse files
committed
build: cache linters
1 parent 6651dcc commit 7622364

File tree

8 files changed

+89
-913
lines changed

8 files changed

+89
-913
lines changed

.php-cs-fixer.php

Lines changed: 0 additions & 78 deletions
This file was deleted.

build/test_style.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
COMMANDS=(
44
"vendor/bin/phpmd src text phpmd.xml"
55
"vendor/bin/phpmnd --no-ansi --strings --hint --progress --non-zero-exit-on-violation src"
6-
#"vendor/bin/php-cs-fixer fix --no-ansi --verbose --no-interaction --dry-run --diff --stop-on-violation"
7-
"vendor/bin/phpcs -p --standard=PSR12 --exclude=Generic.Files.LineLength,PSR2.Methods.MethodDeclaration,PSR12.Files.OpenTag,PSR12.Files.FileHeader --error-severity=1 --warning-severity=1 src"
6+
"vendor/bin/phpcs -ps --error-severity=1 --warning-severity=1 --cache=.cache/phpcs src"
87
"vendor/bin/phpstan analyse --no-ansi --no-interaction --memory-limit=2G --level=max src"
9-
"vendor/bin/psalm --monochrome --no-progress --no-cache"
8+
"vendor/bin/psalm --monochrome --no-progress"
109
)
1110

1211
status=0

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"phpunit/phpunit": "8.5.*",
2626
"illuminate/events": "6.20.*",
2727
"mockery/mockery": "1.3.*",
28-
"friendsofphp/php-cs-fixer": "2.19.*",
2928
"phpmd/phpmd": "2.10.*",
3029
"phpstan/phpstan": "0.12.*",
3130
"phpstan/phpstan-strict-rules": "0.12.*",

0 commit comments

Comments
 (0)