Enhance CI/CD workflow with code quality checks and PHPCBF integration
This commit is contained in:
@@ -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"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user