From 7b5b7a75e8065659eed08f9eff6fc51a64c65c19 Mon Sep 17 00:00:00 2001 From: K Widholm <279278+apotek@users.noreply.github.com> Date: Mon, 2 Mar 2026 10:12:26 -0500 Subject: [PATCH] phpcs_ignore_paths key should be an optional array Resolves #106 --- src/Robo/Plugin/Commands/CICommands.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Robo/Plugin/Commands/CICommands.php b/src/Robo/Plugin/Commands/CICommands.php index 0e3c339..fed34fc 100644 --- a/src/Robo/Plugin/Commands/CICommands.php +++ b/src/Robo/Plugin/Commands/CICommands.php @@ -2,7 +2,6 @@ namespace Usher\Robo\Plugin\Commands; -use Robo\Exception\TaskException; use Robo\Result; use Robo\Robo; use Robo\Tasks; @@ -114,7 +113,7 @@ protected function jobRunCodingStandards(bool $applyFixes = false): Result ); $phpcsIgnorePaths = implode( separator: ',', - array: $this->getRequiredRoboConfigArrayFor(key: 'phpcs_ignore_paths'), + array: $this->getOptionalRoboConfigArrayFor(key: 'phpcs_ignore_paths'), ); $phpcsPhpVersion = Robo::config()->get('php_current_version', $this::PHPCS_DEFAULT_PHP_VERSION); $twigLintEnabled = Robo::config()->get('twig_lint_enable') ?? true;