Passed
Pull Request — master (#31)
by Björn
02:58
created
src/Composer/Iterator/SourceFileIteratorFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,12 +82,12 @@  discard block
 block discarded – undo
82 82
     {
83 83
         return new ArrayIterator(
84 84
             array_map(
85
-                function (string $path) : SplFileInfo {
85
+                function(string $path) : SplFileInfo {
86 86
                     return new SplFileInfo($path);
87 87
                 },
88 88
                 array_filter(
89 89
                     $paths,
90
-                    function (string $path) : bool {
90
+                    function(string $path) : bool {
91 91
                         return is_readable($path);
92 92
                     }
93 93
                 )
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
                 if (!empty($excludePatterns)) {
159 159
                     array_walk(
160 160
                         $excludePatterns,
161
-                        function (string &$item) {
161
+                        function(string &$item) {
162 162
                             $item = preg_quote(str_replace('\\', '/', $item), '@');
163 163
                         }
164 164
                     );
Please login to merge, or discard this patch.