Passed
Pull Request — master (#116)
by Théo
02:16
created
scoper.inc.php 1 patch
Spacing   +6 added lines, -6 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.
@@ -32,12 +32,12 @@  discard block
 block discarded – undo
32 32
 
33 33
 return [
34 34
     'patchers' => [
35
-        function (string $filePath, string $prefix, string $contents): string {
35
+        function(string $filePath, string $prefix, string $contents): string {
36 36
             $finderClass = sprintf('\%s\%s', $prefix, Finder::class);
37 37
 
38 38
             return str_replace($finderClass, '\\'.Finder::class, $contents);
39 39
         },
40
-        function (string $filePath, string $prefix, string $contents): string {
40
+        function(string $filePath, string $prefix, string $contents): string {
41 41
             $file = 'vendor/beberlei/assert/lib/Assert/Assertion.php';
42 42
 
43 43
             if ($filePath !== $file) {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                 $contents
54 54
             );
55 55
         },
56
-        function (string $filePath, string $prefix, string $contents): string {
56
+        function(string $filePath, string $prefix, string $contents): string {
57 57
             $files = [
58 58
                 'src/functions.php',
59 59
                 'src/Configuration.php',
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
                 $contents
82 82
             );
83 83
         },
84
-        function (string $filePath, string $prefix, string $contents): string {
84
+        function(string $filePath, string $prefix, string $contents): string {
85 85
             if ('vendor/composer/composer/src/Composer/Autoload/AutoloadGenerator.php' !== $filePath) {
86 86
                 return $contents;
87 87
             }
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
                 $contents
96 96
             );
97 97
         },
98
-        function (string $filePath, string $prefix, string $contents) use ($whitelistedFiles): string {
98
+        function(string $filePath, string $prefix, string $contents) use ($whitelistedFiles): string {
99 99
             return array_key_exists($filePath, $whitelistedFiles) ? $whitelistedFiles[$filePath] : $contents;
100 100
         },
101 101
     ],
Please login to merge, or discard this patch.