Skip to content

Firefly III: a personal finances manager

Code cleanup [skip ci]

James Coled8b76bdfd246
diff --git a/app/Console/Commands/UpgradeFireflyInstructions.php b/app/Console/Commands/UpgradeFireflyInstructions.php
index 387e0b087c..4535d17a7f 100644
--- a/app/Console/Commands/UpgradeFireflyInstructions.php
+++ b/app/Console/Commands/UpgradeFireflyInstructions.php
@@ -1,4 +1,12 @@
<?php
+/**
+ * UpgradeFireflyInstructions.php
+ * Copyright (C) 2016 [email protected]
+ *
+ * This software may be modified and distributed under the terms
+ * of the MIT license. See the LICENSE file for details.
+ */
+
declare(strict_types = 1);
namespace FireflyIII\Console\Commands;
diff --git a/app/Console/Commands/VerifyDatabase.php b/app/Console/Commands/VerifyDatabase.php
index 1c540c4b57..f682c470f9 100644
--- a/app/Console/Commands/VerifyDatabase.php
+++ b/app/Console/Commands/VerifyDatabase.php
@@ -1,4 +1,12 @@
<?php
+/**
+ * VerifyDatabase.php
+ * Copyright (C) 2016 [email protected]
+ *
+ * This software may be modified and distributed under the terms
+ * of the MIT license. See the LICENSE file for details.
+ */
+
declare(strict_types = 1);
namespace FireflyIII\Console\Commands;
diff --git a/app/Events/Event.php b/app/Events/Event.php
index 74534b1d8b..65b6e30824 100644
--- a/app/Events/Event.php
+++ b/app/Events/Event.php
@@ -1,4 +1,12 @@
<?php
+/**
+ * Event.php
+ * Copyright (C) 2016 [email protected]
+ *
+ * This software may be modified and distributed under the terms
+ * of the MIT license. See the LICENSE file for details.
+ */
+
declare(strict_types = 1);
namespace FireflyIII\Events;
diff --git a/app/Events/TransactionJournalUpdated.php b/app/Events/TransactionJournalUpdated.php
index ad75a4f410..03ed37a609 100644
--- a/app/Events/TransactionJournalUpdated.php
+++ b/app/Events/TransactionJournalUpdated.php
@@ -1,4 +1,12 @@
<?php
+/**
+ * TransactionJournalUpdated.php
+ * Copyright (C) 2016 [email protected]
+ *
+ * This software may be modified and distributed under the terms
+ * of the MIT license. See the LICENSE file for details.
+ */
+
declare(strict_types = 1);
namespace FireflyIII\Events;
diff --git a/app/Exceptions/FireflyException.php b/app/Exceptions/FireflyException.php
index c931fa7e3a..7f61b642c8 100644
--- a/app/Exceptions/FireflyException.php
+++ b/app/Exceptions/FireflyException.php
@@ -1,4 +1,12 @@
<?php
+/**
+ * FireflyException.php
+ * Copyright (C) 2016 [email protected]
+ *
+ * This software may be modified and distributed under the terms
+ * of the MIT license. See the LICENSE file for details.
+ */
+
declare(strict_types = 1);
namespace FireflyIII\Exceptions;
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index ade119428c..9207bce274 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -1,4 +1,12 @@
<?php
+/**
+ * Handler.php
+ * Copyright (C) 2016 [email protected]
+ *
+ * This software may be modified and distributed under the terms
+ * of the MIT license. See the LICENSE file for details.
+ */
+
declare(strict_types = 1);
namespace FireflyIII\Exceptions;
diff --git a/app/Exceptions/ValidationException.php b/app/Exceptions/ValidationException.php
index a1b2ce127c..f7e2251ee6 100644
--- a/app/Exceptions/ValidationException.php
+++ b/app/Exceptions/ValidationException.php
@@ -1,4 +1,12 @@
<?php
+/**
+ * ValidationException.php
+ * Copyright (C) 2016 [email protected]
+ *
+ * This software may be modified and distributed under the terms
+ * of the MIT license. See the LICENSE file for details.
+ */
+
declare(strict_types = 1);
namespace FireflyIII\Exceptions;
diff --git a/app/Generator/Chart/Account/ChartJsAccountChartGenerator.php b/app/Generator/Chart/Account/ChartJsAccountChartGenerator.php
index 5ca40c059a..13a0e066ef 100644
--- a/app/Generator/Chart/Account/ChartJsAccountChartGenerator.php
+++ b/app/Generator/Chart/Account/ChartJsAccountChartGenerator.php
@@ -1,4 +1,12 @@
<?php
+/**
+ * ChartJsAccountChartGenerator.php
+ * Copyright (C) 2016 [email protected]
+ *
+ * This software may be modified and distributed under the terms
+ * of the MIT license. See the LICENSE file for details.
+ */
+
declare(strict_types = 1);
namespace FireflyIII\Generator\Chart\Account;
diff --git a/app/Generator/Chart/Bill/ChartJsBillChartGenerator.php b/app/Generator/Chart/Bill/ChartJsBillChartGenerator.php
index 8462200464..5125c4bc16 100644
--- a/app/Generator/Chart/Bill/ChartJsBillChartGenerator.php
+++ b/app/Generator/Chart/Bill/ChartJsBillChartGenerator.php
@@ -1,5 +1,4 @@
<?php
-declare(strict_types = 1);
/**
* ChartJsBillChartGenerator.php
* Copyright (C) 2016 [email protected]
@@ -8,6 +7,8 @@ declare(strict_types = 1);
* of the MIT license. See the LICENSE file for details.
*/
+declare(strict_types = 1);
+
namespace FireflyIII\Generator\Chart\Bill;
use FireflyIII\Models\Bill;
diff --git a/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php b/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php
index 8e9ada09ac..e5f418e022 100644
--- a/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php
+++ b/app/Generator/Chart/Budget/ChartJsBudgetChartGenerator.php
@@ -1,4 +1,12 @@
<?php
+/**
+ * ChartJsBudgetChartGenerator.php
+ * Copyright (C) 2016 [email protected]
+ *
+ * This software may be modified and distributed under the terms
+ * of the MIT license. See the LICENSE file for details.
+ */
+
declare(strict_types = 1);
namespace FireflyIII\Generator\Chart\Budget;
diff --git a/app/Generator/Chart/Category/ChartJsCategoryChartGenerator.php b/app/Generator/Chart/Category/ChartJsCategoryChartGenerator.php
index 9103a5cd31..28e7b87c47 100644
--- a/app/Generator/Chart/Category/ChartJsCategoryChartGenerator.php
+++ b/app/Generator/Chart/Category/ChartJsCategoryChartGenerator.php
@@ -1,4 +1,12 @@
<?php
+/**
+ * ChartJsCategoryChartGenerator.php
+ * Copyright (C) 2016 [email protected]
+ *
+ * This software may be modified and distributed under the terms
+ * of the MIT license. See the LICENSE file for details.
+ */
+
declare(strict_types = 1);
namespace FireflyIII\Generator\Chart\Category;
diff --git a/app/Generator/Chart/PiggyBank/ChartJsPiggyBankChartGenerator.php b/app/Generator/Chart/PiggyBank/ChartJsPiggyBankChartGenerator.php
index a269c84571..e31a8a23ec 100644
--- a/app/Generator/Chart/PiggyBank/ChartJsPiggyBankChartGenerator.php
+++ b/app/Generator/Chart/PiggyBank/ChartJsPiggyBankChartGenerator.php
@@ -1,4 +1,12 @@
<?php
+/**
+ * ChartJsPiggyBankChartGenerator.php
+ * Copyright (C) 2016 [email protected]
+ *
+ * This software may be modified and distributed under the terms
+ * of the MIT license. See the LICENSE file for details.
+ */
+
declare(strict_types = 1);
namespace FireflyIII\Generator\Chart\PiggyBank;
diff --git a/app/Generator/Chart/Report/ChartJsReportChartGenerator.php b/app/Generator/Chart/Report/ChartJsReportChartGenerator.php
index df87ad0196..c3d411093b 100644
--- a/app/Generator/Chart/Report/ChartJsReportChartGenerator.php
+++ b/app/Generator/Chart/Report/ChartJsReportChartGenerator.php
@@ -1,4 +1,12 @@
<?php
+/**
+ * ChartJsReportChartGenerator.php
+ * Copyright (C) 2016 [email protected]
+ *
+ * This software may be modified and distributed under the terms
+ * of the MIT license. See the LICENSE file for details.
+ */
+
declare(strict_types = 1);
namespace FireflyIII\Generator\Chart\Report;