Passed
Push — master ( 8a407e...1c79af )
by Peter
02:05
created
src/Bootstrappers/Assets/AssetManagerBootstrapper.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -73,8 +73,8 @@  discard block
 block discarded – undo
73 73
         $transpiler = $container->resolve(ITranspiler::class);
74 74
         $transpiler->registerViewFunction(
75 75
             'assetJs',
76
-            function ($keys, $type = '') use ($assets) {
77
-                $callback = function ($key) use ($assets, $type) {
76
+            function($keys, $type = '') use ($assets) {
77
+                $callback = function($key) use ($assets, $type) {
78 78
                     $path = $assets->ensureJsWebPath($key);
79 79
                     if (empty($path)) {
80 80
                         return '';
@@ -92,8 +92,8 @@  discard block
 block discarded – undo
92 92
         );
93 93
         $transpiler->registerViewFunction(
94 94
             'assetCss',
95
-            function ($keys) use ($assets) {
96
-                $callback = function ($key) use ($assets) {
95
+            function($keys) use ($assets) {
96
+                $callback = function($key) use ($assets) {
97 97
                     $path = $assets->ensureCssWebPath($key);
98 98
                     if (empty($path)) {
99 99
                         return '';
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
         );
108 108
         $transpiler->registerViewFunction(
109 109
             'assetImg',
110
-            function ($key, $alt = '') use ($assets) {
110
+            function($key, $alt = '') use ($assets) {
111 111
                 $path = $assets->ensureImgWebPath($key);
112 112
                 if (empty($path)) {
113 113
                     return '';
Please login to merge, or discard this patch.
src/Module/Manager.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function getHttpBootstrappers(): array
86 86
     {
87
-        $callback = function (array $modules) {
87
+        $callback = function(array $modules) {
88 88
             $bootstrappers = [];
89 89
             foreach ($modules as $module) {
90 90
                 if (isset($module[Module::BOOTSTRAPPERS])) {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      */
107 107
     public function getCliBootstrappers(): array
108 108
     {
109
-        $callback = function (array $modules) {
109
+        $callback = function(array $modules) {
110 110
             $bootstrappers = [];
111 111
             foreach ($modules as $module) {
112 112
                 if (isset($module[Module::BOOTSTRAPPERS])) {
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      */
129 129
     public function getCommands(): array
130 130
     {
131
-        $callback = function (array $modules) {
131
+        $callback = function(array $modules) {
132 132
             $commands = [];
133 133
             foreach ($modules as $module) {
134 134
                 if (isset($module[Module::COMMANDS])) {
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
      */
220 220
     protected function simpleOptionCallback(string $option): callable
221 221
     {
222
-        return function ($modules) use ($option) {
222
+        return function($modules) use ($option) {
223 223
             $merged = [];
224 224
             foreach ($modules as $module) {
225 225
                 if (!isset($module[$option])) {
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
      */
247 247
     protected function simpleNamedOptions(string $option): callable
248 248
     {
249
-        return function ($modules) use ($option) {
249
+        return function($modules) use ($option) {
250 250
             $merged = [];
251 251
             foreach ($modules as $module) {
252 252
                 if (!isset($module[$option])) {
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
      */
278 278
     protected function namedPrioritizedOptionsCallback(string $option): callable
279 279
     {
280
-        return function ($modules) use ($option) {
280
+        return function($modules) use ($option) {
281 281
             $prioritized = [];
282 282
             foreach ($modules as $module) {
283 283
                 if (!isset($module[$option])) {
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
      */
327 327
     protected function prioritizedOptionsCallback(string $option, bool $reversed = false): callable
328 328
     {
329
-        return function ($modules) use ($option, $reversed) {
329
+        return function($modules) use ($option, $reversed) {
330 330
             $merged = [];
331 331
             foreach ($modules as $module) {
332 332
                 if (!isset($module[$option])) {
Please login to merge, or discard this patch.
src/Form/Element/Textarea.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
             $attributes[Html5::ATTR_ROWS] = static::DEFAULT_ROW;
45 45
         }
46 46
 
47
-        $attributes[Html5::ATTR_NAME]  = $name;
47
+        $attributes[Html5::ATTR_NAME] = $name;
48 48
 
49 49
         parent::__construct(null, $intents, $attributes, $tag);
50 50
 
Please login to merge, or discard this patch.
src/Assets/CacheManager/Flysystem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
     public function __construct()
24 24
     {
25
-        $this->isFlushable = function (array $obj) {
25
+        $this->isFlushable = function(array $obj) {
26 26
             if ($obj['basename'] === '.gitignore') {
27 27
                 return false;
28 28
             }
Please login to merge, or discard this patch.