mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Add Composer scripts to execute code style check & fix through PHPCS
This commit is contained in:
+5
-1
@@ -9,5 +9,9 @@
|
||||
"squizlabs/php_codesniffer": "^3.5"
|
||||
},
|
||||
"license": "MIT",
|
||||
"minimum-stability": "stable"
|
||||
"minimum-stability": "stable",
|
||||
"scripts": {
|
||||
"cs-check": "phpcs -p --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1",
|
||||
"cs-fix": "phpcbf -p --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user