Skip to content

Commit

Permalink
Remove spaces around concat operator #3007
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Talbot committed Jul 6, 2020
1 parent 209cc5f commit 367c60c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Filters/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ protected function shouldIgnorePath($path)
// Need to check this pattern for dirs as well as individual file paths.
$this->ignoreFilePatterns[$pattern] = $type;

$pattern = substr($pattern, 0, -2) . '(?=/|$)';
$pattern = substr($pattern, 0, -2).'(?=/|$)';
$this->ignoreDirPatterns[$pattern] = $type;
} else {
// This is a file-specific pattern, so only need to check this
Expand Down

0 comments on commit 367c60c

Please sign in to comment.