Created phpcs.xml.dist with automatic local config creation script

pull/567/head
fadrian06 11 months ago
parent 86df1cb2bd
commit 26de40b255

1
.gitignore vendored

@ -8,3 +8,4 @@ coverage/
*.sublime*
.vscode/
clover.xml
phpcs.xml

@ -62,7 +62,8 @@
"test-coverage:win": "del clover.xml && phpunit --coverage-html=coverage --coverage-clover=clover.xml && coverage-check clover.xml 100",
"lint": "phpstan --no-progress -cphpstan.neon",
"beautify": "phpcbf --standard=phpcs.xml",
"phpcs": "phpcs --standard=phpcs.xml -n"
"phpcs": "phpcs --standard=phpcs.xml -n",
"post-install-cmd": ["php -r \"if (!file_exists('phpcs.xml')) copy('phpcs.xml.dist', 'phpcs.xml');\""]
},
"suggest": {
"latte/latte": "Latte template engine",

Loading…
Cancel
Save