Enhance CI/CD workflow with code quality checks and PHPCBF integration

This commit is contained in:
2025-04-21 04:02:27 +01:00
parent 497c44c3c6
commit 5cd2a7d374
6 changed files with 152 additions and 12 deletions

View File

@@ -37,8 +37,12 @@
}
},
"scripts": {
"phpcs": "phpcs --standard=WordPress",
"phpcbf": "phpcbf --standard=WordPress",
"test": "phpunit"
"phpcs": "phpcs --standard=phpcs.xml",
"phpcs:simple": "phpcs --standard=phpcs-simple.xml",
"phpcbf": "phpcbf --standard=phpcs.xml",
"phpcbf:simple": "phpcbf --standard=phpcs-simple.xml",
"test": "phpunit",
"lint": ["@phpcs"],
"fix": ["@phpcbf"]
}
}