prepare phpcs to automatically pick a configuration file

pull/685/head
fadrian06 1 day ago
parent 62cc85a0e2
commit b87d1988ea

@ -84,7 +84,7 @@
], ],
"lint": "phpstan --no-progress --memory-limit=256M -cphpstan.neon", "lint": "phpstan --no-progress --memory-limit=256M -cphpstan.neon",
"beautify": "phpcbf --standard=phpcs.xml", "beautify": "phpcbf --standard=phpcs.xml",
"phpcs": "phpcs --standard=phpcs.xml -n", "phpcs": "phpcs",
"post-install-cmd": [ "post-install-cmd": [
"php -r \"if (!file_exists('phpcs.xml')) copy('phpcs.xml.dist', 'phpcs.xml');\"" "php -r \"if (!file_exists('phpcs.xml')) copy('phpcs.xml.dist', 'phpcs.xml');\""
] ]

Loading…
Cancel
Save