Add newlines and strict types check.

This commit is contained in:
James Cole
2020-12-22 05:35:06 +01:00
parent c7cf55b831
commit b263120c8f
48 changed files with 79 additions and 44 deletions

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* DateController.php * DateController.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* DateController.php * DateController.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* CreateController.php * CreateController.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* DeleteController.php * DeleteController.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* EditController.php * EditController.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* IndexController.php * IndexController.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* CreateRequest.php * CreateRequest.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* UpdateRequest.php * UpdateRequest.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* AppendBudgetLimitPeriods.php * AppendBudgetLimitPeriods.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* RequestedSendWebhookMessages.php * RequestedSendWebhookMessages.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* MessageGeneratorInterface.php * MessageGeneratorInterface.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* WebhookMessageGenerator.php * WebhookMessageGenerator.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* DestroyedGroupEventHandler.php * DestroyedGroupEventHandler.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* WebhookEventHandler.php * WebhookEventHandler.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* Sha3SignatureGenerator.php * Sha3SignatureGenerator.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* SignatureGeneratorInterface.php * SignatureGeneratorInterface.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
namespace FireflyIII\Jobs; namespace FireflyIII\Jobs;

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* Webhook.php * Webhook.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* WebhookAttempt.php * WebhookAttempt.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* WebhookMessage.php * WebhookMessage.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* WebhookRepository.php * WebhookRepository.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* WebhookRepositoryInterface.php * WebhookRepositoryInterface.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* IsDuplicateTransaction.php * IsDuplicateTransaction.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* StandardWebhookSender.php * StandardWebhookSender.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* WebhookSenderInterface.php * WebhookSenderInterface.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* CategoryReportGenerator.php * CategoryReportGenerator.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* WebhookTransformer.php * WebhookTransformer.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
return [ return [

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Schema\Blueprint;

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* CorrectOpeningBalanceCurrenciesTest.php * CorrectOpeningBalanceCurrenciesTest.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* FixAccountOrderTest.php * FixAccountOrderTest.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* FixGroupAccountsTest.php * FixGroupAccountsTest.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* FixLongDescriptionsTest.php * FixLongDescriptionsTest.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* FixRecurringTransactionsTest.php * FixRecurringTransactionsTest.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/* /*
* FixTransactionTypesTest.php * FixTransactionTypesTest.php
* Copyright (c) 2020 james@firefly-iii.org * Copyright (c) 2020 james@firefly-iii.org