Completed
Push — feat/1587-add-routes-api-list-... ( b7c212 )
by Christian
24s
created
N98/Magento/Command/Developer/Module/Routes/ListAllRoutesCommandTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,8 @@
 block discarded – undo
40 40
             strpos($output, 'No routes found') === false &&
41 41
             strpos($output, 'Could not retrieve Magento 2 routes') === false &&
42 42
             strpos($output, 'Could not determine Magento version') === false) {
43
-             // If none of the expected error/info messages for non-initialized Magento are present,
44
-             // we expect some table output or at least no fatal errors.
43
+                // If none of the expected error/info messages for non-initialized Magento are present,
44
+                // we expect some table output or at least no fatal errors.
45 45
             $this->assertNotEmpty($output, "Command output should not be empty if no initialization error occurs.");
46 46
         } else {
47 47
             // If it does output an initialization error, that's also an expected path in some test envs.
Please login to merge, or discard this patch.
src/N98/Magento/Command/Developer/Module/Routes/ListAllRoutesCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
         } catch (\Throwable $e) { // Catching Throwable for broader compatibility (PHP 7+)
93 93
             $output->writeln('<error>Error fetching Magento 2 API routes: ' . $e->getMessage() . '</error>');
94 94
             if ($output->isVerbose()) {
95
-                $output->writeln((string)$e);
95
+                $output->writeln((string) $e);
96 96
             }
97 97
             return 1;
98 98
         }
Please login to merge, or discard this patch.