Skip to content

Firefly III: a personal finances manager

Fix more issues.

James Colef72fe58271d5
diff --git a/app/Console/Commands/System/OutputsInstructions.php b/app/Console/Commands/System/OutputsInstructions.php
index ad6bc7444b..e342822bc0 100644
--- a/app/Console/Commands/System/OutputsInstructions.php
+++ b/app/Console/Commands/System/OutputsInstructions.php
@@ -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));
}
}
diff --git a/app/Http/Controllers/DebugController.php b/app/Http/Controllers/DebugController.php
index 87a9a47e3d..0306cca27e 100644
--- a/app/Http/Controllers/DebugController.php
+++ b/app/Http/Controllers/DebugController.php
@@ -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>';
diff --git a/mago.toml b/mago.toml
index 019e7c3648..be7c716aa3 100644
--- a/mago.toml
+++ b/mago.toml
@@ -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 }