Skip to content

Commit 46e7057

Browse files
making phpcs work again by switching to dev branch. No release in sight..
1 parent d80ba15 commit 46e7057

3 files changed

Lines changed: 177 additions & 48 deletions

File tree

.github/workflows/lint-test-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
- name: Run linter
2525
run: npm run lint
2626

27-
#- name: Run PHP linter
28-
# run: |
29-
# npm run wp-env start
30-
# npm run lint:php
27+
- name: Run PHP linter
28+
run: |
29+
npm run wp-env start
30+
npm run lint:php
3131
3232
tests:
3333
name: Tests

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@
2525
},
2626
"require-dev": {
2727
"squizlabs/php_codesniffer": "^3.6",
28-
"wp-coding-standards/wpcs": "^2.3",
28+
"wp-coding-standards/wpcs": "dev-develop",
2929
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
3030
"wp-phpunit/wp-phpunit": "^5.8",
3131
"yoast/phpunit-polyfills": "^1.0"
3232
},
33+
"minimum-stability": "dev",
34+
"prefer-stable": true,
3335
"scripts": {
3436
"lint": "phpcs --standard=phpcs.xml"
3537
},

0 commit comments

Comments
 (0)