Completed
Pull Request — master (#34)
by Théo
02:20
created
src/Configuration.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the box project.
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
 
548 548
             array_walk(
549 549
                 $directories,
550
-                function (&$directory) use ($basePath): void {
550
+                function(&$directory) use ($basePath): void {
551 551
                     $directory = $basePath
552 552
                         .DIRECTORY_SEPARATOR
553 553
                         .canonicalize($directory);
@@ -621,7 +621,7 @@  discard block
 block discarded – undo
621 621
 
622 622
             array_walk(
623 623
                 $blacklist,
624
-                function (&$file): void {
624
+                function(&$file): void {
625 625
                     $file = canonicalize($file);
626 626
                 }
627 627
             );
@@ -645,7 +645,7 @@  discard block
 block discarded – undo
645 645
             preg_quote($basePath.DIRECTORY_SEPARATOR, '/')
646 646
         );
647 647
 
648
-        return function (SplFileInfo $file) use ($base, $blacklist): ?bool {
648
+        return function(SplFileInfo $file) use ($base, $blacklist): ?bool {
649 649
             $path = canonicalize(
650 650
                 preg_replace($base, '', $file->getPathname())
651 651
             );
@@ -687,7 +687,7 @@  discard block
 block discarded – undo
687 687
 
688 688
             array_walk(
689 689
                 $directories,
690
-                function (&$directory) use ($basePath): void {
690
+                function(&$directory) use ($basePath): void {
691 691
                     $directory = $basePath
692 692
                         .DIRECTORY_SEPARATOR
693 693
                         .rtrim(canonicalize($directory), DIRECTORY_SEPARATOR);
@@ -790,7 +790,7 @@  discard block
 block discarded – undo
790 790
      */
791 791
     private static function processFinders(array $findersConfig, string $basePath, Closure $blacklistFilter): array
792 792
     {
793
-        $processFinderConfig = function ($methods) use ($basePath, $blacklistFilter): Finder {
793
+        $processFinderConfig = function($methods) use ($basePath, $blacklistFilter): Finder {
794 794
             $finder = Finder::create()
795 795
                 ->files()
796 796
                 ->filter($blacklistFilter)
@@ -802,7 +802,7 @@  discard block
 block discarded – undo
802 802
 
803 803
                 array_walk(
804 804
                     $methods->in,
805
-                    function (&$directory) use ($basePath): void {
805
+                    function(&$directory) use ($basePath): void {
806 806
                         $directory = canonicalize(
807 807
                             $basePath.DIRECTORY_SEPARATOR.$directory
808 808
                         );
Please login to merge, or discard this patch.
src/MapFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the box project.
Please login to merge, or discard this patch.
src/RetrieveRelativeBasePath.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of the box project.
Please login to merge, or discard this patch.