Fix preMatch function return values

This commit is contained in:
DariusIII
2018-10-16 15:26:32 +02:00
parent 56c5dcd46c
commit 08ba0c00a3
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -2300,6 +2300,6 @@ class NameFixer
{
$result = preg_match('/(\d{2}\.\d{2}\.\d{2})+[\w\-.]+[\w]$/i', $fileName, $match);
return [$result === 1, $match[0]];
return [$result === 1, $match[0] ?? ''];
}
}
+1
View File
@@ -1,4 +1,5 @@
2018-10-16 DariusIII
* Fix: Fix preMatch function return values
* Chg: Update NameFixer and Utility classes
* Chg: Update phpunit/php-code-coverage to version 6.1.0
2018-10-15 DariusIII