Skip to content

Firefly III: a personal finances manager

Add newlines and copyright notices.

James Cole3e25d66902ad
diff --git a/.github/stale.yml b/.github/stale.yml
index ca0f60ebae..47c10df8bf 100644
--- a/.github/stale.yml
+++ b/.github/stale.yml
@@ -55,4 +55,4 @@ limitPerRun: 30
# issues:
# exemptLabels:
-# - confirmed
\ No newline at end of file
+# - confirmed
diff --git a/app/Api/V1/Controllers/ImportController.php b/app/Api/V1/Controllers/ImportController.php
index f3dbc67542..7eee249099 100644
--- a/app/Api/V1/Controllers/ImportController.php
+++ b/app/Api/V1/Controllers/ImportController.php
@@ -181,4 +181,4 @@ class ImportController extends Controller
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
}
-}
\ No newline at end of file
+}
diff --git a/app/Api/V1/Controllers/TagController.php b/app/Api/V1/Controllers/TagController.php
index 407024a9ba..fd293ba297 100644
--- a/app/Api/V1/Controllers/TagController.php
+++ b/app/Api/V1/Controllers/TagController.php
@@ -245,4 +245,4 @@ class TagController extends Controller
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
}
-}
\ No newline at end of file
+}
diff --git a/app/Console/Commands/ApplyRules.php b/app/Console/Commands/ApplyRules.php
index c0e3a9408c..f8ae0519c1 100644
--- a/app/Console/Commands/ApplyRules.php
+++ b/app/Console/Commands/ApplyRules.php
@@ -1,5 +1,27 @@
<?php
+/**
+ * ApplyRules.php
+ * Copyright (c) 2018 [email protected]
+ *
+ * This file is part of Firefly III.
+ *
+ * Firefly III is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Firefly III is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+declare(strict_types=1);
+
namespace FireflyIII\Console\Commands;
use Carbon\Carbon;
diff --git a/app/Console/Commands/Cron.php b/app/Console/Commands/Cron.php
index 807de0c39f..a6f48049c0 100644
--- a/app/Console/Commands/Cron.php
+++ b/app/Console/Commands/Cron.php
@@ -1,5 +1,27 @@
<?php
+/**
+ * Cron.php
+ * Copyright (c) 2018 [email protected]
+ *
+ * This file is part of Firefly III.
+ *
+ * Firefly III is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Firefly III is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+declare(strict_types=1);
+
namespace FireflyIII\Console\Commands;
use FireflyIII\Exceptions\FireflyException;
diff --git a/app/Events/RequestedReportOnJournals.php b/app/Events/RequestedReportOnJournals.php
index 0bd2ac4c55..4b869ee173 100644
--- a/app/Events/RequestedReportOnJournals.php
+++ b/app/Events/RequestedReportOnJournals.php
@@ -1,4 +1,25 @@
<?php
+
+/**
+ * RequestedReportOnJournals.php
+ * Copyright (c) 2018 [email protected]
+ *
+ * This file is part of Firefly III.
+ *
+ * Firefly III is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Firefly III is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
+ */
+
declare(strict_types=1);
/**
* RequestedReportOnJournals.php
diff --git a/app/Helpers/Collector/TransactionCollector.php b/app/Helpers/Collector/TransactionCollector.php
index 4951acef85..b1fa3cec9a 100644
--- a/app/Helpers/Collector/TransactionCollector.php
+++ b/app/Helpers/Collector/TransactionCollector.php
@@ -940,4 +940,4 @@ class TransactionCollector implements TransactionCollectorInterface
$this->query->leftJoin('tag_transaction_journal', 'tag_transaction_journal.transaction_journal_id', '=', 'transaction_journals.id');
}
}
-}
\ No newline at end of file
+}
diff --git a/app/Helpers/Collector/TransactionCollectorInterface.php b/app/Helpers/Collector/TransactionCollectorInterface.php
index 1691b63021..fe41b2d6fa 100644
--- a/app/Helpers/Collector/TransactionCollectorInterface.php
+++ b/app/Helpers/Collector/TransactionCollectorInterface.php
@@ -347,4 +347,4 @@ interface TransactionCollectorInterface
* @return TransactionCollectorInterface
*/
public function withoutCategory(): TransactionCollectorInterface;
-}
\ No newline at end of file
+}
diff --git a/app/Helpers/Filter/DoubleTransactionFilter.php b/app/Helpers/Filter/DoubleTransactionFilter.php
index 65e84f2f2c..02eb5db062 100644
--- a/app/Helpers/Filter/DoubleTransactionFilter.php
+++ b/app/Helpers/Filter/DoubleTransactionFilter.php
@@ -59,4 +59,4 @@ class DoubleTransactionFilter implements FilterInterface
return $result;
}
-}
\ No newline at end of file
+}
diff --git a/app/Helpers/Report/NetWorth.php b/app/Helpers/Report/NetWorth.php
index 0a2a01c46e..c4dd6d81b4 100644
--- a/app/Helpers/Report/NetWorth.php
+++ b/app/Helpers/Report/NetWorth.php
@@ -155,4 +155,4 @@ class NetWorth implements NetWorthInterface
$this->currencyRepos = app(CurrencyRepositoryInterface::class);
$this->currencyRepos->setUser($this->user);
}
-}
\ No newline at end of file
+}
diff --git a/app/Helpers/Report/NetWorthInterface.php b/app/Helpers/Report/NetWorthInterface.php
index 8e7e532211..620274cf4f 100644
--- a/app/Helpers/Report/NetWorthInterface.php
+++ b/app/Helpers/Report/NetWorthInterface.php
@@ -57,4 +57,4 @@ interface NetWorthInterface
*/
public function setUser(User $user): void;
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/Import/CallbackController.php b/app/Http/Controllers/Import/CallbackController.php
index f85915ac19..97299ec2d7 100644
--- a/app/Http/Controllers/Import/CallbackController.php
+++ b/app/Http/Controllers/Import/CallbackController.php
@@ -72,4 +72,4 @@ class CallbackController extends Controller
return redirect(route('import.job.status.index', [$importJob->key]));
}
-}
\ No newline at end of file
+}
diff --git a/app/Import/JobConfiguration/FinTSConfigurationSteps.php b/app/Import/JobConfiguration/FinTSConfigurationSteps.php
index 6f77b61b09..cdb6265d80 100644
--- a/app/Import/JobConfiguration/FinTSConfigurationSteps.php
+++ b/app/Import/JobConfiguration/FinTSConfigurationSteps.php
@@ -32,4 +32,4 @@ abstract class FinTSConfigurationSteps
public const NEW = 'new';
public const CHOOSE_ACCOUNT = 'choose_account';
public const GO_FOR_IMPORT = 'go-for-import';
-}
\ No newline at end of file
+}
diff --git a/app/Import/JobConfiguration/FinTSJobConfiguration.php b/app/Import/JobConfiguration/FinTSJobConfiguration.php
index 4b9c337343..dfc9fdfa64 100644
--- a/app/Import/JobConfiguration/FinTSJobConfiguration.php
+++ b/app/Import/JobConfiguration/FinTSJobConfiguration.php
@@ -131,4 +131,4 @@ class FinTSJobConfiguration implements JobConfigurationInterface
}
-}
\ No newline at end of file
+}
diff --git a/app/Import/JobConfiguration/YnabJobConfiguration.php b/app/Import/JobConfiguration/YnabJobConfiguration.php
index b74ef30fbb..1fabb496c7 100644
--- a/app/Import/JobConfiguration/YnabJobConfiguration.php
+++ b/app/Import/JobConfiguration/YnabJobConfiguration.php
@@ -138,4 +138,4 @@ class YnabJobConfiguration implements JobConfigurationInterface
return $handler;
}
-}
\ No newline at end of file
+}
diff --git a/app/Import/Prerequisites/YnabPrerequisites.php b/app/Import/Prerequisites/YnabPrerequisites.php
index 187d188199..8ad488d7c0 100644
--- a/app/Import/Prerequisites/YnabPrerequisites.php
+++ b/app/Import/Prerequisites/YnabPrerequisites.php
@@ -143,4 +143,4 @@ class YnabPrerequisites implements PrerequisitesInterface
return true;
}
-}
\ No newline at end of file
+}
diff --git a/app/Import/Routine/FinTSRoutine.php b/app/Import/Routine/FinTSRoutine.php
index 7248c10a3f..43b099fc5b 100644
--- a/app/Import/Routine/FinTSRoutine.php
+++ b/app/Import/Routine/FinTSRoutine.php
@@ -85,4 +85,4 @@ class FinTSRoutine implements RoutineInterface
$this->repository->setUser($importJob->user);
}
-}
\ No newline at end of file
+}
diff --git a/app/Import/Routine/YnabRoutine.php b/app/Import/Routine/YnabRoutine.php
index f49cdd38c7..71ff3fb970 100644
--- a/app/Import/Routine/YnabRoutine.php
+++ b/app/Import/Routine/YnabRoutine.php
@@ -140,4 +140,4 @@ class YnabRoutine implements RoutineInterface
$this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user);
}
-}
\ No newline at end of file
+}
diff --git a/app/Jobs/CreateRecurringTransactions.php b/app/Jobs/CreateRecurringTransactions.php
index bf5b7f1f0b..cb0651baee 100644
--- a/app/Jobs/CreateRecurringTransactions.php
+++ b/app/Jobs/CreateRecurringTransactions.php
@@ -1,4 +1,25 @@
<?php
+
+/**
+ * CreateRecurringTransactions.php
+ * Copyright (c) 2018 [email protected]
+ *
+ * This file is part of Firefly III.
+ *
+ * Firefly III is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Firefly III is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
+ */
+
declare(strict_types=1);
diff --git a/app/Rules/IsAssetAccountId.php b/app/Rules/IsAssetAccountId.php
index c50e897ca1..9a59f823ee 100644
--- a/app/Rules/IsAssetAccountId.php
+++ b/app/Rules/IsAssetAccountId.php
@@ -65,4 +65,4 @@ class IsAssetAccountId implements Rule
return true;
}
-}
\ No newline at end of file
+}
diff --git a/app/Rules/IsBoolean.php b/app/Rules/IsBoolean.php
index 2f385db2f4..b23314e657 100644
--- a/app/Rules/IsBoolean.php
+++ b/app/Rules/IsBoolean.php
@@ -1,5 +1,27 @@
<?php
+/**
+ * IsBoolean.php
+ * Copyright (c) 2018 [email protected]
+ *
+ * This file is part of Firefly III.
+ *
+ * Firefly III is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Firefly III is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+declare(strict_types=1);
+
namespace FireflyIII\Rules;
use Illuminate\Contracts\Validation\Rule;
diff --git a/app/Rules/ZeroOrMore.php b/app/Rules/ZeroOrMore.php
index 07e1d8c46b..0683275733 100644
--- a/app/Rules/ZeroOrMore.php
+++ b/app/Rules/ZeroOrMore.php
@@ -1,5 +1,27 @@
<?php
+/**
+ * ZeroOrMore.php
+ * Copyright (c) 2018 [email protected]
+ *
+ * This file is part of Firefly III.
+ *
+ * Firefly III is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Firefly III is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+declare(strict_types=1);
+
namespace FireflyIII\Rules;
use Illuminate\Contracts\Validation\Rule;
diff --git a/app/Services/Ynab/Request/GetAccountsRequest.php b/app/Services/Ynab/Request/GetAccountsRequest.php
index c6530c7c18..81c4a1f5be 100644
--- a/app/Services/Ynab/Request/GetAccountsRequest.php
+++ b/app/Services/Ynab/Request/GetAccountsRequest.php
@@ -51,4 +51,4 @@ class GetAccountsRequest extends YnabRequest
// expect data in [data][accounts]
$this->accounts = $result['data']['accounts'] ?? [];
}
-}
\ No newline at end of file
+}
diff --git a/app/Services/Ynab/Request/GetBudgetsRequest.php b/app/Services/Ynab/Request/GetBudgetsRequest.php
index 5cff5aff26..b087467b3f 100644
--- a/app/Services/Ynab/Request/GetBudgetsRequest.php
+++ b/app/Services/Ynab/Request/GetBudgetsRequest.php
@@ -67,4 +67,4 @@ class GetBudgetsRequest extends YnabRequest
}
$this->budgets = $freshBudgets;
}
-}
\ No newline at end of file
+}
diff --git a/app/Services/Ynab/Request/GetTransactionsRequest.php b/app/Services/Ynab/Request/GetTransactionsRequest.php
index 8e8c9c5b55..bc6e23cd9e 100644
--- a/app/Services/Ynab/Request/GetTransactionsRequest.php
+++ b/app/Services/Ynab/Request/GetTransactionsRequest.php
@@ -55,4 +55,4 @@ class GetTransactionsRequest extends YnabRequest
// expect data in [data][transactions]
$this->transactions = $result['data']['transactions'] ?? [];
}
-}
\ No newline at end of file
+}
diff --git a/app/Services/Ynab/Request/YnabRequest.php b/app/Services/Ynab/Request/YnabRequest.php
index 382f1d3003..26eb6a3800 100644
--- a/app/Services/Ynab/Request/YnabRequest.php
+++ b/app/Services/Ynab/Request/YnabRequest.php
@@ -98,4 +98,4 @@ abstract class YnabRequest
$this->token = $token;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Binder/CLIToken.php b/app/Support/Binder/CLIToken.php
index 62a750f4bf..a13c7990b6 100644
--- a/app/Support/Binder/CLIToken.php
+++ b/app/Support/Binder/CLIToken.php
@@ -59,4 +59,4 @@ class CLIToken implements BinderInterface
}
throw new NotFoundHttpException;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Binder/ConfigurationName.php b/app/Support/Binder/ConfigurationName.php
index f075f0d9f2..9b4f6751a5 100644
--- a/app/Support/Binder/ConfigurationName.php
+++ b/app/Support/Binder/ConfigurationName.php
@@ -48,4 +48,4 @@ class ConfigurationName implements BinderInterface
}
throw new NotFoundHttpException;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Cronjobs/AbstractCronjob.php b/app/Support/Cronjobs/AbstractCronjob.php
index 3eebb176be..bfd6904908 100644
--- a/app/Support/Cronjobs/AbstractCronjob.php
+++ b/app/Support/Cronjobs/AbstractCronjob.php
@@ -36,4 +36,4 @@ abstract class AbstractCronjob
*/
abstract public function fire(): bool;
-}
\ No newline at end of file
+}
diff --git a/app/Support/Cronjobs/RecurringCronjob.php b/app/Support/Cronjobs/RecurringCronjob.php
index c75e11ad29..9dea5b326b 100644
--- a/app/Support/Cronjobs/RecurringCronjob.php
+++ b/app/Support/Cronjobs/RecurringCronjob.php
@@ -81,4 +81,4 @@ class RecurringCronjob extends AbstractCronjob
$job->handle();
app('fireflyconfig')->set('last_rt_job', time());
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/FinTS/FinTS.php b/app/Support/FinTS/FinTS.php
index 1b1d1afadb..f297f379cd 100644
--- a/app/Support/FinTS/FinTS.php
+++ b/app/Support/FinTS/FinTS.php
@@ -118,4 +118,4 @@ class FinTS
throw new FireflyException($exception->getMessage());
}
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/FinTS/MetadataParser.php b/app/Support/FinTS/MetadataParser.php
index 73f17405a2..7b22363f45 100644
--- a/app/Support/FinTS/MetadataParser.php
+++ b/app/Support/FinTS/MetadataParser.php
@@ -46,4 +46,4 @@ class MetadataParser
return $finTSDescription;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Http/Api/AccountFilter.php b/app/Support/Http/Api/AccountFilter.php
index 4b257514a4..3e7594c9ec 100644
--- a/app/Support/Http/Api/AccountFilter.php
+++ b/app/Support/Http/Api/AccountFilter.php
@@ -87,4 +87,4 @@ trait AccountFilter
return $return; // @codeCoverageIgnore
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Http/Api/TransactionFilter.php b/app/Support/Http/Api/TransactionFilter.php
index e2f0f82ea5..2759945819 100644
--- a/app/Support/Http/Api/TransactionFilter.php
+++ b/app/Support/Http/Api/TransactionFilter.php
@@ -66,4 +66,4 @@ trait TransactionFilter
return $return;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Http/Controllers/BasicDataSupport.php b/app/Support/Http/Controllers/BasicDataSupport.php
index 0a1809542b..cdfefd4d07 100644
--- a/app/Support/Http/Controllers/BasicDataSupport.php
+++ b/app/Support/Http/Controllers/BasicDataSupport.php
@@ -90,4 +90,4 @@ trait BasicDataSupport
return $result;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Http/Controllers/CreateStuff.php b/app/Support/Http/Controllers/CreateStuff.php
index 6fc4a3e798..94d3a5b997 100644
--- a/app/Support/Http/Controllers/CreateStuff.php
+++ b/app/Support/Http/Controllers/CreateStuff.php
@@ -216,4 +216,4 @@ trait CreateStuff
throw new FireflyException($e->getMessage());
}
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Http/Controllers/GetConfigurationData.php b/app/Support/Http/Controllers/GetConfigurationData.php
index 61aaccdfef..c67dd7a000 100644
--- a/app/Support/Http/Controllers/GetConfigurationData.php
+++ b/app/Support/Http/Controllers/GetConfigurationData.php
@@ -250,4 +250,4 @@ trait GetConfigurationData
request()->session()->flash('warning', trans('firefly.recurring_cron_long_ago'));
}
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Http/Controllers/ModelInformation.php b/app/Support/Http/Controllers/ModelInformation.php
index 688a1b12ca..471d66dcd6 100644
--- a/app/Support/Http/Controllers/ModelInformation.php
+++ b/app/Support/Http/Controllers/ModelInformation.php
@@ -62,4 +62,4 @@ trait ModelInformation
return $count > 2;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Http/Controllers/PeriodOverview.php b/app/Support/Http/Controllers/PeriodOverview.php
index 5d92acdbf9..dc2d55bc8a 100644
--- a/app/Support/Http/Controllers/PeriodOverview.php
+++ b/app/Support/Http/Controllers/PeriodOverview.php
@@ -456,4 +456,4 @@ trait PeriodOverview
return $return;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Http/Controllers/RenderPartialViews.php b/app/Support/Http/Controllers/RenderPartialViews.php
index 06958f437d..6d1203c429 100644
--- a/app/Support/Http/Controllers/RenderPartialViews.php
+++ b/app/Support/Http/Controllers/RenderPartialViews.php
@@ -326,4 +326,4 @@ trait RenderPartialViews
return $result;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Http/Controllers/RequestInformation.php b/app/Support/Http/Controllers/RequestInformation.php
index f92b3e2432..89117b3da3 100644
--- a/app/Support/Http/Controllers/RequestInformation.php
+++ b/app/Support/Http/Controllers/RequestInformation.php
@@ -403,4 +403,4 @@ trait RequestInformation
);
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Http/Controllers/TransactionCalculation.php b/app/Support/Http/Controllers/TransactionCalculation.php
index 6c318fa90b..16280749b3 100644
--- a/app/Support/Http/Controllers/TransactionCalculation.php
+++ b/app/Support/Http/Controllers/TransactionCalculation.php
@@ -199,4 +199,4 @@ trait TransactionCalculation
return $collector->getTransactions();
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Http/Controllers/UserNavigation.php b/app/Support/Http/Controllers/UserNavigation.php
index dbf0274c07..cac0d91f92 100644
--- a/app/Support/Http/Controllers/UserNavigation.php
+++ b/app/Support/Http/Controllers/UserNavigation.php
@@ -149,4 +149,4 @@ trait UserNavigation
Log::debug(sprintf('Will put previous URI in cache under key %s: %s', $identifier, $url));
}
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/JobConfiguration/FinTS/ChooseAccountHandler.php b/app/Support/Import/JobConfiguration/FinTS/ChooseAccountHandler.php
index 7f3ce9a511..dcfcbdc4ff 100644
--- a/app/Support/Import/JobConfiguration/FinTS/ChooseAccountHandler.php
+++ b/app/Support/Import/JobConfiguration/FinTS/ChooseAccountHandler.php
@@ -120,4 +120,4 @@ class ChooseAccountHandler implements FinTSConfigurationInterface
$this->accountRepository = app(AccountRepositoryInterface::class);
$this->repository->setUser($importJob->user);
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/JobConfiguration/FinTS/FinTSConfigurationInterface.php b/app/Support/Import/JobConfiguration/FinTS/FinTSConfigurationInterface.php
index 81bfd45c8c..8e5233219e 100644
--- a/app/Support/Import/JobConfiguration/FinTS/FinTSConfigurationInterface.php
+++ b/app/Support/Import/JobConfiguration/FinTS/FinTSConfigurationInterface.php
@@ -50,4 +50,4 @@ interface FinTSConfigurationInterface
* @param ImportJob $importJob
*/
public function setImportJob(ImportJob $importJob): void;
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/JobConfiguration/FinTS/NewFinTSJobHandler.php b/app/Support/Import/JobConfiguration/FinTS/NewFinTSJobHandler.php
index b3f30a6da9..362c458aa5 100644
--- a/app/Support/Import/JobConfiguration/FinTS/NewFinTSJobHandler.php
+++ b/app/Support/Import/JobConfiguration/FinTS/NewFinTSJobHandler.php
@@ -107,4 +107,4 @@ class NewFinTSJobHandler implements FinTSConfigurationInterface
$this->repository->setUser($importJob->user);
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/JobConfiguration/Ynab/NewYnabJobHandler.php b/app/Support/Import/JobConfiguration/Ynab/NewYnabJobHandler.php
index 5a9ddaccda..4291309779 100644
--- a/app/Support/Import/JobConfiguration/Ynab/NewYnabJobHandler.php
+++ b/app/Support/Import/JobConfiguration/Ynab/NewYnabJobHandler.php
@@ -255,4 +255,4 @@ class NewYnabJobHandler implements YnabJobConfigurationInterface
return true;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/JobConfiguration/Ynab/SelectAccountsHandler.php b/app/Support/Import/JobConfiguration/Ynab/SelectAccountsHandler.php
index 4dbf8fa49b..1f109d774b 100644
--- a/app/Support/Import/JobConfiguration/Ynab/SelectAccountsHandler.php
+++ b/app/Support/Import/JobConfiguration/Ynab/SelectAccountsHandler.php
@@ -234,4 +234,4 @@ class SelectAccountsHandler implements YnabJobConfigurationInterface
return '';
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/JobConfiguration/Ynab/SelectBudgetHandler.php b/app/Support/Import/JobConfiguration/Ynab/SelectBudgetHandler.php
index 92a14d57c1..1c3ddbe546 100644
--- a/app/Support/Import/JobConfiguration/Ynab/SelectBudgetHandler.php
+++ b/app/Support/Import/JobConfiguration/Ynab/SelectBudgetHandler.php
@@ -182,4 +182,4 @@ class SelectBudgetHandler implements YnabJobConfigurationInterface
return false;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/JobConfiguration/Ynab/YnabJobConfigurationInterface.php b/app/Support/Import/JobConfiguration/Ynab/YnabJobConfigurationInterface.php
index 539f26dc44..37d96bb6c7 100644
--- a/app/Support/Import/JobConfiguration/Ynab/YnabJobConfigurationInterface.php
+++ b/app/Support/Import/JobConfiguration/Ynab/YnabJobConfigurationInterface.php
@@ -69,4 +69,4 @@ interface YnabJobConfigurationInterface
* @param ImportJob $importJob
*/
public function setImportJob(ImportJob $importJob): void;
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/Routine/Bunq/PaymentConverter.php b/app/Support/Import/Routine/Bunq/PaymentConverter.php
index d5da24f9b8..cff39a747a 100644
--- a/app/Support/Import/Routine/Bunq/PaymentConverter.php
+++ b/app/Support/Import/Routine/Bunq/PaymentConverter.php
@@ -241,4 +241,4 @@ class PaymentConverter
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/Routine/File/OFXProcessor.php b/app/Support/Import/Routine/File/OFXProcessor.php
index a4fd1b4758..fd28c63ea7 100644
--- a/app/Support/Import/Routine/File/OFXProcessor.php
+++ b/app/Support/Import/Routine/File/OFXProcessor.php
@@ -117,4 +117,4 @@ class OFXProcessor implements FileProcessorInterface
$this->repository->setUser($importJob->user);
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/Routine/FinTS/StageImportDataHandler.php b/app/Support/Import/Routine/FinTS/StageImportDataHandler.php
index 16bb14fafb..d11d8b1c86 100644
--- a/app/Support/Import/Routine/FinTS/StageImportDataHandler.php
+++ b/app/Support/Import/Routine/FinTS/StageImportDataHandler.php
@@ -186,4 +186,4 @@ class StageImportDataHandler
return $storeData;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/Routine/Ynab/GetAccountsHandler.php b/app/Support/Import/Routine/Ynab/GetAccountsHandler.php
index a0c05fd195..75632769d5 100644
--- a/app/Support/Import/Routine/Ynab/GetAccountsHandler.php
+++ b/app/Support/Import/Routine/Ynab/GetAccountsHandler.php
@@ -77,4 +77,4 @@ class GetAccountsHandler
$this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user);
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/Routine/Ynab/ImportDataHandler.php b/app/Support/Import/Routine/Ynab/ImportDataHandler.php
index 4986bd78ea..c572118da8 100644
--- a/app/Support/Import/Routine/Ynab/ImportDataHandler.php
+++ b/app/Support/Import/Routine/Ynab/ImportDataHandler.php
@@ -275,4 +275,4 @@ class ImportDataHandler
return $request->transactions;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/Routine/Ynab/StageGetAccessHandler.php b/app/Support/Import/Routine/Ynab/StageGetAccessHandler.php
index c155a4e0ca..dafcb89bfa 100644
--- a/app/Support/Import/Routine/Ynab/StageGetAccessHandler.php
+++ b/app/Support/Import/Routine/Ynab/StageGetAccessHandler.php
@@ -105,4 +105,4 @@ class StageGetAccessHandler
$this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user);
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/Routine/Ynab/StageGetBudgetsHandler.php b/app/Support/Import/Routine/Ynab/StageGetBudgetsHandler.php
index fd8c3dbeb6..bd0d6e2d6b 100644
--- a/app/Support/Import/Routine/Ynab/StageGetBudgetsHandler.php
+++ b/app/Support/Import/Routine/Ynab/StageGetBudgetsHandler.php
@@ -72,4 +72,4 @@ class StageGetBudgetsHandler
$this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user);
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/Routine/Ynab/StageGetTransactionsHandler.php b/app/Support/Import/Routine/Ynab/StageGetTransactionsHandler.php
index 9c87cf78d5..37e0f16dcf 100644
--- a/app/Support/Import/Routine/Ynab/StageGetTransactionsHandler.php
+++ b/app/Support/Import/Routine/Ynab/StageGetTransactionsHandler.php
@@ -52,4 +52,4 @@ class StageGetTransactionsHandler
$this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user);
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Import/Routine/Ynab/StageMatchAccountsHandler.php b/app/Support/Import/Routine/Ynab/StageMatchAccountsHandler.php
index 5944f8514c..5e0293f456 100644
--- a/app/Support/Import/Routine/Ynab/StageMatchAccountsHandler.php
+++ b/app/Support/Import/Routine/Ynab/StageMatchAccountsHandler.php
@@ -54,4 +54,4 @@ class StageMatchAccountsHandler
$this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user);
}
-}
\ No newline at end of file
+}
diff --git a/app/TransactionRules/Actions/ConvertToDeposit.php b/app/TransactionRules/Actions/ConvertToDeposit.php
index 47888b8762..b5f5321a1d 100644
--- a/app/TransactionRules/Actions/ConvertToDeposit.php
+++ b/app/TransactionRules/Actions/ConvertToDeposit.php
@@ -206,4 +206,4 @@ class ConvertToDeposit implements ActionInterface
return true;
}
-}
\ No newline at end of file
+}
diff --git a/app/TransactionRules/Actions/ConvertToTransfer.php b/app/TransactionRules/Actions/ConvertToTransfer.php
index afd3bfd3a6..b4dbe20d50 100644
--- a/app/TransactionRules/Actions/ConvertToTransfer.php
+++ b/app/TransactionRules/Actions/ConvertToTransfer.php
@@ -204,4 +204,4 @@ class ConvertToTransfer implements ActionInterface
return true;
}
-}
\ No newline at end of file
+}
diff --git a/app/TransactionRules/Actions/ConvertToWithdrawal.php b/app/TransactionRules/Actions/ConvertToWithdrawal.php
index adbd338d9e..3729ec340a 100644
--- a/app/TransactionRules/Actions/ConvertToWithdrawal.php
+++ b/app/TransactionRules/Actions/ConvertToWithdrawal.php
@@ -209,4 +209,4 @@ class ConvertToWithdrawal implements ActionInterface
return true;
}
-}
\ No newline at end of file
+}
diff --git a/app/Transformers/AbstractTransformer.php b/app/Transformers/AbstractTransformer.php
index d7e6ee4954..1ad57a7af3 100644
--- a/app/Transformers/AbstractTransformer.php
+++ b/app/Transformers/AbstractTransformer.php
@@ -50,4 +50,4 @@ class AbstractTransformer extends TransformerAbstract
{
$this->parameters = $parameters;
}
-}
\ No newline at end of file
+}
diff --git a/config/adldap.php b/config/adldap.php
index 4b879bcc0c..76303d5b62 100644
--- a/config/adldap.php
+++ b/config/adldap.php
@@ -1,5 +1,27 @@
<?php
+/**
+ * adldap.php
+ * Copyright (c) 2018 [email protected]
+ *
+ * This file is part of Firefly III.
+ *
+ * Firefly III is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Firefly III is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+declare(strict_types=1);
+
use Adldap\Schemas\ActiveDirectory;
use Adldap\Schemas\FreeIPA;
use Adldap\Schemas\OpenLDAP;
diff --git a/config/adldap_auth.php b/config/adldap_auth.php
index c354382310..88da45871b 100644
--- a/config/adldap_auth.php
+++ b/config/adldap_auth.php
@@ -1,5 +1,27 @@
<?php
+/**
+ * adldap_auth.php
+ * Copyright (c) 2018 [email protected]
+ *
+ * This file is part of Firefly III.
+ *
+ * Firefly III is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Firefly III is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+declare(strict_types=1);
+
use Adldap\Laravel\Scopes\UidScope;
use Adldap\Laravel\Scopes\UpnScope;
diff --git a/database/factories/AccountFactory.php b/database/factories/AccountFactory.php
index 055cb4cbb6..a48207abdf 100644
--- a/database/factories/AccountFactory.php
+++ b/database/factories/AccountFactory.php
@@ -37,4 +37,4 @@ $factory->define(
'active' => true,
];
}
-);
\ No newline at end of file
+);
diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php
index a4728e7945..ad3dc9dc58 100644
--- a/database/factories/UserFactory.php
+++ b/database/factories/UserFactory.php
@@ -1,4 +1,26 @@
<?php
+
+/**
+ * UserFactory.php
+ * Copyright (c) 2018 [email protected]
+ *
+ * This file is part of Firefly III.
+ *
+ * Firefly III is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Firefly III is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+declare(strict_types=1);
/**
* UserFactory.php
* Copyright (c) 2018 [email protected]
diff --git a/database/migrations/2018_06_08_200526_changes_for_v475.php b/database/migrations/2018_06_08_200526_changes_for_v475.php
index 427d74bc65..bca2ab325c 100644
--- a/database/migrations/2018_06_08_200526_changes_for_v475.php
+++ b/database/migrations/2018_06_08_200526_changes_for_v475.php
@@ -1,4 +1,25 @@
<?php
+
+/**
+ * 2018_06_08_200526_changes_for_v475.php
+ * Copyright (c) 2018 [email protected]
+ *
+ * This file is part of Firefly III.
+ *
+ * Firefly III is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Firefly III is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
+ */
+
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
diff --git a/database/migrations/2018_09_05_195147_changes_for_v477.php b/database/migrations/2018_09_05_195147_changes_for_v477.php
index ba6ca35dcd..d155d5694a 100644
--- a/database/migrations/2018_09_05_195147_changes_for_v477.php
+++ b/database/migrations/2018_09_05_195147_changes_for_v477.php
@@ -1,5 +1,27 @@
<?php
+/**
+ * 2018_09_05_195147_changes_for_v477.php
+ * Copyright (c) 2018 [email protected]
+ *
+ * This file is part of Firefly III.
+ *
+ * Firefly III is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Firefly III is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+declare(strict_types=1);
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
diff --git a/database/migrations/2018_11_06_172532_changes_for_v479.php b/database/migrations/2018_11_06_172532_changes_for_v479.php
index 039d0eec1b..2f79e4d015 100644
--- a/database/migrations/2018_11_06_172532_changes_for_v479.php
+++ b/database/migrations/2018_11_06_172532_changes_for_v479.php
@@ -1,4 +1,26 @@
<?php
+
+/**
+ * 2018_11_06_172532_changes_for_v479.php
+ * Copyright (c) 2018 [email protected]
+ *
+ * This file is part of Firefly III.
+ *
+ * Firefly III is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Firefly III is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
diff --git a/public/browserconfig.xml b/public/browserconfig.xml
index 91c5da15eb..65cf42916d 100644
--- a/public/browserconfig.xml
+++ b/public/browserconfig.xml
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ browserconfig.xml
+ ~ Copyright (c) 2018 [email protected]
+ ~
+ ~ This file is part of Firefly III.
+ ~
+ ~ Firefly III is free software: you can redistribute it and/or modify
+ ~ it under the terms of the GNU General Public License as published by
+ ~ the Free Software Foundation, either version 3 of the License, or
+ ~ (at your option) any later version.
+ ~
+ ~ Firefly III is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ ~ GNU General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU General Public License
+ ~ along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
+ -->
+
<browserconfig>
<msapplication>
<tile>
diff --git a/routes/api.php b/routes/api.php
index ef64f28647..63e4df5b4a 100644
--- a/routes/api.php
+++ b/routes/api.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* api.php
* Copyright (c) 2017 [email protected]
@@ -334,4 +335,4 @@ Route::group(
Route::put('{user}', ['uses' => 'UserController@update', 'as' => 'update']);
Route::delete('{user}', ['uses' => 'UserController@delete', 'as' => 'delete']);
}
-);
\ No newline at end of file
+);
diff --git a/routes/breadcrumbs.php b/routes/breadcrumbs.php
index 764071d342..1073669fcc 100644
--- a/routes/breadcrumbs.php
+++ b/routes/breadcrumbs.php
@@ -1135,4 +1135,4 @@ try {
}
);
} catch (DuplicateBreadcrumbException $e) {
-}
\ No newline at end of file
+}
diff --git a/routes/channels.php b/routes/channels.php
index 039d8376a3..84f6a36a77 100644
--- a/routes/channels.php
+++ b/routes/channels.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* channels.php
* Copyright (c) 2017 [email protected]
diff --git a/routes/console.php b/routes/console.php
index 74c4090df1..c3e6ad58c4 100644
--- a/routes/console.php
+++ b/routes/console.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* console.php
* Copyright (c) 2017 [email protected]
diff --git a/routes/web.php b/routes/web.php
old mode 100755
new mode 100644
diff --git a/tests/Api/V1/Controllers/ImportControllerTest.php b/tests/Api/V1/Controllers/ImportControllerTest.php
index 15dcd0618e..0217707300 100644
--- a/tests/Api/V1/Controllers/ImportControllerTest.php
+++ b/tests/Api/V1/Controllers/ImportControllerTest.php
@@ -132,4 +132,4 @@ class ImportControllerTest extends TestCase
$response->assertHeader('Content-Type', 'application/vnd.api+json');
}
-}
\ No newline at end of file
+}
diff --git a/tests/Api/V1/Controllers/PiggyBankControllerTest.php b/tests/Api/V1/Controllers/PiggyBankControllerTest.php
index 64bde3964a..5aa4361b55 100644
--- a/tests/Api/V1/Controllers/PiggyBankControllerTest.php
+++ b/tests/Api/V1/Controllers/PiggyBankControllerTest.php
@@ -302,4 +302,4 @@ class PiggyBankControllerTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Api/V1/Controllers/PreferencesControllerTest.php b/tests/Api/V1/Controllers/PreferencesControllerTest.php
index 28324d0ed8..704d54ef34 100644
--- a/tests/Api/V1/Controllers/PreferencesControllerTest.php
+++ b/tests/Api/V1/Controllers/PreferencesControllerTest.php
@@ -163,4 +163,4 @@ class PreferencesControllerTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Api/V1/Controllers/RuleControllerTest.php b/tests/Api/V1/Controllers/RuleControllerTest.php
index 2bcc8321e9..95802df9cb 100644
--- a/tests/Api/V1/Controllers/RuleControllerTest.php
+++ b/tests/Api/V1/Controllers/RuleControllerTest.php
@@ -374,4 +374,4 @@ class RuleControllerTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Api/V1/Controllers/RuleGroupControllerTest.php b/tests/Api/V1/Controllers/RuleGroupControllerTest.php
index 51c537320c..4d1e3c1c7b 100644
--- a/tests/Api/V1/Controllers/RuleGroupControllerTest.php
+++ b/tests/Api/V1/Controllers/RuleGroupControllerTest.php
@@ -317,4 +317,4 @@ class RuleGroupControllerTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Api/V1/Controllers/TagControllerTest.php b/tests/Api/V1/Controllers/TagControllerTest.php
index fd1651d3db..449651c74b 100644
--- a/tests/Api/V1/Controllers/TagControllerTest.php
+++ b/tests/Api/V1/Controllers/TagControllerTest.php
@@ -276,4 +276,4 @@ class TagControllerTest extends TestCase
$response->assertStatus(200);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/Import/CallbackControllerTest.php b/tests/Feature/Controllers/Import/CallbackControllerTest.php
index 4149135c7c..1c0eec5817 100644
--- a/tests/Feature/Controllers/Import/CallbackControllerTest.php
+++ b/tests/Feature/Controllers/Import/CallbackControllerTest.php
@@ -104,4 +104,4 @@ class CallbackControllerTest extends TestCase
$response->assertStatus(200);
$response->assertSee('You Need A Budget did not reply with a valid authorization code. Firefly III cannot continue.');
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/Json/RecurrenceControllerTest.php b/tests/Feature/Controllers/Json/RecurrenceControllerTest.php
index 0b8467476e..a8b3a4258d 100644
--- a/tests/Feature/Controllers/Json/RecurrenceControllerTest.php
+++ b/tests/Feature/Controllers/Json/RecurrenceControllerTest.php
@@ -361,4 +361,4 @@ class RecurrenceControllerTest extends TestCase
$response->assertExactJson($expected);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/Recurring/CreateControllerTest.php b/tests/Feature/Controllers/Recurring/CreateControllerTest.php
index d3951546ce..f078d99e88 100644
--- a/tests/Feature/Controllers/Recurring/CreateControllerTest.php
+++ b/tests/Feature/Controllers/Recurring/CreateControllerTest.php
@@ -468,4 +468,4 @@ class CreateControllerTest extends TestCase
$response->assertStatus(302);
$response->assertSessionHas('success');
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/Recurring/DeleteControllerTest.php b/tests/Feature/Controllers/Recurring/DeleteControllerTest.php
index 0d2aa8700c..d6eed475ee 100644
--- a/tests/Feature/Controllers/Recurring/DeleteControllerTest.php
+++ b/tests/Feature/Controllers/Recurring/DeleteControllerTest.php
@@ -80,4 +80,4 @@ class DeleteControllerTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/Recurring/EditControllerTest.php b/tests/Feature/Controllers/Recurring/EditControllerTest.php
index 01e3bd6a8e..70c9fa02e9 100644
--- a/tests/Feature/Controllers/Recurring/EditControllerTest.php
+++ b/tests/Feature/Controllers/Recurring/EditControllerTest.php
@@ -146,4 +146,4 @@ class EditControllerTest extends TestCase
$response->assertSessionHas('success');
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/Recurring/IndexControllerTest.php b/tests/Feature/Controllers/Recurring/IndexControllerTest.php
index 7eda6383e1..9b1aef1ca5 100644
--- a/tests/Feature/Controllers/Recurring/IndexControllerTest.php
+++ b/tests/Feature/Controllers/Recurring/IndexControllerTest.php
@@ -126,4 +126,4 @@ class IndexControllerTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/System/CronControllerTest.php b/tests/Feature/Controllers/System/CronControllerTest.php
index 7e8ce7f48c..f9e6101578 100644
--- a/tests/Feature/Controllers/System/CronControllerTest.php
+++ b/tests/Feature/Controllers/System/CronControllerTest.php
@@ -114,4 +114,4 @@ class CronControllerTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Factory/AccountMetaFactoryTest.php b/tests/Unit/Factory/AccountMetaFactoryTest.php
index 76221da3c8..82fec66a74 100644
--- a/tests/Unit/Factory/AccountMetaFactoryTest.php
+++ b/tests/Unit/Factory/AccountMetaFactoryTest.php
@@ -118,4 +118,4 @@ class AccountMetaFactoryTest extends TestCase
$this->assertEquals($result->account_id, $account->id);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Factory/AttachmentFactoryTest.php b/tests/Unit/Factory/AttachmentFactoryTest.php
index a9f46c22e7..2bdd236711 100644
--- a/tests/Unit/Factory/AttachmentFactoryTest.php
+++ b/tests/Unit/Factory/AttachmentFactoryTest.php
@@ -68,4 +68,4 @@ class AttachmentFactoryTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Factory/RecurrenceFactoryTest.php b/tests/Unit/Factory/RecurrenceFactoryTest.php
index 297ad1b191..6cce08c376 100644
--- a/tests/Unit/Factory/RecurrenceFactoryTest.php
+++ b/tests/Unit/Factory/RecurrenceFactoryTest.php
@@ -549,4 +549,4 @@ class RecurrenceFactoryTest extends TestCase
$this->assertNull($result);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Factory/TransactionTypeFactoryTest.php b/tests/Unit/Factory/TransactionTypeFactoryTest.php
index 93fc3f9acf..5d58966a0f 100644
--- a/tests/Unit/Factory/TransactionTypeFactoryTest.php
+++ b/tests/Unit/Factory/TransactionTypeFactoryTest.php
@@ -59,4 +59,4 @@ class TransactionTypeFactoryTest extends TestCase
$this->assertEquals($result->id, $type->id);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Generator/Chart/Basic/ChartJsGeneratorTest.php b/tests/Unit/Generator/Chart/Basic/ChartJsGeneratorTest.php
index e1e9a1be1f..96cd683b79 100644
--- a/tests/Unit/Generator/Chart/Basic/ChartJsGeneratorTest.php
+++ b/tests/Unit/Generator/Chart/Basic/ChartJsGeneratorTest.php
@@ -195,4 +195,4 @@ class ChartJsGeneratorTest extends TestCase
$this->assertEquals(1.0, $result['datasets'][0]['data'][0]);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Generator/Report/Audit/MonthReportGeneratorTest.php b/tests/Unit/Generator/Report/Audit/MonthReportGeneratorTest.php
index 312ce59a66..4c8bb6befc 100644
--- a/tests/Unit/Generator/Report/Audit/MonthReportGeneratorTest.php
+++ b/tests/Unit/Generator/Report/Audit/MonthReportGeneratorTest.php
@@ -227,4 +227,4 @@ class MonthReportGeneratorTest extends TestCase
$this->assertEquals('100', $result['endBalance']);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Handlers/Events/APIEventHandlerTest.php b/tests/Unit/Handlers/Events/APIEventHandlerTest.php
index e585107a91..a8deb7ac39 100644
--- a/tests/Unit/Handlers/Events/APIEventHandlerTest.php
+++ b/tests/Unit/Handlers/Events/APIEventHandlerTest.php
@@ -73,4 +73,4 @@ class APIEventHandlerTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Handlers/Events/AutomationHandlerTest.php b/tests/Unit/Handlers/Events/AutomationHandlerTest.php
index 59ecc5e85a..5803975d08 100644
--- a/tests/Unit/Handlers/Events/AutomationHandlerTest.php
+++ b/tests/Unit/Handlers/Events/AutomationHandlerTest.php
@@ -77,4 +77,4 @@ class AutomationHandlerTest extends TestCase
}
);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Handlers/Events/StoredJournalEventHandlerTest.php b/tests/Unit/Handlers/Events/StoredJournalEventHandlerTest.php
index f2cceb6d72..84e1b47e3e 100644
--- a/tests/Unit/Handlers/Events/StoredJournalEventHandlerTest.php
+++ b/tests/Unit/Handlers/Events/StoredJournalEventHandlerTest.php
@@ -77,4 +77,4 @@ class StoredJournalEventHandlerTest extends TestCase
$this->assertTrue(false, $e->getMessage());
}
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Handlers/Events/UpdatedJournalEventHandlerTest.php b/tests/Unit/Handlers/Events/UpdatedJournalEventHandlerTest.php
index 0cee2e4bd9..9384294fa4 100644
--- a/tests/Unit/Handlers/Events/UpdatedJournalEventHandlerTest.php
+++ b/tests/Unit/Handlers/Events/UpdatedJournalEventHandlerTest.php
@@ -75,4 +75,4 @@ class UpdatedJournalEventHandlerTest extends TestCase
}
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Helpers/Filter/AmountFilterTest.php b/tests/Unit/Helpers/Filter/AmountFilterTest.php
index 9756561116..14f22ba599 100644
--- a/tests/Unit/Helpers/Filter/AmountFilterTest.php
+++ b/tests/Unit/Helpers/Filter/AmountFilterTest.php
@@ -66,4 +66,4 @@ class AmountFilterTest extends TestCase
$result = $filter->filter($collection);
$this->assertCount($count, $result);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Helpers/FiscalHelperTest.php b/tests/Unit/Helpers/FiscalHelperTest.php
index b2819f344f..0d17a70401 100644
--- a/tests/Unit/Helpers/FiscalHelperTest.php
+++ b/tests/Unit/Helpers/FiscalHelperTest.php
@@ -168,4 +168,4 @@ class FiscalHelperTest extends TestCase
$result = $helper->startOfFiscalYear($date);
$this->assertEquals('2017-04-01', $result->format('Y-m-d'));
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Helpers/Help/HelpTest.php b/tests/Unit/Helpers/Help/HelpTest.php
index aa7338f21c..ae67783cc2 100644
--- a/tests/Unit/Helpers/Help/HelpTest.php
+++ b/tests/Unit/Helpers/Help/HelpTest.php
@@ -92,4 +92,4 @@ class HelpTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Helpers/Report/NetWorthTest.php b/tests/Unit/Helpers/Report/NetWorthTest.php
index ec1f37ab8a..215d59fcb1 100644
--- a/tests/Unit/Helpers/Report/NetWorthTest.php
+++ b/tests/Unit/Helpers/Report/NetWorthTest.php
@@ -124,4 +124,4 @@ class NetWorthTest extends TestCase
$this->assertEquals(-300, (int)$result[0]['balance']);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Import/Prerequisites/YnabPrerequisitesTest.php b/tests/Unit/Import/Prerequisites/YnabPrerequisitesTest.php
index fa45b049c6..4ccae46fe4 100644
--- a/tests/Unit/Import/Prerequisites/YnabPrerequisitesTest.php
+++ b/tests/Unit/Import/Prerequisites/YnabPrerequisitesTest.php
@@ -158,4 +158,4 @@ class YnabPrerequisitesTest extends TestCase
$this->assertEquals($expected, $result);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Import/Routine/YnabRoutineTest.php b/tests/Unit/Import/Routine/YnabRoutineTest.php
index 00c0018895..535a467c95 100644
--- a/tests/Unit/Import/Routine/YnabRoutineTest.php
+++ b/tests/Unit/Import/Routine/YnabRoutineTest.php
@@ -316,4 +316,4 @@ class YnabRoutineTest extends TestCase
$this->assertEquals('YNAB import routine cannot handle stage "bad_state"', $e->getMessage());
}
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/TransactionRules/Actions/ConvertToDepositTest.php b/tests/Unit/TransactionRules/Actions/ConvertToDepositTest.php
index d934385e36..d2634ee507 100644
--- a/tests/Unit/TransactionRules/Actions/ConvertToDepositTest.php
+++ b/tests/Unit/TransactionRules/Actions/ConvertToDepositTest.php
@@ -121,4 +121,4 @@ class ConvertToDepositTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/TransactionRules/Actions/ConvertToTransferTest.php b/tests/Unit/TransactionRules/Actions/ConvertToTransferTest.php
index 3c3a3efe77..4af99c4a80 100644
--- a/tests/Unit/TransactionRules/Actions/ConvertToTransferTest.php
+++ b/tests/Unit/TransactionRules/Actions/ConvertToTransferTest.php
@@ -120,4 +120,4 @@ class ConvertToTransferTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/TransactionRules/Actions/ConvertToWithdrawalTest.php b/tests/Unit/TransactionRules/Actions/ConvertToWithdrawalTest.php
index 720cb0e80d..0fb4362be4 100644
--- a/tests/Unit/TransactionRules/Actions/ConvertToWithdrawalTest.php
+++ b/tests/Unit/TransactionRules/Actions/ConvertToWithdrawalTest.php
@@ -121,4 +121,4 @@ class ConvertToWithdrawalTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Transformers/BudgetLimitTransformerTest.php b/tests/Unit/Transformers/BudgetLimitTransformerTest.php
index 5713373c7d..e9d9701f44 100644
--- a/tests/Unit/Transformers/BudgetLimitTransformerTest.php
+++ b/tests/Unit/Transformers/BudgetLimitTransformerTest.php
@@ -62,4 +62,4 @@ class BudgetLimitTransformerTest extends TestCase
$this->assertGreaterThanOrEqual(0, $result['amount']);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Transformers/CurrencyExchangeRateTransformerTest.php b/tests/Unit/Transformers/CurrencyExchangeRateTransformerTest.php
index 4cb503790a..4eac839f3e 100644
--- a/tests/Unit/Transformers/CurrencyExchangeRateTransformerTest.php
+++ b/tests/Unit/Transformers/CurrencyExchangeRateTransformerTest.php
@@ -75,4 +75,4 @@ class CurrencyExchangeRateTransformerTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Transformers/ImportJobTransformerTest.php b/tests/Unit/Transformers/ImportJobTransformerTest.php
index 61e6c15ec2..9654564ea3 100644
--- a/tests/Unit/Transformers/ImportJobTransformerTest.php
+++ b/tests/Unit/Transformers/ImportJobTransformerTest.php
@@ -70,4 +70,4 @@ class ImportJobTransformerTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Transformers/LinkTypeTransformerTest.php b/tests/Unit/Transformers/LinkTypeTransformerTest.php
index acfe1d69b8..c8e9b23c28 100644
--- a/tests/Unit/Transformers/LinkTypeTransformerTest.php
+++ b/tests/Unit/Transformers/LinkTypeTransformerTest.php
@@ -65,4 +65,4 @@ class LinkTypeTransformerTest extends TestCase
$this->assertEquals($linkType->inward, $result['inward']);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Transformers/RecurrenceTransformerTest.php b/tests/Unit/Transformers/RecurrenceTransformerTest.php
index 30e198b830..e074ffa280 100644
--- a/tests/Unit/Transformers/RecurrenceTransformerTest.php
+++ b/tests/Unit/Transformers/RecurrenceTransformerTest.php
@@ -128,4 +128,4 @@ class RecurrenceTransformerTest extends TestCase
}
-}
\ No newline at end of file
+}