Skip to content

Firefly III: a personal finances manager

Run CS fixer

James Cole409b4fe4d9cd
diff --git a/.ci/php-cs-fixer/composer.lock b/.ci/php-cs-fixer/composer.lock
index 8979aaacad..e91c07abc8 100644
--- a/.ci/php-cs-fixer/composer.lock
+++ b/.ci/php-cs-fixer/composer.lock
@@ -375,16 +375,16 @@
},
{
"name": "friendsofphp/php-cs-fixer",
- "version": "v3.12.0",
+ "version": "v3.13.0",
"source": {
"type": "git",
- "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git",
- "reference": "eae11d945e2885d86e1c080eec1bb30a2aa27998"
+ "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",
+ "reference": "a6232229a8309e8811dc751c28b91cb34b2943e1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/eae11d945e2885d86e1c080eec1bb30a2aa27998",
- "reference": "eae11d945e2885d86e1c080eec1bb30a2aa27998",
+ "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/a6232229a8309e8811dc751c28b91cb34b2943e1",
+ "reference": "a6232229a8309e8811dc751c28b91cb34b2943e1",
"shasum": ""
},
"require": {
@@ -408,7 +408,7 @@
},
"require-dev": {
"justinrainbow/json-schema": "^5.2",
- "keradus/cli-executor": "^1.5",
+ "keradus/cli-executor": "^2.0",
"mikey179/vfsstream": "^1.6.10",
"php-coveralls/php-coveralls": "^2.5.2",
"php-cs-fixer/accessible-object": "^1.1",
@@ -451,8 +451,8 @@
],
"description": "A tool to automatically fix PHP code style",
"support": {
- "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues",
- "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.12.0"
+ "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",
+ "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.13.0"
},
"funding": [
{
@@ -460,7 +460,7 @@
"type": "github"
}
],
- "time": "2022-10-12T14:20:51+00:00"
+ "time": "2022-10-31T19:28:50+00:00"
},
{
"name": "psr/cache",
diff --git a/app/Models/PiggyBank.php b/app/Models/PiggyBank.php
index efd1a3a8be..5e4c7e6eaa 100644
--- a/app/Models/PiggyBank.php
+++ b/app/Models/PiggyBank.php
@@ -198,7 +198,7 @@ class PiggyBank extends Model
protected function targetamount(): Attribute
{
return Attribute::make(
- get: fn($value) => (string) $value,
+ get: fn ($value) => (string) $value,
);
}
}
diff --git a/app/Support/Navigation.php b/app/Support/Navigation.php
index 3c33e11f64..900c9c9767 100644
--- a/app/Support/Navigation.php
+++ b/app/Support/Navigation.php
@@ -584,11 +584,11 @@ class Navigation
default:
break;
case 'last7':
- $date->subDays(7);
- return $date;
+ $date->subDays(7);
+ return $date;
case 'last30':
- $date->subDays(30);
- return $date;
+ $date->subDays(30);
+ return $date;
case 'last90':
$date->subDays(90);
return $date;
@@ -714,11 +714,11 @@ class Navigation
default:
break;
case 'last7':
- $start->subDays(7);
- return $start;
+ $start->subDays(7);
+ return $start;
case 'last30':
- $start->subDays(30);
- return $start;
+ $start->subDays(30);
+ return $start;
case 'last90':
$start->subDays(90);
return $start;