Fix more issues.

This commit is contained in:
James Cole
2026-03-03 20:37:35 +01:00
parent 99c9123770
commit f72fe58271
3 changed files with 4 additions and 4 deletions
@@ -62,7 +62,7 @@ class OutputsInstructions extends Command
{
$parts = explode("\n", wordwrap($text));
foreach ($parts as $string) {
$this->line('| '.sprintf('%-77s', $string).'|');
$this->line(sprintf('| %-77s|', $string));
}
}
@@ -73,7 +73,7 @@ class OutputsInstructions extends Command
{
$parts = explode("\n", wordwrap($text));
foreach ($parts as $string) {
$this->info('| '.sprintf('%-77s', $string).'|');
$this->info(sprintf('| %-77s|', $string));
}
}
+2 -1
View File
@@ -252,7 +252,8 @@ final class DebugController extends Controller
echo '<h1>Routes</h1>';
echo sprintf('<h2>%s</h2>', $count);
foreach ($return as $name => $path) {
echo sprintf('<a href="%1$s">%2$s</a><br>', $path, $name).PHP_EOL;
echo sprintf('<a href="%1$s">%2$s</a><br>', $path, $name);
echo PHP_EOL;
++$count;
if (0 === ($count % 10)) {
echo '<hr>';
-1
View File
@@ -45,7 +45,6 @@ no-assign-in-condition = { enabled = false }
tagged-fixme = { enabled = false }
no-empty-catch-clause = { enabled = false }
excessive-parameter-list = { enabled = false }
no-sprintf-concat = { enabled = false }
no-redundant-math={ enabled = false }
prefer-first-class-callable={ enabled = false }
no-redundant-method-override={ enabled = false }