Skip to content

Commit 636f2ef

Browse files
committed
Disable phpmd and phpstan, update psalm config
Replace psalm installation with opcache CLI setting and simplify psalm configuration by removing baseline file usage and updating output format.
1 parent 07d8347 commit 636f2ef

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/reviewdog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
php-version: 8.4
2626
coverage: none
27-
tools: psalm
27+
ini-values: opcache.enable_cli=1
2828

2929
- name: Get composer cache directory
3030
id: composer-cache

.reviewdog.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
runner:
2-
phpmd:
3-
cmd: vendor/bin/phpmd . checkstyle phpmd.ruleset.xml --exclude 'cache/*,vendor/*' --baseline-file phpmd.baseline.xml
4-
name: phpmd
5-
format: checkstyle
6-
level: warning
2+
# phpmd:
3+
# cmd: vendor/bin/phpmd . checkstyle phpmd.ruleset.xml --exclude 'cache/*,vendor/*' --baseline-file phpmd.baseline.xml
4+
# name: phpmd
5+
# format: checkstyle
6+
# level: warning
77

8-
phpstan:
9-
cmd: vendor/bin/phpstan --error-format=checkstyle
10-
format: checkstyle
11-
name: phpstan
12-
level: warning
8+
# phpstan:
9+
# cmd: vendor/bin/phpstan --error-format=checkstyle
10+
# format: checkstyle
11+
# name: phpstan
12+
# level: warning
1313

1414
psalm:
15-
cmd: psalm --config=psalm.xml --no-progress --use-baseline=psalm-baseline.xml --output-format=checkstyle
16-
format: checkstyle
15+
cmd: psalm --config=psalm.xml --no-progress --output-format=text
16+
format: psalm
1717
name: psalm
1818
level: warning

0 commit comments

Comments
 (0)