Skip to content

Commit 86c9741

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Fix CS Fix CS [Validator] Add Polish translation for ISIN constraint
2 parents 4405f7b + 9a46e47 commit 86c9741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gitignore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static function toRegex(string $gitignoreFileContent): string
5454
}
5555

5656
$negativesAfter = array_filter(\array_slice($negatives, ++$index));
57-
if ($negativesAfter !== []) {
57+
if ([] !== $negativesAfter) {
5858
$pattern .= sprintf('(?<!%s)', implode('|', $negativesAfter));
5959
}
6060

0 commit comments

Comments
 (0)