From 5e07f7aa243d615b945678069b4cb680839cf4f3 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Thu, 22 Aug 2024 04:38:30 +0200 Subject: [PATCH] GH Actions: show deprecations when linting While rare, there are some deprecations which PHP can show when a file is being linted. By default these are ignored by PHP-Parallel-Lint. Apparently though, there is an option to show them (wasn't documented until recently), so let's turn that option on. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7f644b1..70eee98 100644 --- a/composer.json +++ b/composer.json @@ -62,7 +62,7 @@ "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run" ], "lint": [ - "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git" + "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git" ], "test": [ "@php ./vendor/phpunit/phpunit/phpunit --no-coverage"