We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41529be commit 6d5492dCopy full SHA for 6d5492d
2 files changed
.github/workflows/tests.yml
@@ -35,7 +35,7 @@ jobs:
35
uses: mheap/phpunit-matcher-action@v1
36
37
- name: PHPUnit
38
- run: ./vendor/bin/phpunit --coverage-text --teamcity
+ run: composer run test -- --coverage-text --teamcity
39
40
phpcs:
41
name: phpcs
@@ -59,4 +59,4 @@ jobs:
59
composer-options: "--no-progress --prefer-dist --optimize-autoloader"
60
61
- name: phpcs
62
- run: ./vendor/bin/phpcs -q --report=checkstyle | cs2pr
+ run: composer run style:check -- -q --report=checkstyle | cs2pr
composer.json
@@ -35,6 +35,11 @@
"Dflydev\\DotAccessConfiguration": "src"
}
},
+ "scripts": {
+ "style:fix": "@php ./vendor/bin/phpcsf",
+ "style:check": "@php ./vendor/bin/phpcs",
+ "test" : "@php ./vendor/bin/phpunit"
42
+ },
43
"extra": {
44
"branch-alias": {
45
"dev-master": "1.0-dev"
0 commit comments