Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix some code quality issues.
James Coleeed68b5d95d7
diff --git a/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php b/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.phpindex 216a364e60..063e40e230 100644--- a/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php+++ b/app/Console/Commands/Correction/CorrectOpeningBalanceCurrencies.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** CorrectOpeningBalanceCurrencies.php* Copyright (c) 2020 [email protected]diff --git a/app/Console/Commands/Correction/FixLongDescriptions.php b/app/Console/Commands/Correction/FixLongDescriptions.phpindex 1cc90566b7..0335b212c5 100644--- a/app/Console/Commands/Correction/FixLongDescriptions.php+++ b/app/Console/Commands/Correction/FixLongDescriptions.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** FixLongDescriptions.php* Copyright (c) 2020 [email protected]diff --git a/app/Console/Commands/Correction/FixRecurringTransactions.php b/app/Console/Commands/Correction/FixRecurringTransactions.phpindex a0a1a6170b..6c83c63e45 100644--- a/app/Console/Commands/Correction/FixRecurringTransactions.php+++ b/app/Console/Commands/Correction/FixRecurringTransactions.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** FixRecurringTransactions.php* Copyright (c) 2020 [email protected]diff --git a/app/Console/Commands/CreateDatabase.php b/app/Console/Commands/CreateDatabase.phpindex 46cd5109ba..f3b55c858b 100644--- a/app/Console/Commands/CreateDatabase.php+++ b/app/Console/Commands/CreateDatabase.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/**diff --git a/app/Console/Commands/Export/ExportData.php b/app/Console/Commands/Export/ExportData.phpindex 4ecf0cb1ee..7a18f5ca7e 100644--- a/app/Console/Commands/Export/ExportData.php+++ b/app/Console/Commands/Export/ExportData.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** ExportData.php* Copyright (c) 2020 [email protected]diff --git a/app/Console/Commands/Integrity/RestoreOAuthKeys.php b/app/Console/Commands/Integrity/RestoreOAuthKeys.phpindex 22d1db5cc4..ad7fe3fb42 100644--- a/app/Console/Commands/Integrity/RestoreOAuthKeys.php+++ b/app/Console/Commands/Integrity/RestoreOAuthKeys.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** RestoreOAuthKeys.php* Copyright (c) 2020 [email protected]diff --git a/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php b/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.phpindex a9a0df3ec3..5bccd92bec 100644--- a/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php+++ b/app/Console/Commands/Upgrade/MigrateRecurrenceMeta.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** MigrateRecurrenceMeta.php* Copyright (c) 2020 [email protected]diff --git a/app/Console/Commands/Upgrade/MigrateTagLocations.php b/app/Console/Commands/Upgrade/MigrateTagLocations.phpindex 94e42e3045..bbada0a41d 100644--- a/app/Console/Commands/Upgrade/MigrateTagLocations.php+++ b/app/Console/Commands/Upgrade/MigrateTagLocations.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** MigrateTagLocations.php* Copyright (c) 2020 [email protected]diff --git a/app/Exceptions/DuplicateTransactionException.php b/app/Exceptions/DuplicateTransactionException.phpindex 2b607ec9a9..760f64af6b 100644--- a/app/Exceptions/DuplicateTransactionException.php+++ b/app/Exceptions/DuplicateTransactionException.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** DuplicateTransactionException.php* Copyright (c) 2019 [email protected]diff --git a/app/Http/Controllers/Admin/TelemetryController.php b/app/Http/Controllers/Admin/TelemetryController.phpindex 74ec3c8058..7aa60cad8d 100644--- a/app/Http/Controllers/Admin/TelemetryController.php+++ b/app/Http/Controllers/Admin/TelemetryController.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** TelemetryController.php* Copyright (c) 2020 [email protected]diff --git a/app/Http/Controllers/Auth/ConfirmPasswordController.php b/app/Http/Controllers/Auth/ConfirmPasswordController.phpindex 535496d7be..3077ad4beb 100644--- a/app/Http/Controllers/Auth/ConfirmPasswordController.php+++ b/app/Http/Controllers/Auth/ConfirmPasswordController.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/**diff --git a/app/Http/Controllers/Chart/TagReportController.php b/app/Http/Controllers/Chart/TagReportController.phpindex 9b6f8505fd..ff8a8b1732 100644--- a/app/Http/Controllers/Chart/TagReportController.php+++ b/app/Http/Controllers/Chart/TagReportController.php@@ -450,8 +450,6 @@ class TagReportController extends Controller$data = $this->generator->multiCurrencyPieChart($result);return response()->json($data);-- return response()->json($data);}diff --git a/app/Http/Controllers/Chart/TransactionController.php b/app/Http/Controllers/Chart/TransactionController.phpindex 3db121c097..8f9798e215 100644--- a/app/Http/Controllers/Chart/TransactionController.php+++ b/app/Http/Controllers/Chart/TransactionController.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** TransactionController.php* Copyright (c) 2020 [email protected]diff --git a/app/Http/Controllers/Export/IndexController.php b/app/Http/Controllers/Export/IndexController.phpindex 04464901cc..1626b0756c 100644--- a/app/Http/Controllers/Export/IndexController.php+++ b/app/Http/Controllers/Export/IndexController.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** IndexController.php* Copyright (c) 2019 [email protected]diff --git a/app/Http/Controllers/Profile/DataController.php b/app/Http/Controllers/Profile/DataController.phpindex 12121b4251..a4ded43c29 100644--- a/app/Http/Controllers/Profile/DataController.php+++ b/app/Http/Controllers/Profile/DataController.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** DataController.php* Copyright (c) 2019 [email protected]diff --git a/app/Models/AutoBudget.php b/app/Models/AutoBudget.phpindex f8ba614ddf..3f4c42ee24 100644--- a/app/Models/AutoBudget.php+++ b/app/Models/AutoBudget.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** AutoBudget.php* Copyright (c) 2020 [email protected]diff --git a/app/Models/Location.php b/app/Models/Location.phpindex b8daa02010..4e97b1bd16 100644--- a/app/Models/Location.php+++ b/app/Models/Location.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** Location.php* Copyright (c) 2019 [email protected]diff --git a/app/Models/Telemetry.php b/app/Models/Telemetry.phpindex 223b5d9137..521f4e18c1 100644--- a/app/Models/Telemetry.php+++ b/app/Models/Telemetry.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** Telemetry.php* Copyright (c) 2020 [email protected]diff --git a/app/Rules/IsTransferAccount.php b/app/Rules/IsTransferAccount.phpindex b47c261d6b..851d04e234 100644--- a/app/Rules/IsTransferAccount.php+++ b/app/Rules/IsTransferAccount.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** IsTransferAccount.php* Copyright (c) 2019 [email protected]diff --git a/app/Rules/LessThanPiggyTarget.php b/app/Rules/LessThanPiggyTarget.phpindex d537b3208e..d32fd7ca10 100644--- a/app/Rules/LessThanPiggyTarget.php+++ b/app/Rules/LessThanPiggyTarget.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** LessThanPiggyTarget.php* Copyright (c) 2019 [email protected]diff --git a/app/Services/FireflyIIIOrg/Update/UpdateRequest.php b/app/Services/FireflyIIIOrg/Update/UpdateRequest.phpindex 7457a09e8b..2242f9a36a 100644--- a/app/Services/FireflyIIIOrg/Update/UpdateRequest.php+++ b/app/Services/FireflyIIIOrg/Update/UpdateRequest.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** UpdateRequest.php* Copyright (c) 2019 [email protected]diff --git a/app/Services/FireflyIIIOrg/Update/UpdateRequestInterface.php b/app/Services/FireflyIIIOrg/Update/UpdateRequestInterface.phpindex 49ccc158dd..6f7f7eb095 100644--- a/app/Services/FireflyIIIOrg/Update/UpdateRequestInterface.php+++ b/app/Services/FireflyIIIOrg/Update/UpdateRequestInterface.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** UpdateRequestInterface.php* Copyright (c) 2019 [email protected]diff --git a/app/Services/Internal/Support/LocationServiceTrait.php b/app/Services/Internal/Support/LocationServiceTrait.phpindex b19c5f1a99..5d8ffb21be 100644--- a/app/Services/Internal/Support/LocationServiceTrait.php+++ b/app/Services/Internal/Support/LocationServiceTrait.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** LocationServiceTrait.php* Copyright (c) 2019 [email protected]diff --git a/app/Support/Cronjobs/AutoBudgetCronjob.php b/app/Support/Cronjobs/AutoBudgetCronjob.phpindex 7dba31599c..c4c72827b5 100644--- a/app/Support/Cronjobs/AutoBudgetCronjob.php+++ b/app/Support/Cronjobs/AutoBudgetCronjob.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** AutoBudgetCronjob.php* Copyright (c) 2020 [email protected]diff --git a/app/Support/Export/ExportDataGenerator.php b/app/Support/Export/ExportDataGenerator.phpindex 80264b3ebc..8f2cebe4df 100644--- a/app/Support/Export/ExportDataGenerator.php+++ b/app/Support/Export/ExportDataGenerator.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** ExportDataGenerator.php* Copyright (c) 2019 [email protected]diff --git a/app/Support/Search/AccountSearch.php b/app/Support/Search/AccountSearch.phpindex 9fff5294ea..9eb9aeef64 100644--- a/app/Support/Search/AccountSearch.php+++ b/app/Support/Search/AccountSearch.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** AccountSearch.php* Copyright (c) 2019 [email protected]diff --git a/app/Support/Search/GenericSearchInterface.php b/app/Support/Search/GenericSearchInterface.phpindex c28b0d093f..1ca809d1ca 100644--- a/app/Support/Search/GenericSearchInterface.php+++ b/app/Support/Search/GenericSearchInterface.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** GenericSearchInterface.php* Copyright (c) 2019 [email protected]diff --git a/app/Support/Search/TransactionSearch.php b/app/Support/Search/TransactionSearch.phpindex 2b39fbbb9e..45080812d5 100644--- a/app/Support/Search/TransactionSearch.php+++ b/app/Support/Search/TransactionSearch.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** TransactionSearch.php* Copyright (c) 2019 [email protected]diff --git a/app/Support/Search/TransferSearch.php b/app/Support/Search/TransferSearch.phpindex ef94659131..aff435b65a 100644--- a/app/Support/Search/TransferSearch.php+++ b/app/Support/Search/TransferSearch.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** TransferSearch.php* Copyright (c) 2019 [email protected]diff --git a/app/Support/System/OAuthKeys.php b/app/Support/System/OAuthKeys.phpindex 057f6add8a..fc6df6b40c 100644--- a/app/Support/System/OAuthKeys.php+++ b/app/Support/System/OAuthKeys.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** OAuthKeys.php* Copyright (c) 2019 [email protected]diff --git a/app/Support/Telemetry.php b/app/Support/Telemetry.phpindex fe458781b2..905ca18233 100644--- a/app/Support/Telemetry.php+++ b/app/Support/Telemetry.php@@ -1,4 +1,5 @@<?php+declare(strict_types=1);/*** Telemetry.php* Copyright (c) 2020 [email protected]diff --git a/public/v1/css/daterangepicker.css b/public/v1/css/daterangepicker.cssindex 73f36b0cc9..e9ddc376aa 100755--- a/public/v1/css/daterangepicker.css+++ b/public/v1/css/daterangepicker.css@@ -12,7 +12,7 @@left: 20px;z-index: 3001;display: none;- font-family: arial;+ font-family: sans-serif, Arial;font-size: 15px;line-height: 1em;}@@ -155,7 +155,6 @@font-size: 12px;border-radius: 4px;border: 1px solid transparent;- white-space: nowrap;cursor: pointer;}