mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-08-17 16:35:20 -05:00
Fix more issues.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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>';
|
||||
|
||||
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user