Skip to content

Firefly III: a personal finances manager

Add newline to files

James Colefc78c32fca08
diff --git a/.travis.yml b/.travis.yml
index dde48f83e8..93d1a7b88a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -26,4 +26,4 @@ script:
# build everything
- .deploy/docker/build-amd64.sh
- .deploy/docker/build-arm.sh
- - .deploy/docker/manifest.sh
\ No newline at end of file
+ - .deploy/docker/manifest.sh
diff --git a/app/Api/V1/Requests/DateRequest.php b/app/Api/V1/Requests/DateRequest.php
index 30ac436731..8ad41eaf18 100644
--- a/app/Api/V1/Requests/DateRequest.php
+++ b/app/Api/V1/Requests/DateRequest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DateRequest.php
* Copyright (c) 2019 [email protected]
@@ -65,4 +66,4 @@ class DateRequest extends Request
'end' => 'required|date|after:start',
];
}
-}
\ No newline at end of file
+}
diff --git a/app/Api/V1/Requests/RuleGroupTestRequest.php b/app/Api/V1/Requests/RuleGroupTestRequest.php
index 1b3e9a4c75..39ed3a02c2 100644
--- a/app/Api/V1/Requests/RuleGroupTestRequest.php
+++ b/app/Api/V1/Requests/RuleGroupTestRequest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* RuleGroupTestRequest.php
* Copyright (c) 2019 [email protected]
@@ -141,4 +142,4 @@ class RuleGroupTestRequest extends Request
return null !== $account && AccountType::ASSET === $account->accountType->type;
}
-}
\ No newline at end of file
+}
diff --git a/app/Api/V1/Requests/RuleGroupTriggerRequest.php b/app/Api/V1/Requests/RuleGroupTriggerRequest.php
index a9912ae845..ff40a98640 100644
--- a/app/Api/V1/Requests/RuleGroupTriggerRequest.php
+++ b/app/Api/V1/Requests/RuleGroupTriggerRequest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* RuleGroupTriggerRequest.php
* Copyright (c) 2019 [email protected]
@@ -116,4 +117,4 @@ class RuleGroupTriggerRequest extends Request
return null !== $account && AccountType::ASSET === $account->accountType->type;
}
-}
\ No newline at end of file
+}
diff --git a/app/Api/V1/Requests/RuleTestRequest.php b/app/Api/V1/Requests/RuleTestRequest.php
index 44ab7c8114..3ee490576e 100644
--- a/app/Api/V1/Requests/RuleTestRequest.php
+++ b/app/Api/V1/Requests/RuleTestRequest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* RuleTestRequest.php
* Copyright (c) 2019 [email protected]
@@ -141,4 +142,4 @@ class RuleTestRequest extends Request
return null !== $account && AccountType::ASSET === $account->accountType->type;
}
-}
\ No newline at end of file
+}
diff --git a/app/Api/V1/Requests/RuleTriggerRequest.php b/app/Api/V1/Requests/RuleTriggerRequest.php
index 570232751d..b9497fc81f 100644
--- a/app/Api/V1/Requests/RuleTriggerRequest.php
+++ b/app/Api/V1/Requests/RuleTriggerRequest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* RuleTriggerRequest.php
* Copyright (c) 2019 [email protected]
@@ -116,4 +117,4 @@ class RuleTriggerRequest extends Request
return null !== $account && AccountType::ASSET === $account->accountType->type;
}
-}
\ No newline at end of file
+}
diff --git a/app/Console/Commands/Correction/CorrectDatabase.php b/app/Console/Commands/Correction/CorrectDatabase.php
index c95b7b9db7..091dc5f54f 100644
--- a/app/Console/Commands/Correction/CorrectDatabase.php
+++ b/app/Console/Commands/Correction/CorrectDatabase.php
@@ -80,4 +80,4 @@ class CorrectDatabase extends Command
return 0;
}
-}
\ No newline at end of file
+}
diff --git a/app/Console/Commands/Correction/CreateAccessTokens.php b/app/Console/Commands/Correction/CreateAccessTokens.php
index d2f8602d21..0a77d219fd 100644
--- a/app/Console/Commands/Correction/CreateAccessTokens.php
+++ b/app/Console/Commands/Correction/CreateAccessTokens.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* CreateAccessTokens.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Correction/CreateLinkTypes.php b/app/Console/Commands/Correction/CreateLinkTypes.php
index dfb9ade9b6..0efcbdb4b3 100644
--- a/app/Console/Commands/Correction/CreateLinkTypes.php
+++ b/app/Console/Commands/Correction/CreateLinkTypes.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* CreateLinkTypes.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Correction/DeleteEmptyGroups.php b/app/Console/Commands/Correction/DeleteEmptyGroups.php
index 2a45cab77b..4c5ed2a59e 100644
--- a/app/Console/Commands/Correction/DeleteEmptyGroups.php
+++ b/app/Console/Commands/Correction/DeleteEmptyGroups.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DeleteEmptyGroups.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Correction/DeleteEmptyJournals.php b/app/Console/Commands/Correction/DeleteEmptyJournals.php
index 54bd7fd05f..ee2c748bb2 100644
--- a/app/Console/Commands/Correction/DeleteEmptyJournals.php
+++ b/app/Console/Commands/Correction/DeleteEmptyJournals.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DeleteEmptyJournals.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Correction/DeleteOrphanedTransactions.php b/app/Console/Commands/Correction/DeleteOrphanedTransactions.php
index 7b433ba3f4..3ab8de9041 100644
--- a/app/Console/Commands/Correction/DeleteOrphanedTransactions.php
+++ b/app/Console/Commands/Correction/DeleteOrphanedTransactions.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DeleteOrphanedTransactions.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Correction/DeleteZeroAmount.php b/app/Console/Commands/Correction/DeleteZeroAmount.php
index c71d0443f3..30018628c7 100644
--- a/app/Console/Commands/Correction/DeleteZeroAmount.php
+++ b/app/Console/Commands/Correction/DeleteZeroAmount.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DeleteZeroAmount.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Correction/EnableCurrencies.php b/app/Console/Commands/Correction/EnableCurrencies.php
index acfb43f05a..77059c3806 100644
--- a/app/Console/Commands/Correction/EnableCurrencies.php
+++ b/app/Console/Commands/Correction/EnableCurrencies.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* EnableCurrencies.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Correction/FixAccountTypes.php b/app/Console/Commands/Correction/FixAccountTypes.php
index 0fd0b16af7..a0906e7c7c 100644
--- a/app/Console/Commands/Correction/FixAccountTypes.php
+++ b/app/Console/Commands/Correction/FixAccountTypes.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* FixAccountTypes.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Correction/FixPiggies.php b/app/Console/Commands/Correction/FixPiggies.php
index 5cfcd81571..d6aa60a7bb 100644
--- a/app/Console/Commands/Correction/FixPiggies.php
+++ b/app/Console/Commands/Correction/FixPiggies.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* FixPiggies.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Correction/FixUnevenAmount.php b/app/Console/Commands/Correction/FixUnevenAmount.php
index 251d22bca4..af64c7bab6 100644
--- a/app/Console/Commands/Correction/FixUnevenAmount.php
+++ b/app/Console/Commands/Correction/FixUnevenAmount.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* FixUnevenAmount.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Correction/RemoveBills.php b/app/Console/Commands/Correction/RemoveBills.php
index 2dfb2f8588..b32fb96190 100644
--- a/app/Console/Commands/Correction/RemoveBills.php
+++ b/app/Console/Commands/Correction/RemoveBills.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* RemoveBills.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Correction/RenameMetaFields.php b/app/Console/Commands/Correction/RenameMetaFields.php
index 5758376a9c..c7d9c86381 100644
--- a/app/Console/Commands/Correction/RenameMetaFields.php
+++ b/app/Console/Commands/Correction/RenameMetaFields.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* RenameMetaFields.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Correction/TransferBudgets.php b/app/Console/Commands/Correction/TransferBudgets.php
index 533192c96c..f859bdb247 100644
--- a/app/Console/Commands/Correction/TransferBudgets.php
+++ b/app/Console/Commands/Correction/TransferBudgets.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* TransferBudgets.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Integrity/ReportEmptyObjects.php b/app/Console/Commands/Integrity/ReportEmptyObjects.php
index 8c368b3037..b65b1ba73d 100644
--- a/app/Console/Commands/Integrity/ReportEmptyObjects.php
+++ b/app/Console/Commands/Integrity/ReportEmptyObjects.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* ReportEmptyObjects.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Integrity/ReportIntegrity.php b/app/Console/Commands/Integrity/ReportIntegrity.php
index 4384a62e5c..a89b2ae2d4 100644
--- a/app/Console/Commands/Integrity/ReportIntegrity.php
+++ b/app/Console/Commands/Integrity/ReportIntegrity.php
@@ -70,4 +70,4 @@ class ReportIntegrity extends Command
return 0;
}
-}
\ No newline at end of file
+}
diff --git a/app/Console/Commands/Integrity/ReportSum.php b/app/Console/Commands/Integrity/ReportSum.php
index e4b3c2cb43..b3394c4ffc 100644
--- a/app/Console/Commands/Integrity/ReportSum.php
+++ b/app/Console/Commands/Integrity/ReportSum.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* ReportSum.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Tools/ApplyRules.php b/app/Console/Commands/Tools/ApplyRules.php
index 1bc1467072..98a3de38c7 100644
--- a/app/Console/Commands/Tools/ApplyRules.php
+++ b/app/Console/Commands/Tools/ApplyRules.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
diff --git a/app/Console/Commands/Upgrade/AccountCurrencies.php b/app/Console/Commands/Upgrade/AccountCurrencies.php
index 3a01760f14..97766be9ee 100644
--- a/app/Console/Commands/Upgrade/AccountCurrencies.php
+++ b/app/Console/Commands/Upgrade/AccountCurrencies.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* AccountCurrencies.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Upgrade/BackToJournals.php b/app/Console/Commands/Upgrade/BackToJournals.php
index 99fb2fd685..3dda29f855 100644
--- a/app/Console/Commands/Upgrade/BackToJournals.php
+++ b/app/Console/Commands/Upgrade/BackToJournals.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* BackToJournals.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Upgrade/BudgetLimitCurrency.php b/app/Console/Commands/Upgrade/BudgetLimitCurrency.php
index dd37b5fc59..9657a68766 100644
--- a/app/Console/Commands/Upgrade/BudgetLimitCurrency.php
+++ b/app/Console/Commands/Upgrade/BudgetLimitCurrency.php
@@ -116,4 +116,4 @@ class BudgetLimitCurrency extends Command
{
app('fireflyconfig')->set(self::CONFIG_NAME, true);
}
-}
\ No newline at end of file
+}
diff --git a/app/Console/Commands/Upgrade/CCLiabilities.php b/app/Console/Commands/Upgrade/CCLiabilities.php
index e53bfafaa9..ac0d43f63d 100644
--- a/app/Console/Commands/Upgrade/CCLiabilities.php
+++ b/app/Console/Commands/Upgrade/CCLiabilities.php
@@ -115,4 +115,4 @@ class CCLiabilities extends Command
{
app('fireflyconfig')->set(self::CONFIG_NAME, true);
}
-}
\ No newline at end of file
+}
diff --git a/app/Console/Commands/Upgrade/MigrateAttachments.php b/app/Console/Commands/Upgrade/MigrateAttachments.php
index 4e4df1caa8..b8c7f4887a 100644
--- a/app/Console/Commands/Upgrade/MigrateAttachments.php
+++ b/app/Console/Commands/Upgrade/MigrateAttachments.php
@@ -125,4 +125,4 @@ class MigrateAttachments extends Command
{
app('fireflyconfig')->set(self::CONFIG_NAME, true);
}
-}
\ No newline at end of file
+}
diff --git a/app/Console/Commands/Upgrade/MigrateJournalNotes.php b/app/Console/Commands/Upgrade/MigrateJournalNotes.php
index 5b29cf5593..a35d7ec3fe 100644
--- a/app/Console/Commands/Upgrade/MigrateJournalNotes.php
+++ b/app/Console/Commands/Upgrade/MigrateJournalNotes.php
@@ -124,4 +124,4 @@ class MigrateJournalNotes extends Command
{
app('fireflyconfig')->set(self::CONFIG_NAME, true);
}
-}
\ No newline at end of file
+}
diff --git a/app/Console/Commands/Upgrade/MigrateToGroups.php b/app/Console/Commands/Upgrade/MigrateToGroups.php
index a60445aab5..1e68495bfb 100644
--- a/app/Console/Commands/Upgrade/MigrateToGroups.php
+++ b/app/Console/Commands/Upgrade/MigrateToGroups.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* MigrateToGroups.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Upgrade/MigrateToRules.php b/app/Console/Commands/Upgrade/MigrateToRules.php
index 880dcaab3e..0c35eb769b 100644
--- a/app/Console/Commands/Upgrade/MigrateToRules.php
+++ b/app/Console/Commands/Upgrade/MigrateToRules.php
@@ -246,4 +246,4 @@ class MigrateToRules extends Command
$this->billRepository->update($bill, $newBillData);
$this->count++;
}
-}
\ No newline at end of file
+}
diff --git a/app/Console/Commands/Upgrade/OtherCurrenciesCorrections.php b/app/Console/Commands/Upgrade/OtherCurrenciesCorrections.php
index 924e173d09..fd0b68e95e 100644
--- a/app/Console/Commands/Upgrade/OtherCurrenciesCorrections.php
+++ b/app/Console/Commands/Upgrade/OtherCurrenciesCorrections.php
@@ -283,4 +283,4 @@ class OtherCurrenciesCorrections extends Command
return $lead;
}
-}
\ No newline at end of file
+}
diff --git a/app/Console/Commands/Upgrade/RenameAccountMeta.php b/app/Console/Commands/Upgrade/RenameAccountMeta.php
index 8d99cd552c..f96282038a 100644
--- a/app/Console/Commands/Upgrade/RenameAccountMeta.php
+++ b/app/Console/Commands/Upgrade/RenameAccountMeta.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* RenameAccountMeta.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Upgrade/TransactionIdentifier.php b/app/Console/Commands/Upgrade/TransactionIdentifier.php
index f79545dc58..1066aad692 100644
--- a/app/Console/Commands/Upgrade/TransactionIdentifier.php
+++ b/app/Console/Commands/Upgrade/TransactionIdentifier.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* TransactionIdentifier.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.php b/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.php
index 45337e7e90..698408675d 100644
--- a/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.php
+++ b/app/Console/Commands/Upgrade/TransferCurrenciesCorrections.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* TransferCurrenciesCorrections.php
* Copyright (c) 2019 [email protected]
@@ -574,4 +575,4 @@ class TransferCurrenciesCorrections extends Command
return false;
}
-}
\ No newline at end of file
+}
diff --git a/app/Console/Commands/Upgrade/UpgradeDatabase.php b/app/Console/Commands/Upgrade/UpgradeDatabase.php
index 9fc806eeee..6592cff035 100644
--- a/app/Console/Commands/Upgrade/UpgradeDatabase.php
+++ b/app/Console/Commands/Upgrade/UpgradeDatabase.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* UpgradeDatabase.php
* Copyright (c) 2019 [email protected]
diff --git a/app/Exceptions/GracefulNotFoundHandler.php b/app/Exceptions/GracefulNotFoundHandler.php
index 87c50ca1c7..9edf953f3f 100644
--- a/app/Exceptions/GracefulNotFoundHandler.php
+++ b/app/Exceptions/GracefulNotFoundHandler.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* GracefulNotFoundHandler.php
* Copyright (c) 2019 [email protected]
@@ -223,4 +224,4 @@ class GracefulNotFoundHandler extends ExceptionHandler
}
-}
\ No newline at end of file
+}
diff --git a/app/Factory/TransactionGroupFactory.php b/app/Factory/TransactionGroupFactory.php
index f99278a20a..35630eed7d 100644
--- a/app/Factory/TransactionGroupFactory.php
+++ b/app/Factory/TransactionGroupFactory.php
@@ -77,4 +77,4 @@ class TransactionGroupFactory
{
$this->user = $user;
}
-}
\ No newline at end of file
+}
diff --git a/app/Helpers/Collector/GroupCollector.php b/app/Helpers/Collector/GroupCollector.php
index ee35686a91..0169f06b43 100644
--- a/app/Helpers/Collector/GroupCollector.php
+++ b/app/Helpers/Collector/GroupCollector.php
@@ -1088,4 +1088,4 @@ class GroupCollector implements GroupCollectorInterface
return $this;
}
-}
\ No newline at end of file
+}
diff --git a/app/Helpers/Collector/GroupCollectorInterface.php b/app/Helpers/Collector/GroupCollectorInterface.php
index e573a6f9a0..eb335f2631 100644
--- a/app/Helpers/Collector/GroupCollectorInterface.php
+++ b/app/Helpers/Collector/GroupCollectorInterface.php
@@ -376,4 +376,4 @@ interface GroupCollectorInterface
*/
public function withCategoryInformation(): GroupCollectorInterface;
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/Category/CreateController.php b/app/Http/Controllers/Category/CreateController.php
index f0cfb0a21a..d734fb23b7 100644
--- a/app/Http/Controllers/Category/CreateController.php
+++ b/app/Http/Controllers/Category/CreateController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* CreateController.php
* Copyright (c) 2019 [email protected]
@@ -100,4 +101,4 @@ class CreateController extends Controller
return $redirect;
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/Category/DeleteController.php b/app/Http/Controllers/Category/DeleteController.php
index 44cd8773c6..a07d44822b 100644
--- a/app/Http/Controllers/Category/DeleteController.php
+++ b/app/Http/Controllers/Category/DeleteController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DeleteController.php
* Copyright (c) 2019 [email protected]
@@ -89,4 +90,4 @@ class DeleteController extends Controller
return redirect($this->getPreviousUri('categories.delete.uri'));
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/Category/EditController.php b/app/Http/Controllers/Category/EditController.php
index 76991b0369..a9dd6cf37d 100644
--- a/app/Http/Controllers/Category/EditController.php
+++ b/app/Http/Controllers/Category/EditController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* EditController.php
* Copyright (c) 2019 [email protected]
@@ -106,4 +107,4 @@ class EditController extends Controller
return $redirect;
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/Category/IndexController.php b/app/Http/Controllers/Category/IndexController.php
index cd39646a2c..037f80b5eb 100644
--- a/app/Http/Controllers/Category/IndexController.php
+++ b/app/Http/Controllers/Category/IndexController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* IndexController.php
* Copyright (c) 2019 [email protected]
@@ -86,4 +87,4 @@ class IndexController extends Controller
return view('categories.index', compact('categories'));
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/Json/RuleController.php b/app/Http/Controllers/Json/RuleController.php
index 1b6ebdd80b..dd7a2f8245 100644
--- a/app/Http/Controllers/Json/RuleController.php
+++ b/app/Http/Controllers/Json/RuleController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* RuleController.php
* Copyright (c) 2019 [email protected]
@@ -93,4 +94,4 @@ class RuleController extends Controller
return response()->json(['html' => $view]);
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/Report/BillController.php b/app/Http/Controllers/Report/BillController.php
index a028bff7a4..939b35f447 100644
--- a/app/Http/Controllers/Report/BillController.php
+++ b/app/Http/Controllers/Report/BillController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* BillController.php
* Copyright (c) 2019 [email protected]
@@ -70,4 +71,4 @@ class BillController extends Controller
return $result;
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/RuleGroup/CreateController.php b/app/Http/Controllers/RuleGroup/CreateController.php
index ddf41a733e..b43bff8ea8 100644
--- a/app/Http/Controllers/RuleGroup/CreateController.php
+++ b/app/Http/Controllers/RuleGroup/CreateController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* CreateController.php
* Copyright (c) 2019 [email protected]
@@ -99,4 +100,4 @@ class CreateController extends Controller
return $redirect;
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/RuleGroup/DeleteController.php b/app/Http/Controllers/RuleGroup/DeleteController.php
index 1c0afeb52b..19651ef127 100644
--- a/app/Http/Controllers/RuleGroup/DeleteController.php
+++ b/app/Http/Controllers/RuleGroup/DeleteController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DeleteController.php
* Copyright (c) 2019 [email protected]
@@ -95,4 +96,4 @@ class DeleteController extends Controller
return redirect($this->getPreviousUri('rule-groups.delete.uri'));
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/RuleGroup/EditController.php b/app/Http/Controllers/RuleGroup/EditController.php
index dfe0191bb1..aa80339d50 100644
--- a/app/Http/Controllers/RuleGroup/EditController.php
+++ b/app/Http/Controllers/RuleGroup/EditController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* EditController.php
* Copyright (c) 2019 [email protected]
@@ -146,4 +147,4 @@ class EditController extends Controller
return $redirect;
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/RuleGroup/ExecutionController.php b/app/Http/Controllers/RuleGroup/ExecutionController.php
index 747a7328d9..c3a9fabafb 100644
--- a/app/Http/Controllers/RuleGroup/ExecutionController.php
+++ b/app/Http/Controllers/RuleGroup/ExecutionController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* ExecutionController.php
* Copyright (c) 2019 [email protected]
@@ -133,4 +134,4 @@ class ExecutionController extends Controller
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/Transaction/CreateController.php b/app/Http/Controllers/Transaction/CreateController.php
index c91a82d9d8..5b5e5681dc 100644
--- a/app/Http/Controllers/Transaction/CreateController.php
+++ b/app/Http/Controllers/Transaction/CreateController.php
@@ -88,4 +88,4 @@ class CreateController extends Controller
)
);
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/Transaction/DeleteController.php b/app/Http/Controllers/Transaction/DeleteController.php
index a606421734..205575e229 100644
--- a/app/Http/Controllers/Transaction/DeleteController.php
+++ b/app/Http/Controllers/Transaction/DeleteController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DeleteController.php
* Copyright (c) 2019 [email protected]
@@ -119,4 +120,4 @@ class DeleteController extends Controller
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/Transaction/EditController.php b/app/Http/Controllers/Transaction/EditController.php
index f877939270..0528ae51d7 100644
--- a/app/Http/Controllers/Transaction/EditController.php
+++ b/app/Http/Controllers/Transaction/EditController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* EditController.php
* Copyright (c) 2019 [email protected]
@@ -82,4 +83,4 @@ class EditController extends Controller
return view('transactions.edit', compact('cash', 'transactionGroup', 'allowedOpposingTypes', 'accountToTypes', 'defaultCurrency', 'previousUri'));
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/Transaction/IndexController.php b/app/Http/Controllers/Transaction/IndexController.php
index 466ba01f71..251d01d124 100644
--- a/app/Http/Controllers/Transaction/IndexController.php
+++ b/app/Http/Controllers/Transaction/IndexController.php
@@ -153,4 +153,4 @@ class IndexController extends Controller
return view('transactions.index', compact('subTitle', 'objectType', 'subTitleIcon', 'groups', 'start', 'end'));
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Controllers/Transaction/ShowController.php b/app/Http/Controllers/Transaction/ShowController.php
index 80b9240914..82f00f9987 100644
--- a/app/Http/Controllers/Transaction/ShowController.php
+++ b/app/Http/Controllers/Transaction/ShowController.php
@@ -128,4 +128,4 @@ class ShowController extends Controller
return $amounts;
}
-}
\ No newline at end of file
+}
diff --git a/app/Http/Middleware/InterestingMessage.php b/app/Http/Middleware/InterestingMessage.php
index 6f7f97ee14..0a3a854671 100644
--- a/app/Http/Middleware/InterestingMessage.php
+++ b/app/Http/Middleware/InterestingMessage.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* InterestingMessage.php
* Copyright (c) 2019 [email protected]
@@ -116,4 +117,4 @@ class InterestingMessage
// ignore middleware in test environment.
return 'testing' === config('app.env') || !auth()->check();
}
-}
\ No newline at end of file
+}
diff --git a/app/Repositories/Journal/JournalAPIRepository.php b/app/Repositories/Journal/JournalAPIRepository.php
index 0539760db0..1dccb71327 100644
--- a/app/Repositories/Journal/JournalAPIRepository.php
+++ b/app/Repositories/Journal/JournalAPIRepository.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* JournalAPIRepository.php
* Copyright (c) 2019 [email protected]
@@ -102,4 +103,4 @@ class JournalAPIRepository implements JournalAPIRepositoryInterface
{
$this->user = $user;
}
-}
\ No newline at end of file
+}
diff --git a/app/Repositories/Journal/JournalAPIRepositoryInterface.php b/app/Repositories/Journal/JournalAPIRepositoryInterface.php
index db85122487..1c1c597dae 100644
--- a/app/Repositories/Journal/JournalAPIRepositoryInterface.php
+++ b/app/Repositories/Journal/JournalAPIRepositoryInterface.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* JournalAPIRepositoryInterface.php
* Copyright (c) 2019 [email protected]
@@ -62,4 +63,4 @@ interface JournalAPIRepositoryInterface
* @param User $user
*/
public function setUser(User $user);
-}
\ No newline at end of file
+}
diff --git a/app/Repositories/Journal/JournalCLIRepository.php b/app/Repositories/Journal/JournalCLIRepository.php
index 9b3452625d..a965211466 100644
--- a/app/Repositories/Journal/JournalCLIRepository.php
+++ b/app/Repositories/Journal/JournalCLIRepository.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* JournalCLIRepository.php
* Copyright (c) 2019 [email protected]
@@ -272,4 +273,4 @@ class JournalCLIRepository implements JournalCLIRepositoryInterface
{
$this->user = $user;
}
-}
\ No newline at end of file
+}
diff --git a/app/Repositories/Journal/JournalCLIRepositoryInterface.php b/app/Repositories/Journal/JournalCLIRepositoryInterface.php
index 34ffc7852b..3027a7d1c6 100644
--- a/app/Repositories/Journal/JournalCLIRepositoryInterface.php
+++ b/app/Repositories/Journal/JournalCLIRepositoryInterface.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* JournalCLIRepositoryInterface.php
* Copyright (c) 2019 [email protected]
@@ -116,4 +117,4 @@ interface JournalCLIRepositoryInterface
*/
public function getJournalCategoryId(TransactionJournal $journal): int;
-}
\ No newline at end of file
+}
diff --git a/app/Repositories/TransactionGroup/TransactionGroupRepository.php b/app/Repositories/TransactionGroup/TransactionGroupRepository.php
index 18bb3bcbf9..78ae1eb5ea 100644
--- a/app/Repositories/TransactionGroup/TransactionGroupRepository.php
+++ b/app/Repositories/TransactionGroup/TransactionGroupRepository.php
@@ -373,4 +373,4 @@ class TransactionGroupRepository implements TransactionGroupRepositoryInterfac
$service = new TransactionGroupDestroyService;
$service->destroy($group);
}
-}
\ No newline at end of file
+}
diff --git a/app/Repositories/TransactionGroup/TransactionGroupRepositoryInterface.php b/app/Repositories/TransactionGroup/TransactionGroupRepositoryInterface.php
index b47713dd43..2055726702 100644
--- a/app/Repositories/TransactionGroup/TransactionGroupRepositoryInterface.php
+++ b/app/Repositories/TransactionGroup/TransactionGroupRepositoryInterface.php
@@ -130,4 +130,4 @@ interface TransactionGroupRepositoryInterface
*/
public function update(TransactionGroup $transactionGroup, array $data): TransactionGroup;
-}
\ No newline at end of file
+}
diff --git a/app/Repositories/TransactionType/TransactionTypeRepository.php b/app/Repositories/TransactionType/TransactionTypeRepository.php
index 0e139c6787..c325ae104a 100644
--- a/app/Repositories/TransactionType/TransactionTypeRepository.php
+++ b/app/Repositories/TransactionType/TransactionTypeRepository.php
@@ -81,4 +81,4 @@ class TransactionTypeRepository implements TransactionTypeRepositoryInterface
return TransactionType::where('type', 'LIKE', sprintf('%%%s%%', $query))->get();
}
-}
\ No newline at end of file
+}
diff --git a/app/Repositories/TransactionType/TransactionTypeRepositoryInterface.php b/app/Repositories/TransactionType/TransactionTypeRepositoryInterface.php
index 0300889cf5..b8332bfa7d 100644
--- a/app/Repositories/TransactionType/TransactionTypeRepositoryInterface.php
+++ b/app/Repositories/TransactionType/TransactionTypeRepositoryInterface.php
@@ -51,4 +51,4 @@ interface TransactionTypeRepositoryInterface
* @return Collection
*/
public function searchTypes(string $query): Collection;
-}
\ No newline at end of file
+}
diff --git a/app/Services/Internal/Destroy/TransactionGroupDestroyService.php b/app/Services/Internal/Destroy/TransactionGroupDestroyService.php
index e45ef99259..44cc335255 100644
--- a/app/Services/Internal/Destroy/TransactionGroupDestroyService.php
+++ b/app/Services/Internal/Destroy/TransactionGroupDestroyService.php
@@ -50,4 +50,4 @@ class TransactionGroupDestroyService
}
}
-}
\ No newline at end of file
+}
diff --git a/app/Services/Internal/Update/GroupUpdateService.php b/app/Services/Internal/Update/GroupUpdateService.php
index a6658b2195..129e55df89 100644
--- a/app/Services/Internal/Update/GroupUpdateService.php
+++ b/app/Services/Internal/Update/GroupUpdateService.php
@@ -165,4 +165,4 @@ class GroupUpdateService
$updateService->update();
}
-}
\ No newline at end of file
+}
diff --git a/app/Services/Password/PwndVerifierV3.php b/app/Services/Password/PwndVerifierV3.php
index 833c86872e..96d5fadf88 100644
--- a/app/Services/Password/PwndVerifierV3.php
+++ b/app/Services/Password/PwndVerifierV3.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* PwndVerifierV3.php
* Copyright (c) 2019 [email protected]
@@ -89,4 +90,4 @@ class PwndVerifierV3 implements Verifier
Log::debug(sprintf('Found %s, so return FALSE.', $rest));
return false;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Chart/Category/WholePeriodChartGenerator.php b/app/Support/Chart/Category/WholePeriodChartGenerator.php
index fed2283eea..dc3518616b 100644
--- a/app/Support/Chart/Category/WholePeriodChartGenerator.php
+++ b/app/Support/Chart/Category/WholePeriodChartGenerator.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* WholePeriodChartGenerator.php
* Copyright (c) 2019 [email protected]
@@ -163,4 +164,4 @@ class WholePeriodChartGenerator
return $return;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Form/AccountForm.php b/app/Support/Form/AccountForm.php
index 2e482f1f2d..75ee52d1b3 100644
--- a/app/Support/Form/AccountForm.php
+++ b/app/Support/Form/AccountForm.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* AccountForm.php
* Copyright (c) 2019 [email protected]
@@ -323,4 +324,4 @@ class AccountForm
return $this->select($name, $grouped, $value, $options);
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Form/CurrencyForm.php b/app/Support/Form/CurrencyForm.php
index 268cd04221..60dff2f040 100644
--- a/app/Support/Form/CurrencyForm.php
+++ b/app/Support/Form/CurrencyForm.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* CurrencyForm.php
* Copyright (c) 2019 [email protected]
@@ -224,4 +225,4 @@ class CurrencyForm
return $this->currencyField($name, 'amount', $value, $options);
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Form/FormSupport.php b/app/Support/Form/FormSupport.php
index 947c7374e1..9a10ddeaed 100644
--- a/app/Support/Form/FormSupport.php
+++ b/app/Support/Form/FormSupport.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* FormSupport.php
* Copyright (c) 2019 [email protected]
@@ -169,4 +170,4 @@ trait FormSupport
return (string)trans('form.' . $name);
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Form/PiggyBankForm.php b/app/Support/Form/PiggyBankForm.php
index 40bf878201..e899d953b3 100644
--- a/app/Support/Form/PiggyBankForm.php
+++ b/app/Support/Form/PiggyBankForm.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* PiggyBankForm.php
* Copyright (c) 2019 [email protected]
@@ -60,4 +61,4 @@ class PiggyBankForm
return $this->select($name, $array, $value, $options);
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Form/RuleForm.php b/app/Support/Form/RuleForm.php
index 1cf57d9c16..2851b36581 100644
--- a/app/Support/Form/RuleForm.php
+++ b/app/Support/Form/RuleForm.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* RuleForm.php
* Copyright (c) 2019 [email protected]
@@ -85,4 +86,4 @@ class RuleForm
return Form::select($name, $array, $value, $options);
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Http/Api/ApiSupport.php b/app/Support/Http/Api/ApiSupport.php
index 544a5fb22a..4f7db333cc 100644
--- a/app/Support/Http/Api/ApiSupport.php
+++ b/app/Support/Http/Api/ApiSupport.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* ApiSupport.php
* Copyright (c) 2019 [email protected]
@@ -64,4 +65,4 @@ trait ApiSupport
return $return;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/NullArrayObject.php b/app/Support/NullArrayObject.php
index a7d9fe98b1..eaa7978555 100644
--- a/app/Support/NullArrayObject.php
+++ b/app/Support/NullArrayObject.php
@@ -59,4 +59,4 @@ class NullArrayObject extends ArrayObject
return null;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Twig/TransactionGroupTwig.php b/app/Support/Twig/TransactionGroupTwig.php
index 2b634f53c4..4d1c91238e 100644
--- a/app/Support/Twig/TransactionGroupTwig.php
+++ b/app/Support/Twig/TransactionGroupTwig.php
@@ -330,4 +330,4 @@ class TransactionGroupTwig extends Twig_Extension
return null !== $first->foreign_amount;
}
-}
\ No newline at end of file
+}
diff --git a/app/TransactionRules/Engine/RuleEngine.php b/app/TransactionRules/Engine/RuleEngine.php
index 170c73c371..537322de1c 100644
--- a/app/TransactionRules/Engine/RuleEngine.php
+++ b/app/TransactionRules/Engine/RuleEngine.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* RuleEngine.php
* Copyright (c) 2019 [email protected]
@@ -229,4 +230,4 @@ class RuleEngine
return $validTrigger && ($this->allRules || in_array($rule->id, $this->rulesToApply, true));
}
-}
\ No newline at end of file
+}
diff --git a/app/Transformers/TransactionGroupTransformer.php b/app/Transformers/TransactionGroupTransformer.php
index 1248bb81f4..62cb133acd 100644
--- a/app/Transformers/TransactionGroupTransformer.php
+++ b/app/Transformers/TransactionGroupTransformer.php
@@ -360,4 +360,4 @@ class TransactionGroupTransformer extends AbstractTransformer
return $result;
}
-}
\ No newline at end of file
+}
diff --git a/app/Validation/AccountValidator.php b/app/Validation/AccountValidator.php
index 4f1a13f040..e9996aa9dc 100644
--- a/app/Validation/AccountValidator.php
+++ b/app/Validation/AccountValidator.php
@@ -614,4 +614,4 @@ class AccountValidator
}
-}
\ No newline at end of file
+}
diff --git a/config/google2fa.php b/config/google2fa.php
index c14832b761..1fb2eb584f 100644
--- a/config/google2fa.php
+++ b/config/google2fa.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
return [
diff --git a/config/ide-helper.php b/config/ide-helper.php
index 9eb1e27063..359c51a770 100644
--- a/config/ide-helper.php
+++ b/config/ide-helper.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
return array(
diff --git a/config/twigbridge.php b/config/twigbridge.php
index 8c1137f345..4665015956 100644
--- a/config/twigbridge.php
+++ b/config/twigbridge.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
diff --git a/database/migrations/2019_02_11_170529_changes_for_v4712.php b/database/migrations/2019_02_11_170529_changes_for_v4712.php
index 2ae6b437ab..fc50fedf0b 100644
--- a/database/migrations/2019_02_11_170529_changes_for_v4712.php
+++ b/database/migrations/2019_02_11_170529_changes_for_v4712.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
diff --git a/database/migrations/2019_03_11_223700_fix_ldap_configuration.php b/database/migrations/2019_03_11_223700_fix_ldap_configuration.php
index f1f5f04dd8..eae1fc10a0 100644
--- a/database/migrations/2019_03_11_223700_fix_ldap_configuration.php
+++ b/database/migrations/2019_03_11_223700_fix_ldap_configuration.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
diff --git a/database/migrations/2019_03_22_183214_changes_for_v480.php b/database/migrations/2019_03_22_183214_changes_for_v480.php
index 62f458f358..69266c5029 100644
--- a/database/migrations/2019_03_22_183214_changes_for_v480.php
+++ b/database/migrations/2019_03_22_183214_changes_for_v480.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
diff --git a/resources/views/v1/auth/mfa.twig b/resources/views/v1/auth/mfa.twig
index 4addb40104..a41655c71c 100644
--- a/resources/views/v1/auth/mfa.twig
+++ b/resources/views/v1/auth/mfa.twig
@@ -37,4 +37,4 @@
-{% endblock %}
\ No newline at end of file
+{% endblock %}
diff --git a/resources/views/v1/list/groups-tiny.twig b/resources/views/v1/list/groups-tiny.twig
index 5ca26c8112..90d5b0d79b 100644
--- a/resources/views/v1/list/groups-tiny.twig
+++ b/resources/views/v1/list/groups-tiny.twig
@@ -16,4 +16,4 @@
{% endif %}
</a>
{% endfor %}
-</div>
\ No newline at end of file
+</div>
diff --git a/resources/views/v1/list/journals-array-tiny.twig b/resources/views/v1/list/journals-array-tiny.twig
index f3fa763136..d01495d8cd 100644
--- a/resources/views/v1/list/journals-array-tiny.twig
+++ b/resources/views/v1/list/journals-array-tiny.twig
@@ -7,4 +7,4 @@
</span>
</a>
{% endfor %}
-</div>
\ No newline at end of file
+</div>
diff --git a/resources/views/v1/partials/journal-row.twig b/resources/views/v1/partials/journal-row.twig
index 6a041ad85b..9bd55d9c60 100644
--- a/resources/views/v1/partials/journal-row.twig
+++ b/resources/views/v1/partials/journal-row.twig
@@ -1 +1 @@
-<h1 style="color:red;">REPLACE ME</h1>
\ No newline at end of file
+<h1 style="color:red;">REPLACE ME</h1>
diff --git a/resources/views/v1/partials/transaction-row.twig b/resources/views/v1/partials/transaction-row.twig
index 6a041ad85b..9bd55d9c60 100644
--- a/resources/views/v1/partials/transaction-row.twig
+++ b/resources/views/v1/partials/transaction-row.twig
@@ -1 +1 @@
-<h1 style="color:red;">REPLACE ME</h1>
\ No newline at end of file
+<h1 style="color:red;">REPLACE ME</h1>
diff --git a/resources/views/v1/search/search.twig b/resources/views/v1/search/search.twig
index 5398c90e8d..5234c64dce 100644
--- a/resources/views/v1/search/search.twig
+++ b/resources/views/v1/search/search.twig
@@ -3,4 +3,4 @@
{{ trans('firefly.search_found_transactions', {count: transactions.count, time: searchTime}) }}
</p>
-{% include 'list.groups' %}
\ No newline at end of file
+{% include 'list.groups' %}
diff --git a/resources/views/v1/transactions/links/modal.twig b/resources/views/v1/transactions/links/modal.twig
index 3fc07d9ef2..ecd38eaf0f 100644
--- a/resources/views/v1/transactions/links/modal.twig
+++ b/resources/views/v1/transactions/links/modal.twig
@@ -49,4 +49,4 @@
</div>
</div>
</div>
-</form>
\ No newline at end of file
+</form>
diff --git a/tests/Api/V1/Controllers/Chart/AccountControllerTest.php b/tests/Api/V1/Controllers/Chart/AccountControllerTest.php
index 6af09b1a1a..993c99d907 100644
--- a/tests/Api/V1/Controllers/Chart/AccountControllerTest.php
+++ b/tests/Api/V1/Controllers/Chart/AccountControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* AccountControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -178,4 +179,4 @@ class AccountControllerTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Api/V1/Controllers/Chart/AvailableBudgetControllerTest.php b/tests/Api/V1/Controllers/Chart/AvailableBudgetControllerTest.php
index 73128554ed..027ca9f65a 100644
--- a/tests/Api/V1/Controllers/Chart/AvailableBudgetControllerTest.php
+++ b/tests/Api/V1/Controllers/Chart/AvailableBudgetControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* AvailableBudgetControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -118,4 +119,4 @@ class AvailableBudgetControllerTest extends TestCase
$response->assertStatus(200);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Api/V1/Controllers/Chart/CategoryControllerTest.php b/tests/Api/V1/Controllers/Chart/CategoryControllerTest.php
index e1fd5a08ce..07418b3bb0 100644
--- a/tests/Api/V1/Controllers/Chart/CategoryControllerTest.php
+++ b/tests/Api/V1/Controllers/Chart/CategoryControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* CategoryControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -119,4 +120,4 @@ class CategoryControllerTest extends TestCase
$response->assertStatus(200);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Api/V1/Controllers/SummaryControllerTest.php b/tests/Api/V1/Controllers/SummaryControllerTest.php
index 0131ab5b3d..4d59076eab 100644
--- a/tests/Api/V1/Controllers/SummaryControllerTest.php
+++ b/tests/Api/V1/Controllers/SummaryControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* SummaryControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -255,4 +256,4 @@ class SummaryControllerTest extends TestCase
$response->assertStatus(200);
// TODO AFTER 4.8,0: check if JSON is correct
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/Category/CreateControllerTest.php b/tests/Feature/Controllers/Category/CreateControllerTest.php
index 7051defe17..10663f0fb4 100644
--- a/tests/Feature/Controllers/Category/CreateControllerTest.php
+++ b/tests/Feature/Controllers/Category/CreateControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* CreateControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -91,4 +92,4 @@ class CreateControllerTest extends TestCase
$response->assertStatus(302);
$response->assertSessionHas('success');
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/Category/DeleteControllerTest.php b/tests/Feature/Controllers/Category/DeleteControllerTest.php
index adc370c5a3..39b4b735ee 100644
--- a/tests/Feature/Controllers/Category/DeleteControllerTest.php
+++ b/tests/Feature/Controllers/Category/DeleteControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DeleteControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -88,4 +89,4 @@ class DeleteControllerTest extends TestCase
$response->assertStatus(302);
$response->assertSessionHas('success');
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/Category/EditControllerTest.php b/tests/Feature/Controllers/Category/EditControllerTest.php
index f012cf925e..5504b640ee 100644
--- a/tests/Feature/Controllers/Category/EditControllerTest.php
+++ b/tests/Feature/Controllers/Category/EditControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* EditControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -98,4 +99,4 @@ class EditControllerTest extends TestCase
$response->assertStatus(302);
$response->assertSessionHas('success');
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/Category/IndexControllerTest.php b/tests/Feature/Controllers/Category/IndexControllerTest.php
index f6f0f03875..788022bae3 100644
--- a/tests/Feature/Controllers/Category/IndexControllerTest.php
+++ b/tests/Feature/Controllers/Category/IndexControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* IndexControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -79,4 +80,4 @@ class IndexControllerTest extends TestCase
// has bread crumb
$response->assertSee('<ol class="breadcrumb">');
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/RuleGroup/CreateControllerTest.php b/tests/Feature/Controllers/RuleGroup/CreateControllerTest.php
index d2ce60ca7e..4a87655be8 100644
--- a/tests/Feature/Controllers/RuleGroup/CreateControllerTest.php
+++ b/tests/Feature/Controllers/RuleGroup/CreateControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* CreateControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -91,4 +92,4 @@ class CreateControllerTest extends TestCase
$response->assertSessionHas('success');
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/RuleGroup/DeleteControllerTest.php b/tests/Feature/Controllers/RuleGroup/DeleteControllerTest.php
index b1f134f04f..51f5e48d47 100644
--- a/tests/Feature/Controllers/RuleGroup/DeleteControllerTest.php
+++ b/tests/Feature/Controllers/RuleGroup/DeleteControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DeleteControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -84,4 +85,4 @@ class DeleteControllerTest extends TestCase
$response->assertSessionHas('success');
$response->assertRedirect(route('index'));
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/RuleGroup/EditControllerTest.php b/tests/Feature/Controllers/RuleGroup/EditControllerTest.php
index 376845be23..8cfe9dd3ba 100644
--- a/tests/Feature/Controllers/RuleGroup/EditControllerTest.php
+++ b/tests/Feature/Controllers/RuleGroup/EditControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* EditControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -128,4 +129,4 @@ class EditControllerTest extends TestCase
$response->assertStatus(302);
$response->assertSessionHas('success');
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/RuleGroup/ExecutionControllerTest.php b/tests/Feature/Controllers/RuleGroup/ExecutionControllerTest.php
index b8991402a8..87932454b1 100644
--- a/tests/Feature/Controllers/RuleGroup/ExecutionControllerTest.php
+++ b/tests/Feature/Controllers/RuleGroup/ExecutionControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* ExecutionControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -104,4 +105,4 @@ class ExecutionControllerTest extends TestCase
$response->assertSee('<ol class="breadcrumb">');
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/Transaction/CreateControllerTest.php b/tests/Feature/Controllers/Transaction/CreateControllerTest.php
index 279ec37def..07d514fb6a 100644
--- a/tests/Feature/Controllers/Transaction/CreateControllerTest.php
+++ b/tests/Feature/Controllers/Transaction/CreateControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* CreateControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -70,4 +71,4 @@ class CreateControllerTest extends TestCase
$response = $this->get(route('transactions.create', ['withdrawal']));
$response->assertStatus(200);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/Transaction/EditControllerTest.php b/tests/Feature/Controllers/Transaction/EditControllerTest.php
index 214c83fd73..ba9f55ee36 100644
--- a/tests/Feature/Controllers/Transaction/EditControllerTest.php
+++ b/tests/Feature/Controllers/Transaction/EditControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* EditControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -57,4 +58,4 @@ class EditControllerTest extends TestCase
$response = $this->get(route('transactions.edit', [$group->id]));
$response->assertStatus(200);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/Transaction/IndexControllerTest.php b/tests/Feature/Controllers/Transaction/IndexControllerTest.php
index e071ff2ae9..223cfe1817 100644
--- a/tests/Feature/Controllers/Transaction/IndexControllerTest.php
+++ b/tests/Feature/Controllers/Transaction/IndexControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* IndexControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -220,4 +221,4 @@ class IndexControllerTest extends TestCase
$response->assertStatus(200);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Controllers/Transaction/ShowControllerTest.php b/tests/Feature/Controllers/Transaction/ShowControllerTest.php
index bfb50304e0..f47ec8d902 100644
--- a/tests/Feature/Controllers/Transaction/ShowControllerTest.php
+++ b/tests/Feature/Controllers/Transaction/ShowControllerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* ShowControllerTest.php
* Copyright (c) 2019 [email protected]
@@ -85,4 +86,4 @@ class ShowControllerTest extends TestCase
// has bread crumb
$response->assertSee('<ol class="breadcrumb">');
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Correction/CreateAccessTokensTest.php b/tests/Unit/Console/Commands/Correction/CreateAccessTokensTest.php
index a078c5dc9b..fa8952da3b 100644
--- a/tests/Unit/Console/Commands/Correction/CreateAccessTokensTest.php
+++ b/tests/Unit/Console/Commands/Correction/CreateAccessTokensTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* CorrectDatabaseTest.php
* Copyright (c) 2019 [email protected]
@@ -96,4 +97,4 @@ class CreateAccessTokensTest extends TestCase
->expectsOutput('All access tokens OK!')
->assertExitCode(0);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Correction/CreateLinkTypesTest.php b/tests/Unit/Console/Commands/Correction/CreateLinkTypesTest.php
index b69ab1c3d5..3e3130ed76 100644
--- a/tests/Unit/Console/Commands/Correction/CreateLinkTypesTest.php
+++ b/tests/Unit/Console/Commands/Correction/CreateLinkTypesTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* CreateLinkTypesTest.php
* Copyright (c) 2019 [email protected]
@@ -78,4 +79,4 @@ class CreateLinkTypesTest extends TestCase
$this->assertCount(4, LinkType::get());
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Correction/DeleteEmptyGroupsTest.php b/tests/Unit/Console/Commands/Correction/DeleteEmptyGroupsTest.php
index ae0503a32e..3749ee1350 100644
--- a/tests/Unit/Console/Commands/Correction/DeleteEmptyGroupsTest.php
+++ b/tests/Unit/Console/Commands/Correction/DeleteEmptyGroupsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DeleteEmptyGroupsTest.php
* Copyright (c) 2019 [email protected]
@@ -70,4 +71,4 @@ class DeleteEmptyGroupsTest extends TestCase
// should not be able to find it:
$this->assertCount(0, TransactionGroup::where('id', $group->id)->whereNull('deleted_at')->get());
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Correction/DeleteEmptyJournalsTest.php b/tests/Unit/Console/Commands/Correction/DeleteEmptyJournalsTest.php
index ae49907090..4a3cb0a10d 100644
--- a/tests/Unit/Console/Commands/Correction/DeleteEmptyJournalsTest.php
+++ b/tests/Unit/Console/Commands/Correction/DeleteEmptyJournalsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DeleteEmptyJournalsTest.php
* Copyright (c) 2019 [email protected]
@@ -120,4 +121,4 @@ class DeleteEmptyJournalsTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Correction/DeleteOrphanedTransactionsTest.php b/tests/Unit/Console/Commands/Correction/DeleteOrphanedTransactionsTest.php
index b65a790d38..2f0c2d7bd2 100644
--- a/tests/Unit/Console/Commands/Correction/DeleteOrphanedTransactionsTest.php
+++ b/tests/Unit/Console/Commands/Correction/DeleteOrphanedTransactionsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DeleteOrphanedTransactionsTest.php
* Copyright (c) 2019 [email protected]
@@ -144,4 +145,4 @@ class DeleteOrphanedTransactionsTest extends TestCase
$this->assertCount(0, TransactionJournal::where('id', $journal->id)->whereNull('deleted_at')->get());
$this->assertCount(0, Transaction::where('id', $transaction->id)->whereNull('deleted_at')->get());
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Correction/DeleteZeroAmountTest.php b/tests/Unit/Console/Commands/Correction/DeleteZeroAmountTest.php
index 9579862277..caaffe88b7 100644
--- a/tests/Unit/Console/Commands/Correction/DeleteZeroAmountTest.php
+++ b/tests/Unit/Console/Commands/Correction/DeleteZeroAmountTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DeleteZeroAmountTest.php
* Copyright (c) 2019 [email protected]
@@ -91,4 +92,4 @@ class DeleteZeroAmountTest extends TestCase
$this->assertCount(0, Transaction::where('id', $transaction->id)->whereNull('deleted_at')->get());
$this->assertCount(0, TransactionJournal::where('id', $journal->id)->whereNull('deleted_at')->get());
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Correction/EnableCurrenciesTest.php b/tests/Unit/Console/Commands/Correction/EnableCurrenciesTest.php
index ae7cc6b4d7..26aac5d725 100644
--- a/tests/Unit/Console/Commands/Correction/EnableCurrenciesTest.php
+++ b/tests/Unit/Console/Commands/Correction/EnableCurrenciesTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* EnableCurrenciesTest.php
* Copyright (c) 2019 [email protected]
@@ -82,4 +83,4 @@ class EnableCurrenciesTest extends TestCase
$this->assertCount($count + 1, TransactionCurrency::where('enabled', 1)->get());
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Correction/FixAccountTypesTest.php b/tests/Unit/Console/Commands/Correction/FixAccountTypesTest.php
index 79ed0a307e..fb1651f979 100644
--- a/tests/Unit/Console/Commands/Correction/FixAccountTypesTest.php
+++ b/tests/Unit/Console/Commands/Correction/FixAccountTypesTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* FixAccountTypesTest.php
* Copyright (c) 2019 [email protected]
@@ -371,4 +372,4 @@ class FixAccountTypesTest extends TestCase
$two->forceDelete();
$journal->forceDelete();
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Correction/FixPiggiesTest.php b/tests/Unit/Console/Commands/Correction/FixPiggiesTest.php
index 8ed2d97157..cac9f051e9 100644
--- a/tests/Unit/Console/Commands/Correction/FixPiggiesTest.php
+++ b/tests/Unit/Console/Commands/Correction/FixPiggiesTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* FixPiggiesTest.php
* Copyright (c) 2019 [email protected]
@@ -130,4 +131,4 @@ class FixPiggiesTest extends TestCase
$this->assertCount(0, PiggyBankEvent::where('id', $event->id)->where('transaction_journal_id', $transfer->id)->get());
$event->forceDelete();
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Correction/FixUnevenAmountTest.php b/tests/Unit/Console/Commands/Correction/FixUnevenAmountTest.php
index 553e5bd3b6..71d249e5f6 100644
--- a/tests/Unit/Console/Commands/Correction/FixUnevenAmountTest.php
+++ b/tests/Unit/Console/Commands/Correction/FixUnevenAmountTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* FixUnevenAmountTest.php
* Copyright (c) 2019 [email protected]
@@ -101,4 +102,4 @@ class FixUnevenAmountTest extends TestCase
$this->assertCount(1, Transaction::where('id', $two->id)->where('amount', '10')->get());
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Correction/RemoveBillsTest.php b/tests/Unit/Console/Commands/Correction/RemoveBillsTest.php
index d7b260de29..8fbfeeaed8 100644
--- a/tests/Unit/Console/Commands/Correction/RemoveBillsTest.php
+++ b/tests/Unit/Console/Commands/Correction/RemoveBillsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* RemoveBillsTest.php
* Copyright (c) 2019 [email protected]
@@ -75,4 +76,4 @@ class RemoveBillsTest extends TestCase
// verify change
$this->assertCount(0, TransactionJournal::where('id', $journal->id)->whereNotNull('bill_id')->get());
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Correction/RenameMetaFieldsTest.php b/tests/Unit/Console/Commands/Correction/RenameMetaFieldsTest.php
index 1d180e196a..449829ada2 100644
--- a/tests/Unit/Console/Commands/Correction/RenameMetaFieldsTest.php
+++ b/tests/Unit/Console/Commands/Correction/RenameMetaFieldsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* RenameMetaFieldsTest.php
* Copyright (c) 2019 [email protected]
@@ -76,4 +77,4 @@ class RenameMetaFieldsTest extends TestCase
$this->assertCount(1, TransactionJournalMeta::where('id', $entry->id)->where('name', 'import_hash_v2')->get());
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Correction/TransferBudgetsTest.php b/tests/Unit/Console/Commands/Correction/TransferBudgetsTest.php
index af287310a3..6e03a7f5a8 100644
--- a/tests/Unit/Console/Commands/Correction/TransferBudgetsTest.php
+++ b/tests/Unit/Console/Commands/Correction/TransferBudgetsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* TransferBudgetsTest.php
* Copyright (c) 2019 [email protected]
@@ -71,4 +72,4 @@ class TransferBudgetsTest extends TestCase
$this->assertCount(0, $deposit->budgets()->get());
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/DecryptDatabaseTest.php b/tests/Unit/Console/Commands/DecryptDatabaseTest.php
index 9264a3eba9..1c08ee1b07 100644
--- a/tests/Unit/Console/Commands/DecryptDatabaseTest.php
+++ b/tests/Unit/Console/Commands/DecryptDatabaseTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* DecryptDatabaseTest.php
* Copyright (c) 2019 [email protected]
@@ -139,4 +140,4 @@ class DecryptDatabaseTest extends TestCase
$this->assertCount(1, Account::where('id', $account->id)->where('iban', $iban)->get());
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Import/CreateCSVImportTest.php b/tests/Unit/Console/Commands/Import/CreateCSVImportTest.php
index 3570525eea..bbd3e66ae2 100644
--- a/tests/Unit/Console/Commands/Import/CreateCSVImportTest.php
+++ b/tests/Unit/Console/Commands/Import/CreateCSVImportTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* CreateCSVImportTest.php
* Copyright (c) 2019 [email protected]
@@ -433,4 +434,4 @@ class CreateCSVImportTest extends TestCase
// this method imports nothing so there is nothing to verify.
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Integrity/ReportEmptyObjectsTest.php b/tests/Unit/Console/Commands/Integrity/ReportEmptyObjectsTest.php
index e92ce512b9..bf38d86291 100644
--- a/tests/Unit/Console/Commands/Integrity/ReportEmptyObjectsTest.php
+++ b/tests/Unit/Console/Commands/Integrity/ReportEmptyObjectsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* ReportEmptyObjectsTest.php
* Copyright (c) 2019 [email protected]
@@ -148,4 +149,4 @@ class ReportEmptyObjectsTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Integrity/ReportSumTest.php b/tests/Unit/Console/Commands/Integrity/ReportSumTest.php
index 84803c599b..df58cfc401 100644
--- a/tests/Unit/Console/Commands/Integrity/ReportSumTest.php
+++ b/tests/Unit/Console/Commands/Integrity/ReportSumTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* ReportSumTest.php
* Copyright (c) 2019 [email protected]
@@ -85,4 +86,4 @@ class ReportSumTest extends TestCase
// this method changes no objects so there is nothing to verify.
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Tools/ApplyRulesTest.php b/tests/Unit/Console/Commands/Tools/ApplyRulesTest.php
index 6f37a3052c..2261d017b1 100644
--- a/tests/Unit/Console/Commands/Tools/ApplyRulesTest.php
+++ b/tests/Unit/Console/Commands/Tools/ApplyRulesTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* ApplyRulesTest.php
* Copyright (c) 2019 [email protected]
@@ -463,4 +464,4 @@ class ApplyRulesTest extends TestCase
->assertExitCode(1);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Upgrade/AccountCurrenciesTest.php b/tests/Unit/Console/Commands/Upgrade/AccountCurrenciesTest.php
index 18d79848fc..45d50ad47d 100644
--- a/tests/Unit/Console/Commands/Upgrade/AccountCurrenciesTest.php
+++ b/tests/Unit/Console/Commands/Upgrade/AccountCurrenciesTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* AccountCurrenciesTest.php
* Copyright (c) 2019 [email protected]
@@ -350,4 +351,4 @@ class AccountCurrenciesTest extends TestCase
->assertExitCode(0);
// nothing changed, so nothing to verify.
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Upgrade/BackToJournalsTest.php b/tests/Unit/Console/Commands/Upgrade/BackToJournalsTest.php
index ab0fbcafe8..4d15782ed3 100644
--- a/tests/Unit/Console/Commands/Upgrade/BackToJournalsTest.php
+++ b/tests/Unit/Console/Commands/Upgrade/BackToJournalsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* BackToJournalsTest.php
* Copyright (c) 2019 [email protected]
@@ -244,4 +245,4 @@ class BackToJournalsTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Upgrade/BudgetLimitCurrencyTest.php b/tests/Unit/Console/Commands/Upgrade/BudgetLimitCurrencyTest.php
index 0eb3e613c5..b4ed731906 100644
--- a/tests/Unit/Console/Commands/Upgrade/BudgetLimitCurrencyTest.php
+++ b/tests/Unit/Console/Commands/Upgrade/BudgetLimitCurrencyTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* BudgetLimitCurrencyTest.php
* Copyright (c) 2019 [email protected]
@@ -97,4 +98,4 @@ class BudgetLimitCurrencyTest extends TestCase
// assume currency is filled in.
$this->assertCount(1, BudgetLimit::where('id', $limit->id)->where('transaction_currency_id', 1)->get());
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Upgrade/CCLiabilitiesTest.php b/tests/Unit/Console/Commands/Upgrade/CCLiabilitiesTest.php
index 6d91da0513..e7a78ca7bb 100644
--- a/tests/Unit/Console/Commands/Upgrade/CCLiabilitiesTest.php
+++ b/tests/Unit/Console/Commands/Upgrade/CCLiabilitiesTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* CCLiabilitiesTest.php
* Copyright (c) 2019 [email protected]
@@ -129,4 +130,4 @@ class CCLiabilitiesTest extends TestCase
$type->forceDelete();
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Upgrade/MigrateAttachmentsTest.php b/tests/Unit/Console/Commands/Upgrade/MigrateAttachmentsTest.php
index c50bdaea37..9d91bdf732 100644
--- a/tests/Unit/Console/Commands/Upgrade/MigrateAttachmentsTest.php
+++ b/tests/Unit/Console/Commands/Upgrade/MigrateAttachmentsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* MigrateAttachmentsTest.php
* Copyright (c) 2019 [email protected]
@@ -96,4 +97,4 @@ class MigrateAttachmentsTest extends TestCase
$attachment->forceDelete();
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Upgrade/MigrateJournalNotesTest.php b/tests/Unit/Console/Commands/Upgrade/MigrateJournalNotesTest.php
index 4da35a5a62..8638b86077 100644
--- a/tests/Unit/Console/Commands/Upgrade/MigrateJournalNotesTest.php
+++ b/tests/Unit/Console/Commands/Upgrade/MigrateJournalNotesTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* MigrateJournalNotesTest.php
* Copyright (c) 2019 [email protected]
@@ -98,4 +99,4 @@ class MigrateJournalNotesTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Upgrade/MigrateToGroupsTest.php b/tests/Unit/Console/Commands/Upgrade/MigrateToGroupsTest.php
index 4fb216a5e6..8f9db22756 100644
--- a/tests/Unit/Console/Commands/Upgrade/MigrateToGroupsTest.php
+++ b/tests/Unit/Console/Commands/Upgrade/MigrateToGroupsTest.php
@@ -258,4 +258,4 @@ class MigrateToGroupsTest extends TestCase
// the calls above let me know it's OK.
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Upgrade/MigrateToRulesTest.php b/tests/Unit/Console/Commands/Upgrade/MigrateToRulesTest.php
index 3d6a46da0d..145525c01f 100644
--- a/tests/Unit/Console/Commands/Upgrade/MigrateToRulesTest.php
+++ b/tests/Unit/Console/Commands/Upgrade/MigrateToRulesTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* MigrateToRulesTest.php
* Copyright (c) 2019 [email protected]
@@ -322,4 +323,4 @@ class MigrateToRulesTest extends TestCase
->assertExitCode(0);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Upgrade/OtherCurrenciesCorrectionsTest.php b/tests/Unit/Console/Commands/Upgrade/OtherCurrenciesCorrectionsTest.php
index 0b70bb94d5..d26fd087a3 100644
--- a/tests/Unit/Console/Commands/Upgrade/OtherCurrenciesCorrectionsTest.php
+++ b/tests/Unit/Console/Commands/Upgrade/OtherCurrenciesCorrectionsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* OtherCurrenciesCorrectionsTest.php
* Copyright (c) 2019 [email protected]
@@ -270,4 +271,4 @@ class OtherCurrenciesCorrectionsTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Upgrade/RenameAccountMetaTest.php b/tests/Unit/Console/Commands/Upgrade/RenameAccountMetaTest.php
index d22a22f9a0..957eabfc12 100644
--- a/tests/Unit/Console/Commands/Upgrade/RenameAccountMetaTest.php
+++ b/tests/Unit/Console/Commands/Upgrade/RenameAccountMetaTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* RenameAccountMetaTest.php
* Copyright (c) 2019 [email protected]
@@ -100,4 +101,4 @@ class RenameAccountMetaTest extends TestCase
$meta->forceDelete();
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Upgrade/TransactionIdentifierTest.php b/tests/Unit/Console/Commands/Upgrade/TransactionIdentifierTest.php
index 467297debf..8fee32f112 100644
--- a/tests/Unit/Console/Commands/Upgrade/TransactionIdentifierTest.php
+++ b/tests/Unit/Console/Commands/Upgrade/TransactionIdentifierTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* TransactionIdentifierTest.php
* Copyright (c) 2019 [email protected]
@@ -153,4 +154,4 @@ class TransactionIdentifierTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Console/Commands/Upgrade/TransferCurrenciesCorrectionsTest.php b/tests/Unit/Console/Commands/Upgrade/TransferCurrenciesCorrectionsTest.php
index 500a10109b..29a6a96fd8 100644
--- a/tests/Unit/Console/Commands/Upgrade/TransferCurrenciesCorrectionsTest.php
+++ b/tests/Unit/Console/Commands/Upgrade/TransferCurrenciesCorrectionsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* TransferCurrenciesCorrectionsTest.php
* Copyright (c) 2019 [email protected]
@@ -561,4 +562,4 @@ class TransferCurrenciesCorrectionsTest extends TestCase
$this->assertCount(1, Transaction::where('id', $destination->id)->where('transaction_currency_id', $euro->id)->get());
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Import/JobConfiguration/FinTSJobConfigurationTest.php b/tests/Unit/Import/JobConfiguration/FinTSJobConfigurationTest.php
index fd7ef5cf99..4579370084 100644
--- a/tests/Unit/Import/JobConfiguration/FinTSJobConfigurationTest.php
+++ b/tests/Unit/Import/JobConfiguration/FinTSJobConfigurationTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* FinTSJobConfigurationTest.php
* Copyright (c) 2019 [email protected]
@@ -167,4 +168,4 @@ class FinTSJobConfigurationTest extends TestCase
}
$this->assertEquals('import.fints.choose_account', $res);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Import/Routine/FinTSRoutineTest.php b/tests/Unit/Import/Routine/FinTSRoutineTest.php
index 4559701ef4..459693f734 100644
--- a/tests/Unit/Import/Routine/FinTSRoutineTest.php
+++ b/tests/Unit/Import/Routine/FinTSRoutineTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* FinTSRoutineTest.php
* Copyright (c) 2019 [email protected]
@@ -87,4 +88,4 @@ class FinTSRoutineTest extends TestCase
$this->assertTrue(false, $e->getMessage());
}
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Jobs/CreateRecurringTransactionsTest.php b/tests/Unit/Jobs/CreateRecurringTransactionsTest.php
index 4a43b9a592..e668be0707 100644
--- a/tests/Unit/Jobs/CreateRecurringTransactionsTest.php
+++ b/tests/Unit/Jobs/CreateRecurringTransactionsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* CreateRecurringTransactionsTest.php
* Copyright (c) 2019 [email protected]
@@ -584,4 +585,4 @@ class CreateRecurringTransactionsTest extends TestCase
$this->assertEquals(1, $job->submitted);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Rules/BelongsUserTest.php b/tests/Unit/Rules/BelongsUserTest.php
index a87dda1b04..bbdbbd217d 100644
--- a/tests/Unit/Rules/BelongsUserTest.php
+++ b/tests/Unit/Rules/BelongsUserTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* BelongsUserTest.php
* Copyright (c) 2019 [email protected]
@@ -346,4 +347,4 @@ class BelongsUserTest extends TestCase
}
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Rules/IsAssetAccountIdTest.php b/tests/Unit/Rules/IsAssetAccountIdTest.php
index 55a02c015c..08d80ccb1e 100644
--- a/tests/Unit/Rules/IsAssetAccountIdTest.php
+++ b/tests/Unit/Rules/IsAssetAccountIdTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* IsAssetAccountIdTest.php
* Copyright (c) 2019 [email protected]
@@ -83,4 +84,4 @@ class IsAssetAccountIdTest extends TestCase
$this->assertFalse($engine->passes($attribute, $value));
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Rules/IsBooleanTest.php b/tests/Unit/Rules/IsBooleanTest.php
index ccf0e18a0e..d1893653cb 100644
--- a/tests/Unit/Rules/IsBooleanTest.php
+++ b/tests/Unit/Rules/IsBooleanTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* IsBooleanTest.php
* Copyright (c) 2019 [email protected]
@@ -78,4 +79,4 @@ class IsBooleanTest extends TestCase
}
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Rules/IsDateOrTimeTest.php b/tests/Unit/Rules/IsDateOrTimeTest.php
index 0f81c96816..3ce5f7a180 100644
--- a/tests/Unit/Rules/IsDateOrTimeTest.php
+++ b/tests/Unit/Rules/IsDateOrTimeTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* IsDateOrTimeTest.php
* Copyright (c) 2019 [email protected]
@@ -74,4 +75,4 @@ class IsDateOrTimeTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Rules/IsValidAttachmentModelTest.php b/tests/Unit/Rules/IsValidAttachmentModelTest.php
index 527467294b..58ef28caaf 100644
--- a/tests/Unit/Rules/IsValidAttachmentModelTest.php
+++ b/tests/Unit/Rules/IsValidAttachmentModelTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* IsValidAttachmentModelTest.php
* Copyright (c) 2019 [email protected]
@@ -165,4 +166,4 @@ class IsValidAttachmentModelTest extends TestCase
$this->assertFalse($engine->passes($attribute, $value));
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Rules/UniqueIbanTest.php b/tests/Unit/Rules/UniqueIbanTest.php
index 40b9f0b5fc..0ddfbcb881 100644
--- a/tests/Unit/Rules/UniqueIbanTest.php
+++ b/tests/Unit/Rules/UniqueIbanTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* UniqueIbanTest.php
* Copyright (c) 2019 [email protected]
@@ -150,4 +151,4 @@ class UniqueIbanTest extends TestCase
$revenue->save();
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Support/Cronjobs/RecurringCronjobTest.php b/tests/Unit/Support/Cronjobs/RecurringCronjobTest.php
index 89a6b672fc..dd936a0e32 100644
--- a/tests/Unit/Support/Cronjobs/RecurringCronjobTest.php
+++ b/tests/Unit/Support/Cronjobs/RecurringCronjobTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* RecurringCronjobTest.php
* Copyright (c) 2019 [email protected]
@@ -142,4 +143,4 @@ class RecurringCronjobTest extends TestCase
$job->fire();
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Support/NavigationTest.php b/tests/Unit/Support/NavigationTest.php
index 7c9db89d72..5665f5d43e 100644
--- a/tests/Unit/Support/NavigationTest.php
+++ b/tests/Unit/Support/NavigationTest.php
@@ -318,4 +318,4 @@ class NavigationTest extends TestCase
$this->assertEquals($expected->format('Y-m-d H:i:s'), $result->format('Y-m-d H:i:s'));
}
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/TransactionRules/Actions/LinkToBillTest.php b/tests/Unit/TransactionRules/Actions/LinkToBillTest.php
index a805dbca96..e515a4d180 100644
--- a/tests/Unit/TransactionRules/Actions/LinkToBillTest.php
+++ b/tests/Unit/TransactionRules/Actions/LinkToBillTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* LinkToBillTest.php
* Copyright (c) 2019 [email protected]
@@ -95,4 +96,4 @@ class LinkToBillTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Unit/Transformers/TransactionGroupTransformerTest.php b/tests/Unit/Transformers/TransactionGroupTransformerTest.php
index 4e305ea225..c3905bfced 100644
--- a/tests/Unit/Transformers/TransactionGroupTransformerTest.php
+++ b/tests/Unit/Transformers/TransactionGroupTransformerTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* TransactionGroupTransformerTest.php
* Copyright (c) 2019 [email protected]
@@ -120,4 +121,4 @@ class TransactionGroupTransformerTest extends TestCase
$result = $transformer->transformObject($group);
}
-}
\ No newline at end of file
+}
diff --git a/webpack.mix.js b/webpack.mix.js
index 271a6fd2e8..9c043edcab 100644
--- a/webpack.mix.js
+++ b/webpack.mix.js
@@ -11,4 +11,4 @@ let mix = require('laravel-mix');
|
*/
-mix.js('resources/assets/js/app.js', 'public/v1/js');
\ No newline at end of file
+mix.js('resources/assets/js/app.js', 'public/v1/js');