Skip to content

Commit 8d73b42

Browse files
committed
chore: use PHP script in phpstan:baseline command
1 parent 31bc360 commit 8d73b42

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@
112112
],
113113
"metrics": "utils/vendor/bin/phpmetrics --config=phpmetrics.json",
114114
"phpstan:baseline": [
115-
"bash -c \"rm -rf utils/phpstan-baseline/*.neon\"",
116-
"bash -c \"touch utils/phpstan-baseline/loader.neon\"",
115+
"php utils/prepare-baseline.php",
117116
"phpstan analyse --ansi --generate-baseline=utils/phpstan-baseline/loader.neon",
118117
"split-phpstan-baseline utils/phpstan-baseline/loader.neon"
119118
],

0 commit comments

Comments
 (0)