Skip to content

Commit

Permalink
all for all plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Nov 22, 2024
1 parent a600a79 commit 0677bba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Illuminator/Illuminator.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected function shouldSkip($fileName, $filter) {
return false;
}

return !(bool)preg_match('/' . preg_quote($filter, '/') . '/i', $fileName);
return !preg_match('/' . preg_quote($filter, '/') . '/i', $fileName);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/Shell/AnnotationsShell.php
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ public function getOptionParser(): ConsoleOptionParser {
],
'plugin' => [
'short' => 'p',
'help' => 'The plugin to run. Defaults to the application otherwise. Supports wildcard `*` for partial match.',
'help' => 'The plugin(s) to run. Defaults to the application otherwise. Supports wildcard `*` for partial match, `all` for all app plugins.',
'default' => null,
],
'remove' => [
Expand Down Expand Up @@ -758,7 +758,7 @@ protected function _shouldSkip($fileName): bool {
return false;
}

return !(bool)preg_match('/' . preg_quote($filter, '/') . '/i', $fileName);
return !preg_match('/' . preg_quote($filter, '/') . '/i', $fileName);
}

/**
Expand Down

0 comments on commit 0677bba

Please sign in to comment.