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

This commit is contained in:
marcus committed 2025-04-21 04:02:27 +01:00
1 parent 497c44c3c6
commit 5cd2a7d374
6 files changed
+152 -12

No files matched your search

+7 -3
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"]
}
}