Passed
Push — master ( aa75e9...42d03b )
by Caen
03:29 queued 12s
created
packages/framework/src/Framework/Features/Metadata/GlobalMetadataBag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         // Reject any metadata from the global metadata bag that is already present in the page metadata bag.
53 53
 
54 54
         foreach (['links', 'metadata', 'properties', 'generics'] as $type) {
55
-            $global->$type = array_filter((array) $global->$type, fn (Element $element): bool => ! in_array($element->uniqueKey(),
55
+            $global->$type = array_filter((array) $global->$type, fn (Element $element): bool => !in_array($element->uniqueKey(),
56 56
                 array_map(fn (Element $element): string => $element->uniqueKey(), (array) $page->metadata->$type)
57 57
             ));
58 58
         }
Please login to merge, or discard this patch.
framework/src/Framework/Concerns/Internal/ForwardsIlluminateFilesystem.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     /** @param  string[]  $parameterNames */
89 89
     protected static function qualifyArguments(array $parameterNames, array $arguments): Collection
90 90
     {
91
-        return collect($arguments)->mapWithKeys(function (string|array|int|bool $argumentValue, int|string $key) use ($parameterNames): string|array|int|bool {
91
+        return collect($arguments)->mapWithKeys(function(string|array|int|bool $argumentValue, int|string $key) use ($parameterNames): string|array|int|bool {
92 92
             $argumentsToQualify = [
93 93
                 'path', 'paths', 'file', 'target', 'directory', 'destination', 'firstFile', 'secondFile',
94 94
                 'pattern', 'link', 'from', 'to',
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     protected static function qualifyPathArgument(array|string $path): string|array
111 111
     {
112 112
         return is_array($path)
113
-            ? array_map(fn (string $path): string => self::qualifyPathArgument($path), $path)
113
+            ? array_map(fn (string $path) : string => self::qualifyPathArgument($path), $path)
114 114
             : self::absolutePath($path);
115 115
     }
116 116
 }
Please login to merge, or discard this patch.
packages/framework/src/Foundation/Internal/LoadConfiguration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /** Get all the configuration files for the application. */
22 22
     protected function getConfigurationFiles(Application $app): array
23 23
     {
24
-        return (array) tap(parent::getConfigurationFiles($app), function (array &$files) use ($app): void {
24
+        return (array) tap(parent::getConfigurationFiles($app), function(array &$files) use ($app): void {
25 25
             // Inject our custom config file which is stored in `app/config.php`.
26 26
             $files['app'] = $app->basePath().DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'config.php';
27 27
 
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         // we need to adjust the path to use the bundled static Phar config file.
74 74
 
75 75
         /** @var array{app: string} $files */
76
-        if (Phar::running() && (! is_dir($files['app']))) {
76
+        if (Phar::running() && (!is_dir($files['app']))) {
77 77
             $files['app'] = dirname(__DIR__, 6).DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'app.php';
78 78
         }
79 79
     }
Please login to merge, or discard this patch.
packages/framework/src/Foundation/ConsoleKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         // the default LoadConfiguration bootstrapper class with our implementation.
29 29
         // We do this by swapping out the LoadConfiguration class with our own.
30 30
 
31
-        return array_values((array) tap(array_combine($bootstrappers, $bootstrappers), function (array &$array): void {
31
+        return array_values((array) tap(array_combine($bootstrappers, $bootstrappers), function(array &$array): void {
32 32
             $array[\LaravelZero\Framework\Bootstrap\LoadConfiguration::class] = \Hyde\Foundation\Internal\LoadConfiguration::class;
33 33
         }));
34 34
     }
Please login to merge, or discard this patch.