@@ -40,8 +40,8 @@ |
||
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. |
@@ -92,7 +92,7 @@ |
||
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 | } |