From 367c60cb925c2741e67e3428019ff39268975cae Mon Sep 17 00:00:00 2001 From: Steve Talbot Date: Mon, 6 Jul 2020 14:25:55 +0100 Subject: [PATCH] Remove spaces around concat operator #3007 --- src/Filters/Filter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Filters/Filter.php b/src/Filters/Filter.php index cc809f7afe..5bed499b25 100644 --- a/src/Filters/Filter.php +++ b/src/Filters/Filter.php @@ -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