Skip to content

Commit

Permalink
Actually run both commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bradp committed Oct 2, 2024
1 parent d4f93e1 commit a2dc9ea
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@
}
},
"scripts": {
"fix:standards": [
"./vendor/bin/phpcbf --standard=./.phpcs.dist.xml .",
"PHP_CS_FIXER_IGNORE_ENV=true ./vendor/bin/php-cs-fixer fix -v --diff"
],
"fix-standards": "./vendor/bin/phpcbf --standard=./.phpcs.dist.xml . && PHP_CS_FIXER_IGNORE_ENV=true ./vendor/bin/php-cs-fixer fix -v --diff",
"fix": "@fix:standards",
"i18n-pot": "vendor/bin/wp i18n make-pot . ./languages/wp-plugin-bluehost.pot --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/bluehost/bluehost-wordpress-plugin/issues\",\"POT-Creation-Date\":\"2023-03-08T20:13:41+00:00\"}' --exclude=assets,tests,src",
"i18n-po": "vendor/bin/wp i18n update-po ./languages/wp-plugin-bluehost.pot ./languages",
Expand All @@ -60,10 +57,7 @@
],
"lint": "@test",
"test": "@test-standards",
"test-standards": [
"./vendor/bin/phpcs --standard=./.phpcs.dist.xml",
"PHP_CS_FIXER_IGNORE_ENV=true ./vendor/bin/php-cs-fixer fix -v --diff --dry-run"
]
"test-standards": "./vendor/bin/phpcs --standard=./.phpcs.dist.xml . && PHP_CS_FIXER_IGNORE_ENV=true ./vendor/bin/php-cs-fixer fix -v --diff --dry-run"
},
"scripts-descriptions": {
"fix": "Run all fix scripts.",
Expand Down

0 comments on commit a2dc9ea

Please sign in to comment.