|
|
|
@ -85,9 +85,13 @@
|
|
|
|
"rm server.pid",
|
|
|
|
"rm server.pid",
|
|
|
|
"echo \"Performance Tests Completed.\""
|
|
|
|
"echo \"Performance Tests Completed.\""
|
|
|
|
],
|
|
|
|
],
|
|
|
|
"lint": "phpstan --no-progress --memory-limit=256M",
|
|
|
|
"lint": [
|
|
|
|
"beautify": "phpcbf",
|
|
|
|
"phpstan --no-progress --memory-limit=256M",
|
|
|
|
"phpcs": "phpcs",
|
|
|
|
"phpcs"
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
"format": [
|
|
|
|
|
|
|
|
"phpcbf"
|
|
|
|
|
|
|
|
],
|
|
|
|
"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');\"",
|
|
|
|
"@php -r \"if (!file_exists('phpstan.neon')) copy('phpstan.dist.neon', 'phpstan.neon');\"",
|
|
|
|
"@php -r \"if (!file_exists('phpstan.neon')) copy('phpstan.dist.neon', 'phpstan.neon');\"",
|
|
|
|
|