Skip to content

Commit

Permalink
add php8 check and add to lint script
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Oct 4, 2023
1 parent 6263d00 commit 3532331
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,15 @@
"prefer-stable": true,
"scripts": {
"lint": [
"@phpcs"
"@phpcs",
"@php8-check"
],
"phpcs": "phpcs",
"phpcbf": "phpcbf",
"phpunit": "phpunit --do-not-cache-result",
"php8-check": [
"phpcs -p . --standard=PHPCompatibilityWP --ignore=vendor/ --runtime-set testVersion 8.0-"
],
"test": "@phpunit",
"test:install": "bin/install-local-tests.sh --no-db",
"test:install:withdb": "bin/install-local-tests.sh"
Expand Down

0 comments on commit 3532331

Please sign in to comment.