We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ef45aa5 + b1b9a11 commit 2df54aeCopy full SHA for 2df54ae
1 file changed
src/Task/PhpLint.php
@@ -53,6 +53,10 @@ public function run(ContextInterface $context): TaskResultInterface
53
->notPaths($config['ignore_patterns'])
54
->extensions($config['triggered_by']);
55
56
+ if ($files->isEmpty()) {
57
+ return TaskResult::createSkipped($this, $context);
58
+ }
59
+
60
$arguments = $this->processBuilder->createArgumentsForCommand('parallel-lint');
61
$arguments->add('--no-colors');
62
$arguments->addOptionalArgumentWithSeparatedValue('-j', $config['jobs']);
0 commit comments