Combine PHPStan and PHPCS in lint script

pull/705/head
fadrian06 2 days ago
parent 6b47c10192
commit 34bc93cccc

@ -99,9 +99,11 @@
"rm server.pid",
"echo \"Performance Tests Completed.\""
],
"lint": "phpstan --no-progress --memory-limit=256M",
"lint": [
"phpstan --no-progress --memory-limit=256M -n",
"phpcs"
],
"beautify": "phpcbf",
"phpcs": "phpcs",
"post-install-cmd": [
"@php -r \"if (!file_exists('phpcs.xml')) copy('phpcs.xml.dist', 'phpcs.xml');\"",
"@php -r \"if (!file_exists('phpstan.neon')) copy('phpstan.dist.neon', 'phpstan.neon');\"",

Loading…
Cancel
Save