Skip to content

Commit 33dce4e

Browse files
committed
fix tests
1 parent 416caf9 commit 33dce4e

File tree

12 files changed

+665
-666
lines changed

12 files changed

+665
-666
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
3232
- name: Linting the code
3333
run: |
34-
phpcs -i
35-
phpcs --config-show
34+
vendor/bin/phpcs -i
35+
vendor/bin/phpcs --config-show
3636
npm run lint
3737
continue-on-error: true
3838

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"scripts": {
4444
"format": "phpcbf --standard=./.phpcs.xml.dist --report-summary --report-source",
4545
"lint": "phpcs --standard=./.phpcs.xml.dist",
46+
"lint-report": "phpcs --standard=./.phpcs.xml.dist --report=checkstyle",
4647
"fix": "php-cs-fixer fix ."
4748
},
4849
"autoload": {
@@ -55,4 +56,4 @@
5556
"WCPOS\\WooCommercePOS\\Tests\\": "tests/includes/"
5657
}
5758
}
58-
}
59+
}

0 commit comments

Comments
 (0)