Skip to content

Commit 5e50b8a

Browse files
authored
enable error-format symplify (#6566)
1 parent cdfe824 commit 5e50b8a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/code_analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
-
2929
name: 'PHPStan'
30-
run: vendor/bin/phpstan analyse --ansi
30+
run: vendor/bin/phpstan analyse --ansi --error-format symplify
3131

3232
-
3333
name: 'Commented Code'

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"rector/type-perfect": "^2.0",
5555
"shipmonk/composer-dependency-analyser": "^1.8",
5656
"symplify/easy-coding-standard": "^12.3",
57+
"symplify/phpstan-extensions": "^12.0",
5758
"symplify/phpstan-rules": "^14.0.2",
5859
"symplify/rule-doc-generator": "^12.2.5",
5960
"symplify/vendor-patches": "^11.3",
@@ -109,7 +110,7 @@
109110
],
110111
"check-cs": "vendor/bin/ecs check --ansi",
111112
"fix-cs": "vendor/bin/ecs check --fix --ansi",
112-
"phpstan": "vendor/bin/phpstan analyse --ansi --memory-limit=512M",
113+
"phpstan": "vendor/bin/phpstan analyse --ansi --error-format symplify --memory-limit=512M",
113114
"docs": "vendor/bin/rule-doc-generator validate rules",
114115
"rector": "bin/rector process --ansi",
115116
"preload": "php build/build-preload.php .",

0 commit comments

Comments
 (0)