From 598c71d01c2c0b74838d0397973f6579fbdac8cd Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Mon, 1 Apr 2024 19:18:50 -0400 Subject: [PATCH] Restored phpcs.dist.xml > phpcs.xml script --- composer.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index df9bfb0..8fdf8cc 100644 --- a/composer.json +++ b/composer.json @@ -66,7 +66,10 @@ "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",