Skip to content

Commit eccb411

Browse files
authored
Merge pull request #20 from tyrsson/fix-composer-scripts
Fix composer.json script for phpstan usage
2 parents 833cd08 + f91a1e5 commit eccb411

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,16 @@
6060
"check": [
6161
"@cs-check",
6262
"@static-analysis",
63-
"@test"
63+
"@test",
64+
"@test-integration"
6465
],
6566
"cs-check": "phpcs",
6667
"cs-fix": "phpcbf",
6768
"test": "phpunit --colors=always --testsuite \"unit test\"",
6869
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
6970
"test-integration": "phpunit --colors=always --testsuite \"integration test\"",
70-
"static-analysis": "psalm --shepherd --stats",
71-
"sa-update-baseline": "psalm --update-baseline",
72-
"sa-no-baseline": "psalm --shepherd --stats --ignore-baseline",
71+
"static-analysis": "vendor/bin/phpstan analyse --memory-limit=256M",
72+
"sa-generate-baseline": "vendor/bin/phpstan analyse --memory-limit=256M --generate-baseline",
7373
"upload-coverage": "coveralls -v"
7474
}
7575
}

0 commit comments

Comments
 (0)