Skip to content

Commit 57247fe

Browse files
authored
Merge pull request #747 from driehle/feature/composer-scripts
Updated composer scripts and removed coverage-checker
2 parents f59739b + c5b9982 commit 57247fe

File tree

4 files changed

+5
-49
lines changed

4 files changed

+5
-49
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ jobs:
7272
- name: "Run PHPUnit"
7373
run: "composer test-coverage"
7474

75-
- name: "Test coverage"
76-
run: "php build/coverage-checker.php coverage.xml 70"
77-
7875
- name: "Upload coverage file"
7976
uses: "actions/upload-artifact@v2"
8077
with:

build/.gitignore

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

build/coverage-checker.php

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

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,15 @@
104104
"scripts": {
105105
"check": [
106106
"@cs-check",
107+
"@phpstan",
108+
"@psalm",
107109
"@test"
108110
],
109111
"cs-check": "phpcs",
110112
"cs-fix": "phpcbf",
113+
"phpstan": "phpstan analyse",
114+
"psalm": "psalm --stats",
111115
"test": "phpunit --colors=always",
112-
"test-coverage": "phpunit --coverage-clover=coverage.xml"
116+
"test-coverage": "phpunit --colors=always --coverage-clover=coverage.xml"
113117
}
114118
}

0 commit comments

Comments
 (0)