|
@@ -1,4 +1,4 @@ discard block |
|
|
block discarded – undo |
|
1
|
|
-<?php declare(strict_types = 1); |
|
|
1
|
+<?php declare(strict_types=1); |
|
2
|
2
|
|
|
3
|
3
|
namespace Churn\File; |
|
4
|
4
|
|
|
@@ -36,7 +36,7 @@ discard block |
|
|
block discarded – undo |
|
36
|
36
|
public function __construct(array $fileExtensions, array $filesToIgnore) |
|
37
|
37
|
{ |
|
38
|
38
|
$this->fileExtensions = $fileExtensions; |
|
39
|
|
- $this->filters = array_map(function (string $fileToIgnore): string { |
|
|
39
|
+ $this->filters = array_map(function(string $fileToIgnore): string { |
|
40
|
40
|
return $this->patternToRegex($fileToIgnore); |
|
41
|
41
|
}, $filesToIgnore); |
|
42
|
42
|
} |
Please login to merge, or discard this patch.