Skip to content

Firefly III: a personal finances manager

Add newlines and strict types check.

James Coleb263120c8f67
diff --git a/app/Api/V1/Controllers/Insight/Expense/DateController.php b/app/Api/V1/Controllers/Insight/Expense/DateController.php
index 650e674fb9..ee47dd7b14 100644
--- a/app/Api/V1/Controllers/Insight/Expense/DateController.php
+++ b/app/Api/V1/Controllers/Insight/Expense/DateController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* DateController.php
* Copyright (c) 2020 [email protected]
@@ -127,4 +128,4 @@ class DateController extends Controller
return response()->json($tempData);
}
-}
\ No newline at end of file
+}
diff --git a/app/Api/V1/Controllers/Insight/Income/DateController.php b/app/Api/V1/Controllers/Insight/Income/DateController.php
index 5ae5b1eb8a..58cad852d2 100644
--- a/app/Api/V1/Controllers/Insight/Income/DateController.php
+++ b/app/Api/V1/Controllers/Insight/Income/DateController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* DateController.php
* Copyright (c) 2020 [email protected]
@@ -127,4 +128,4 @@ class DateController extends Controller
return response()->json($tempData);
}
-}
\ No newline at end of file
+}
diff --git a/app/Api/V1/Controllers/Webhook/CreateController.php b/app/Api/V1/Controllers/Webhook/CreateController.php
index d6413563fc..3de3ba88a6 100644
--- a/app/Api/V1/Controllers/Webhook/CreateController.php
+++ b/app/Api/V1/Controllers/Webhook/CreateController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* CreateController.php
* Copyright (c) 2020 [email protected]
@@ -76,4 +77,4 @@ class CreateController extends Controller
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', self::CONTENT_TYPE);
}
-}
\ No newline at end of file
+}
diff --git a/app/Api/V1/Controllers/Webhook/DeleteController.php b/app/Api/V1/Controllers/Webhook/DeleteController.php
index 2726b8b365..1edb050995 100644
--- a/app/Api/V1/Controllers/Webhook/DeleteController.php
+++ b/app/Api/V1/Controllers/Webhook/DeleteController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* DeleteController.php
* Copyright (c) 2020 [email protected]
@@ -71,4 +72,4 @@ class DeleteController extends Controller
}
-}
\ No newline at end of file
+}
diff --git a/app/Api/V1/Controllers/Webhook/EditController.php b/app/Api/V1/Controllers/Webhook/EditController.php
index 1347bea3a8..dcae942e05 100644
--- a/app/Api/V1/Controllers/Webhook/EditController.php
+++ b/app/Api/V1/Controllers/Webhook/EditController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* EditController.php
* Copyright (c) 2020 [email protected]
@@ -77,4 +78,4 @@ class EditController extends Controller
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', self::CONTENT_TYPE);
}
-}
\ No newline at end of file
+}
diff --git a/app/Api/V1/Controllers/Webhook/IndexController.php b/app/Api/V1/Controllers/Webhook/IndexController.php
index 30b4a9af0e..ddd98f15de 100644
--- a/app/Api/V1/Controllers/Webhook/IndexController.php
+++ b/app/Api/V1/Controllers/Webhook/IndexController.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* IndexController.php
* Copyright (c) 2020 [email protected]
@@ -84,4 +85,4 @@ class IndexController extends Controller
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', self::CONTENT_TYPE);
}
-}
\ No newline at end of file
+}
diff --git a/app/Api/V1/Requests/Webhook/CreateRequest.php b/app/Api/V1/Requests/Webhook/CreateRequest.php
index 5699b7626a..e0284f1667 100644
--- a/app/Api/V1/Requests/Webhook/CreateRequest.php
+++ b/app/Api/V1/Requests/Webhook/CreateRequest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* CreateRequest.php
* Copyright (c) 2020 [email protected]
@@ -80,4 +81,4 @@ class CreateRequest extends FormRequest
'url' => ['required', 'url', 'starts_with:https://', 'uniqueWebhook'],
];
}
-}
\ No newline at end of file
+}
diff --git a/app/Api/V1/Requests/Webhook/UpdateRequest.php b/app/Api/V1/Requests/Webhook/UpdateRequest.php
index 280a0da031..26a4a3f52c 100644
--- a/app/Api/V1/Requests/Webhook/UpdateRequest.php
+++ b/app/Api/V1/Requests/Webhook/UpdateRequest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* UpdateRequest.php
* Copyright (c) 2020 [email protected]
@@ -81,4 +82,4 @@ class UpdateRequest extends FormRequest
'url' => ['required', 'url', 'starts_with:https://', sprintf('uniqueExistingWebhook:%d', $webhook->id)],
];
}
-}
\ No newline at end of file
+}
diff --git a/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php b/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php
index 3e6cb6e520..76375e5677 100644
--- a/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php
+++ b/app/Console/Commands/Upgrade/AppendBudgetLimitPeriods.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* AppendBudgetLimitPeriods.php
* Copyright (c) 2020 [email protected]
diff --git a/app/Events/DestroyedTransactionLink.php b/app/Events/DestroyedTransactionLink.php
index 2e84cdd5dd..a23465063e 100644
--- a/app/Events/DestroyedTransactionLink.php
+++ b/app/Events/DestroyedTransactionLink.php
@@ -45,4 +45,4 @@ class DestroyedTransactionLink extends Event
{
$this->link = $link;
}
-}
\ No newline at end of file
+}
diff --git a/app/Events/DetectedNewIPAddress.php b/app/Events/DetectedNewIPAddress.php
index 10f07f8345..3e5ecb495b 100644
--- a/app/Events/DetectedNewIPAddress.php
+++ b/app/Events/DetectedNewIPAddress.php
@@ -47,4 +47,4 @@ class DetectedNewIPAddress extends Event
$this->ipAddress = $ipAddress;
$this->user = $user;
}
-}
\ No newline at end of file
+}
diff --git a/app/Events/RequestedSendWebhookMessages.php b/app/Events/RequestedSendWebhookMessages.php
index 79dad2d7aa..fd9b132688 100644
--- a/app/Events/RequestedSendWebhookMessages.php
+++ b/app/Events/RequestedSendWebhookMessages.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* RequestedSendWebhookMessages.php
* Copyright (c) 2020 [email protected]
@@ -27,4 +28,4 @@ use Illuminate\Queue\SerializesModels;
class RequestedSendWebhookMessages extends Event
{
use SerializesModels;
-}
\ No newline at end of file
+}
diff --git a/app/Events/StoredTransactionLink.php b/app/Events/StoredTransactionLink.php
index 46fd004b4d..c15a335178 100644
--- a/app/Events/StoredTransactionLink.php
+++ b/app/Events/StoredTransactionLink.php
@@ -44,4 +44,4 @@ class StoredTransactionLink extends Event
{
$this->link = $link;
}
-}
\ No newline at end of file
+}
diff --git a/app/Events/UpdatedTransactionLink.php b/app/Events/UpdatedTransactionLink.php
index 7627560f4d..58a1f1592b 100644
--- a/app/Events/UpdatedTransactionLink.php
+++ b/app/Events/UpdatedTransactionLink.php
@@ -44,4 +44,4 @@ class UpdatedTransactionLink extends Event
{
$this->link = $link;
}
-}
\ No newline at end of file
+}
diff --git a/app/Generator/Webhook/MessageGeneratorInterface.php b/app/Generator/Webhook/MessageGeneratorInterface.php
index f41956213a..8487be5833 100644
--- a/app/Generator/Webhook/MessageGeneratorInterface.php
+++ b/app/Generator/Webhook/MessageGeneratorInterface.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* MessageGeneratorInterface.php
* Copyright (c) 2020 [email protected]
@@ -54,4 +55,4 @@ interface MessageGeneratorInterface
* @param int $trigger
*/
public function setTrigger(int $trigger): void;
-}
\ No newline at end of file
+}
diff --git a/app/Generator/Webhook/StandardMessageGenerator.php b/app/Generator/Webhook/StandardMessageGenerator.php
index 3a6743d6d8..17e7254e57 100644
--- a/app/Generator/Webhook/StandardMessageGenerator.php
+++ b/app/Generator/Webhook/StandardMessageGenerator.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* WebhookMessageGenerator.php
* Copyright (c) 2020 [email protected]
@@ -231,4 +232,4 @@ class StandardMessageGenerator implements MessageGeneratorInterface
{
return $this->version;
}
-}
\ No newline at end of file
+}
diff --git a/app/Handlers/Events/DestroyedGroupEventHandler.php b/app/Handlers/Events/DestroyedGroupEventHandler.php
index 0d9a1c599e..7d5cd667ef 100644
--- a/app/Handlers/Events/DestroyedGroupEventHandler.php
+++ b/app/Handlers/Events/DestroyedGroupEventHandler.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* DestroyedGroupEventHandler.php
* Copyright (c) 2020 [email protected]
@@ -51,4 +52,4 @@ class DestroyedGroupEventHandler
event(new RequestedSendWebhookMessages);
}
-}
\ No newline at end of file
+}
diff --git a/app/Handlers/Events/WebhookEventHandler.php b/app/Handlers/Events/WebhookEventHandler.php
index a7aad48222..08c2218568 100644
--- a/app/Handlers/Events/WebhookEventHandler.php
+++ b/app/Handlers/Events/WebhookEventHandler.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* WebhookEventHandler.php
* Copyright (c) 2020 [email protected]
@@ -51,4 +52,4 @@ class WebhookEventHandler
SendWebhookMessage::dispatch($message)->afterResponse();
}
}
-}
\ No newline at end of file
+}
diff --git a/app/Helpers/Webhook/Sha3SignatureGenerator.php b/app/Helpers/Webhook/Sha3SignatureGenerator.php
index 2540f5b21e..78346f9fd1 100644
--- a/app/Helpers/Webhook/Sha3SignatureGenerator.php
+++ b/app/Helpers/Webhook/Sha3SignatureGenerator.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* Sha3SignatureGenerator.php
* Copyright (c) 2020 [email protected]
@@ -67,4 +68,4 @@ class Sha3SignatureGenerator implements SignatureGeneratorInterface
// Schemes start with v, followed by an integer. Currently, the only valid live signature scheme is v1.
return sprintf('t=%s,v%d=%s', $timestamp, $this->getVersion(), $signature);
}
-}
\ No newline at end of file
+}
diff --git a/app/Helpers/Webhook/SignatureGeneratorInterface.php b/app/Helpers/Webhook/SignatureGeneratorInterface.php
index bee206e11f..e4af7c0e65 100644
--- a/app/Helpers/Webhook/SignatureGeneratorInterface.php
+++ b/app/Helpers/Webhook/SignatureGeneratorInterface.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* SignatureGeneratorInterface.php
* Copyright (c) 2020 [email protected]
@@ -41,4 +42,4 @@ interface SignatureGeneratorInterface
* @return string
*/
public function generate(WebhookMessage $message): string;
-}
\ No newline at end of file
+}
diff --git a/app/Jobs/SendWebhookMessage.php b/app/Jobs/SendWebhookMessage.php
index c302eda016..a36d7a5cff 100644
--- a/app/Jobs/SendWebhookMessage.php
+++ b/app/Jobs/SendWebhookMessage.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
namespace FireflyIII\Jobs;
diff --git a/app/Mail/NewIPAddressWarningMail.php b/app/Mail/NewIPAddressWarningMail.php
index 19b82c7db8..12fee2fa47 100644
--- a/app/Mail/NewIPAddressWarningMail.php
+++ b/app/Mail/NewIPAddressWarningMail.php
@@ -65,4 +65,4 @@ class NewIPAddressWarningMail extends Mailable
return $this->view('emails.new-ip-html')->text('emails.new-ip-text')
->subject((string) trans('email.login_from_new_ip'));
}
-}
\ No newline at end of file
+}
diff --git a/app/Models/Note.php b/app/Models/Note.php
index 553883f030..f5543f5d11 100644
--- a/app/Models/Note.php
+++ b/app/Models/Note.php
@@ -87,4 +87,4 @@ class Note extends Model
}
-}
\ No newline at end of file
+}
diff --git a/app/Models/Webhook.php b/app/Models/Webhook.php
index 2ddd8c04ef..3ca961801c 100644
--- a/app/Models/Webhook.php
+++ b/app/Models/Webhook.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* Webhook.php
* Copyright (c) 2020 [email protected]
@@ -131,4 +132,4 @@ class Webhook extends Model
{
return $this->hasMany(WebhookMessage::class);
}
-}
\ No newline at end of file
+}
diff --git a/app/Models/WebhookAttempt.php b/app/Models/WebhookAttempt.php
index d95062a8b5..d4523dc0e6 100644
--- a/app/Models/WebhookAttempt.php
+++ b/app/Models/WebhookAttempt.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* WebhookAttempt.php
* Copyright (c) 2020 [email protected]
@@ -38,4 +39,4 @@ class WebhookAttempt extends Model
{
return $this->belongsTo(WebhookMessage::class);
}
-}
\ No newline at end of file
+}
diff --git a/app/Models/WebhookMessage.php b/app/Models/WebhookMessage.php
index 4d6bc7a8cc..0b3704cd21 100644
--- a/app/Models/WebhookMessage.php
+++ b/app/Models/WebhookMessage.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* WebhookMessage.php
* Copyright (c) 2020 [email protected]
@@ -88,4 +89,4 @@ class WebhookMessage extends Model
}
-}
\ No newline at end of file
+}
diff --git a/app/Repositories/Webhook/WebhookRepository.php b/app/Repositories/Webhook/WebhookRepository.php
index 555e8f1c38..6837e4fbb4 100644
--- a/app/Repositories/Webhook/WebhookRepository.php
+++ b/app/Repositories/Webhook/WebhookRepository.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* WebhookRepository.php
* Copyright (c) 2020 [email protected]
@@ -88,4 +89,4 @@ class WebhookRepository implements WebhookRepositoryInterface
{
$webhook->delete();
}
-}
\ No newline at end of file
+}
diff --git a/app/Repositories/Webhook/WebhookRepositoryInterface.php b/app/Repositories/Webhook/WebhookRepositoryInterface.php
index 70486b7efc..8d6dc5fe46 100644
--- a/app/Repositories/Webhook/WebhookRepositoryInterface.php
+++ b/app/Repositories/Webhook/WebhookRepositoryInterface.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* WebhookRepositoryInterface.php
* Copyright (c) 2020 [email protected]
@@ -64,4 +65,4 @@ interface WebhookRepositoryInterface
*/
public function destroy(Webhook $webhook): void;
-}
\ No newline at end of file
+}
diff --git a/app/Rules/IsDuplicateTransaction.php b/app/Rules/IsDuplicateTransaction.php
index d14128bd88..b1f7d3b066 100644
--- a/app/Rules/IsDuplicateTransaction.php
+++ b/app/Rules/IsDuplicateTransaction.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* IsDuplicateTransaction.php
* Copyright (c) 2020 [email protected]
@@ -47,4 +48,4 @@ class IsDuplicateTransaction implements Rule
{
return $this->value;
}
-}
\ No newline at end of file
+}
diff --git a/app/Services/Webhook/StandardWebhookSender.php b/app/Services/Webhook/StandardWebhookSender.php
index 69d4b7d7fb..7739c14e7b 100644
--- a/app/Services/Webhook/StandardWebhookSender.php
+++ b/app/Services/Webhook/StandardWebhookSender.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* StandardWebhookSender.php
* Copyright (c) 2020 [email protected]
@@ -116,4 +117,4 @@ class StandardWebhookSender implements WebhookSenderInterface
//$this->sendMessageV0($this->message);
}
-}
\ No newline at end of file
+}
diff --git a/app/Services/Webhook/WebhookSenderInterface.php b/app/Services/Webhook/WebhookSenderInterface.php
index 10f52eaec1..a5e03c302c 100644
--- a/app/Services/Webhook/WebhookSenderInterface.php
+++ b/app/Services/Webhook/WebhookSenderInterface.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* WebhookSenderInterface.php
* Copyright (c) 2020 [email protected]
@@ -42,4 +43,4 @@ interface WebhookSenderInterface
*
*/
public function send(): void;
-}
\ No newline at end of file
+}
diff --git a/app/Support/Chart/Budget/FrontpageChartGenerator.php b/app/Support/Chart/Budget/FrontpageChartGenerator.php
index d2fb25394c..89c75126fc 100644
--- a/app/Support/Chart/Budget/FrontpageChartGenerator.php
+++ b/app/Support/Chart/Budget/FrontpageChartGenerator.php
@@ -239,4 +239,4 @@ class FrontpageChartGenerator
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Report/Category/CategoryReportGenerator.php b/app/Support/Report/Category/CategoryReportGenerator.php
index e9badcf1fa..8e0b8abd58 100644
--- a/app/Support/Report/Category/CategoryReportGenerator.php
+++ b/app/Support/Report/Category/CategoryReportGenerator.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* CategoryReportGenerator.php
* Copyright (c) 2020 [email protected]
@@ -205,4 +206,4 @@ class CategoryReportGenerator
$this->opsRepository->setUser($user);
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Request/ChecksLogin.php b/app/Support/Request/ChecksLogin.php
index 71222e03a3..0b91c83e6a 100644
--- a/app/Support/Request/ChecksLogin.php
+++ b/app/Support/Request/ChecksLogin.php
@@ -37,4 +37,4 @@ trait ChecksLogin
// Only allow logged in users
return auth()->check();
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Request/GetRuleConfiguration.php b/app/Support/Request/GetRuleConfiguration.php
index 0eb328194c..8be6823193 100644
--- a/app/Support/Request/GetRuleConfiguration.php
+++ b/app/Support/Request/GetRuleConfiguration.php
@@ -50,4 +50,4 @@ trait GetRuleConfiguration
}
return $return;
}
-}
\ No newline at end of file
+}
diff --git a/app/Support/Search/OperatorQuerySearch.php b/app/Support/Search/OperatorQuerySearch.php
index 3286ac3926..0a9b52af1a 100644
--- a/app/Support/Search/OperatorQuerySearch.php
+++ b/app/Support/Search/OperatorQuerySearch.php
@@ -832,4 +832,4 @@ class OperatorQuerySearch implements SearchInterface
{
return $this->accountRepository->getCashAccount();
}
-}
\ No newline at end of file
+}
diff --git a/app/TransactionRules/Engine/RuleEngineInterface.php b/app/TransactionRules/Engine/RuleEngineInterface.php
index bd5b5f18da..f976038593 100644
--- a/app/TransactionRules/Engine/RuleEngineInterface.php
+++ b/app/TransactionRules/Engine/RuleEngineInterface.php
@@ -65,4 +65,4 @@ interface RuleEngineInterface
*/
public function find(): Collection;
-}
\ No newline at end of file
+}
diff --git a/app/TransactionRules/Engine/SearchRuleEngine.php b/app/TransactionRules/Engine/SearchRuleEngine.php
index bffd7a1d82..e876aa16e7 100644
--- a/app/TransactionRules/Engine/SearchRuleEngine.php
+++ b/app/TransactionRules/Engine/SearchRuleEngine.php
@@ -424,4 +424,4 @@ class SearchRuleEngine implements RuleEngineInterface
return $all;
}
-}
\ No newline at end of file
+}
diff --git a/app/Transformers/WebhookTransformer.php b/app/Transformers/WebhookTransformer.php
index 8626f85d85..ea99a44380 100644
--- a/app/Transformers/WebhookTransformer.php
+++ b/app/Transformers/WebhookTransformer.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* WebhookTransformer.php
* Copyright (c) 2020 [email protected]
@@ -71,4 +72,4 @@ class WebhookTransformer extends AbstractTransformer
{
return $this->enums[$value] ?? 'UNKNOWN_VALUE';
}
-}
\ No newline at end of file
+}
diff --git a/config/queue.php b/config/queue.php
index a8bf551583..d6637fd655 100644
--- a/config/queue.php
+++ b/config/queue.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
return [
diff --git a/database/migrations/2020_11_12_070604_changes_for_v550.php b/database/migrations/2020_11_12_070604_changes_for_v550.php
index 48a54f40b0..6d3431f3a9 100644
--- a/database/migrations/2020_11_12_070604_changes_for_v550.php
+++ b/database/migrations/2020_11_12_070604_changes_for_v550.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
diff --git a/resources/lang/.gitignore b/resources/lang/.gitignore
index 859b8619f4..e8d8cc63e0 100644
--- a/resources/lang/.gitignore
+++ b/resources/lang/.gitignore
@@ -11,4 +11,4 @@ et_EE
tlh_AA
lt_LT
fa_IR
-si_LK
\ No newline at end of file
+si_LK
diff --git a/tests/Feature/Console/Commands/Correction/CorrectOpeningBalanceCurrenciesTest.php b/tests/Feature/Console/Commands/Correction/CorrectOpeningBalanceCurrenciesTest.php
index b69e691ec7..b2b3f52051 100644
--- a/tests/Feature/Console/Commands/Correction/CorrectOpeningBalanceCurrenciesTest.php
+++ b/tests/Feature/Console/Commands/Correction/CorrectOpeningBalanceCurrenciesTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* CorrectOpeningBalanceCurrenciesTest.php
* Copyright (c) 2020 [email protected]
@@ -85,4 +86,4 @@ class CorrectOpeningBalanceCurrenciesTest extends TestCase
$journal->forceDelete();
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Console/Commands/Correction/FixAccountOrderTest.php b/tests/Feature/Console/Commands/Correction/FixAccountOrderTest.php
index 805f01ea0f..a2a45f152d 100644
--- a/tests/Feature/Console/Commands/Correction/FixAccountOrderTest.php
+++ b/tests/Feature/Console/Commands/Correction/FixAccountOrderTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* FixAccountOrderTest.php
* Copyright (c) 2020 [email protected]
@@ -44,4 +45,4 @@ class FixAccountOrderTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Console/Commands/Correction/FixGroupAccountsTest.php b/tests/Feature/Console/Commands/Correction/FixGroupAccountsTest.php
index 3f99bcc1ae..b4c7994e88 100644
--- a/tests/Feature/Console/Commands/Correction/FixGroupAccountsTest.php
+++ b/tests/Feature/Console/Commands/Correction/FixGroupAccountsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* FixGroupAccountsTest.php
* Copyright (c) 2020 [email protected]
@@ -44,4 +45,4 @@ class FixGroupAccountsTest extends TestCase
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Console/Commands/Correction/FixLongDescriptionsTest.php b/tests/Feature/Console/Commands/Correction/FixLongDescriptionsTest.php
index bb11bc03d9..dd8f25f87b 100644
--- a/tests/Feature/Console/Commands/Correction/FixLongDescriptionsTest.php
+++ b/tests/Feature/Console/Commands/Correction/FixLongDescriptionsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* FixLongDescriptionsTest.php
* Copyright (c) 2020 [email protected]
@@ -70,4 +71,4 @@ class FixLongDescriptionsTest extends TestCase
$group->save();
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Console/Commands/Correction/FixRecurringTransactionsTest.php b/tests/Feature/Console/Commands/Correction/FixRecurringTransactionsTest.php
index e1d296dfbd..e4b7dcd12f 100644
--- a/tests/Feature/Console/Commands/Correction/FixRecurringTransactionsTest.php
+++ b/tests/Feature/Console/Commands/Correction/FixRecurringTransactionsTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* FixRecurringTransactionsTest.php
* Copyright (c) 2020 [email protected]
@@ -45,4 +46,4 @@ class FixRecurringTransactionsTest extends TestCase
))
->assertExitCode(0);
}
-}
\ No newline at end of file
+}
diff --git a/tests/Feature/Console/Commands/Correction/FixTransactionTypesTest.php b/tests/Feature/Console/Commands/Correction/FixTransactionTypesTest.php
index 3b6877cd7d..15a552381e 100644
--- a/tests/Feature/Console/Commands/Correction/FixTransactionTypesTest.php
+++ b/tests/Feature/Console/Commands/Correction/FixTransactionTypesTest.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/*
* FixTransactionTypesTest.php
* Copyright (c) 2020 [email protected]
@@ -40,4 +41,4 @@ class FixTransactionTypesTest extends TestCase
}
-}
\ No newline at end of file
+}