Passed
Pull Request — main (#4227)
by David
07:51
created
app/Report/ReportParserSetup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
             } else {
127 127
                 $match = [];
128 128
                 if (preg_match('/NOW([+\-]\d+)/', $attrs['default'], $match) > 0) {
129
-                    $date = Registry::timestampFactory()->now()->addDays((int)$match[1]);
129
+                    $date = Registry::timestampFactory()->now()->addDays((int) $match[1]);
130 130
                     $this->input['default'] = strtoupper($date->format('d M Y'));
131 131
                 } else {
132 132
                     $this->input['default'] = $attrs['default'];
Please login to merge, or discard this patch.
app/Console/ComposerScripts.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,9 +85,9 @@
 block discarded – undo
85 85
         $filesystem = new Filesystem(new LocalFilesystemAdapter(self::ROOT_DIR));
86 86
 
87 87
         $scripts = $filesystem->listContents('app', FilesystemReader::LIST_DEEP)
88
-            ->filter(static fn (StorageAttributes $file): bool => $file->isFile())
89
-            ->map(static fn (StorageAttributes $file): string => $file->path())
90
-            ->filter(static fn (string $script): bool => !str_contains($script, 'Interface.php') && !str_contains($script, 'Abstract'));
88
+            ->filter(static fn(StorageAttributes $file): bool => $file->isFile())
89
+            ->map(static fn(StorageAttributes $file): string => $file->path())
90
+            ->filter(static fn(string $script): bool => !str_contains($script, 'Interface.php') && !str_contains($script, 'Abstract'));
91 91
 
92 92
         foreach ($scripts as $script) {
93 93
             $class = strtr($script, ['app/' => '', '.php' => '', '/' => '\\']);
Please login to merge, or discard this patch.