Skip to content

Commit ced1a5d

Browse files
authored
Merge pull request #774 from jacklul/composer_tweaks
Update scripts lines to work on both Unix and Windows
2 parents a8fec93 + 76988f3 commit ced1a5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
},
4242
"scripts": {
4343
"check-code": [
44-
"./vendor/bin/phpcs --standard=phpcs.xml -snp --encoding=utf-8 src/ tests/ --report-width=150"
44+
"\"vendor/bin/phpcs\" --standard=phpcs.xml -snp --encoding=utf-8 src/ tests/ --report-width=150"
4545
],
4646
"test": [
47-
"./vendor/bin/phpunit"
47+
"\"vendor/bin/phpunit\""
4848
],
4949
"test-cov": [
50-
"./vendor/bin/phpunit --coverage-clover build/logs/clover.xml"
50+
"\"vendor/bin/phpunit\" --coverage-clover build/logs/clover.xml"
5151
],
5252
"test-cov-upload": [
5353
"wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml"

0 commit comments

Comments
 (0)