Skip to content

Firefly III: a personal finances manager

Update copyright statements

James Coleb3740e643a5e
diff --git a/app/Api/V2/Request/Transaction/ListRequest.php b/app/Api/V2/Request/Transaction/ListRequest.php
index 834c58bc4c..4bbb03b90a 100644
--- a/app/Api/V2/Request/Transaction/ListRequest.php
+++ b/app/Api/V2/Request/Transaction/ListRequest.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* ListRequest.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Api\V2\Request\Transaction;
use FireflyIII\Support\Request\ChecksLogin;
diff --git a/app/Api/V2/Response/Sum/AutoSum.php b/app/Api/V2/Response/Sum/AutoSum.php
index 587e089685..df941f017b 100644
--- a/app/Api/V2/Response/Sum/AutoSum.php
+++ b/app/Api/V2/Response/Sum/AutoSum.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* AutoSum.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Api\V2\Response\Sum;
use Closure;
diff --git a/app/Console/Commands/Integrity/UpdateGroupInformation.php b/app/Console/Commands/Integrity/UpdateGroupInformation.php
index aca577e899..b6e935ef42 100644
--- a/app/Console/Commands/Integrity/UpdateGroupInformation.php
+++ b/app/Console/Commands/Integrity/UpdateGroupInformation.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* UpdateGroupInformation.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Console\Commands\Integrity;
use FireflyIII\Models\Account;
diff --git a/app/Enums/AccountTypeEnum.php b/app/Enums/AccountTypeEnum.php
index e0e29da27a..0660c87d41 100644
--- a/app/Enums/AccountTypeEnum.php
+++ b/app/Enums/AccountTypeEnum.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* AccountTypeEnum.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Enums;
/**
diff --git a/app/Enums/AutoBudgetType.php b/app/Enums/AutoBudgetType.php
index 99a34f312e..a9d8719021 100644
--- a/app/Enums/AutoBudgetType.php
+++ b/app/Enums/AutoBudgetType.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* AutoBudgetType.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Enums;
/**
diff --git a/app/Enums/RecurrenceRepetitionWeekend.php b/app/Enums/RecurrenceRepetitionWeekend.php
index d7fb6d4047..f647b7b9e6 100644
--- a/app/Enums/RecurrenceRepetitionWeekend.php
+++ b/app/Enums/RecurrenceRepetitionWeekend.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* RecurrenceRepetitionWeekend.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Enums;
enum RecurrenceRepetitionWeekend: int
diff --git a/app/Enums/TransactionTypeEnum.php b/app/Enums/TransactionTypeEnum.php
index 0bd2b38aea..039a117bb7 100644
--- a/app/Enums/TransactionTypeEnum.php
+++ b/app/Enums/TransactionTypeEnum.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* TransactionTypeEnum.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Enums;
/**
diff --git a/app/Enums/UserRoleEnum.php b/app/Enums/UserRoleEnum.php
index 41901c69a7..e053bf5ae8 100644
--- a/app/Enums/UserRoleEnum.php
+++ b/app/Enums/UserRoleEnum.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* UserRoleEnum.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Enums;
enum UserRoleEnum: string
diff --git a/app/Enums/WebhookDelivery.php b/app/Enums/WebhookDelivery.php
index 059dcc8687..3544cf950a 100644
--- a/app/Enums/WebhookDelivery.php
+++ b/app/Enums/WebhookDelivery.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* WebhookDelivery.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Enums;
enum WebhookDelivery: int
diff --git a/app/Enums/WebhookResponse.php b/app/Enums/WebhookResponse.php
index 6547f42c03..f420c52d61 100644
--- a/app/Enums/WebhookResponse.php
+++ b/app/Enums/WebhookResponse.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* WebhookResponse.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Enums;
enum WebhookResponse: int
diff --git a/app/Enums/WebhookTrigger.php b/app/Enums/WebhookTrigger.php
index 33a4d8e516..4e48851ba1 100644
--- a/app/Enums/WebhookTrigger.php
+++ b/app/Enums/WebhookTrigger.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* WebhookTrigger.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Enums;
/**
diff --git a/app/Events/Admin/InvitationCreated.php b/app/Events/Admin/InvitationCreated.php
index ac9d860255..3df959e956 100644
--- a/app/Events/Admin/InvitationCreated.php
+++ b/app/Events/Admin/InvitationCreated.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* InvitationCreated.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Events\Admin;
use FireflyIII\Events\Event;
diff --git a/app/Events/NewVersionAvailable.php b/app/Events/NewVersionAvailable.php
index 645b79a6a7..28193ae6af 100644
--- a/app/Events/NewVersionAvailable.php
+++ b/app/Events/NewVersionAvailable.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* NewVersionAvailable.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Events;
use Illuminate\Queue\SerializesModels;
diff --git a/app/Events/TriggeredAuditLog.php b/app/Events/TriggeredAuditLog.php
index 311aa05bc9..3481d7e9fd 100644
--- a/app/Events/TriggeredAuditLog.php
+++ b/app/Events/TriggeredAuditLog.php
@@ -1,4 +1,5 @@
<?php
+
/*
* TriggeredAuditLog.php
* Copyright (c) 2022 [email protected]
@@ -19,6 +20,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Events;
use Illuminate\Database\Eloquent\Model;
diff --git a/app/Exceptions/BadHttpHeaderException.php b/app/Exceptions/BadHttpHeaderException.php
index 6efa23481c..1ac5a5359c 100644
--- a/app/Exceptions/BadHttpHeaderException.php
+++ b/app/Exceptions/BadHttpHeaderException.php
@@ -1,4 +1,25 @@
<?php
+
+/*
+ * BadHttpHeaderException.php
+ * Copyright (c) 2022 [email protected]
+ *
+ * This file is part of Firefly III (https://github.com/firefly-iii).
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
declare(strict_types=1);
namespace FireflyIII\Exceptions;
diff --git a/app/Handlers/Events/AuditEventHandler.php b/app/Handlers/Events/AuditEventHandler.php
index 601a18df6e..25ee882a19 100644
--- a/app/Handlers/Events/AuditEventHandler.php
+++ b/app/Handlers/Events/AuditEventHandler.php
@@ -1,4 +1,5 @@
<?php
+
/*
* AuditEventHandler.php
* Copyright (c) 2022 [email protected]
@@ -19,6 +20,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Handlers\Events;
use FireflyIII\Events\TriggeredAuditLog;
diff --git a/app/Http/Controllers/Webhooks/CreateController.php b/app/Http/Controllers/Webhooks/CreateController.php
index 47fec2f819..d2126ce7ad 100644
--- a/app/Http/Controllers/Webhooks/CreateController.php
+++ b/app/Http/Controllers/Webhooks/CreateController.php
@@ -1,7 +1,7 @@
<?php
-declare(strict_types=1);
+
/*
- * IndexController.php
+ * CreateController.php
* Copyright (c) 2022 [email protected]
*
* This file is part of Firefly III (https://github.com/firefly-iii).
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Http\Controllers\Webhooks;
use FireflyIII\Http\Controllers\Controller;
diff --git a/app/Http/Controllers/Webhooks/IndexController.php b/app/Http/Controllers/Webhooks/IndexController.php
index dc20509b4c..76cbf4f3a2 100644
--- a/app/Http/Controllers/Webhooks/IndexController.php
+++ b/app/Http/Controllers/Webhooks/IndexController.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* IndexController.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Http\Controllers\Webhooks;
use FireflyIII\Exceptions\FireflyException;
diff --git a/app/Http/Middleware/AcceptHeaders.php b/app/Http/Middleware/AcceptHeaders.php
index 09caa000fd..0840806438 100644
--- a/app/Http/Middleware/AcceptHeaders.php
+++ b/app/Http/Middleware/AcceptHeaders.php
@@ -1,4 +1,25 @@
<?php
+
+/*
+ * AcceptHeaders.php
+ * Copyright (c) 2022 [email protected]
+ *
+ * This file is part of Firefly III (https://github.com/firefly-iii).
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
declare(strict_types=1);
namespace FireflyIII\Http\Middleware;
diff --git a/app/Http/Requests/InviteUserFormRequest.php b/app/Http/Requests/InviteUserFormRequest.php
index 628b655c29..91afdd2391 100644
--- a/app/Http/Requests/InviteUserFormRequest.php
+++ b/app/Http/Requests/InviteUserFormRequest.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* InviteUserFormRequest.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Http\Requests;
use FireflyIII\Support\Request\ChecksLogin;
diff --git a/app/Jobs/DownloadExchangeRates.php b/app/Jobs/DownloadExchangeRates.php
index d93cb5751a..e6953113ff 100644
--- a/app/Jobs/DownloadExchangeRates.php
+++ b/app/Jobs/DownloadExchangeRates.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* DownloadExchangeRates.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Jobs;
diff --git a/app/Mail/InvitationMail.php b/app/Mail/InvitationMail.php
index 5ad5ee1ac9..9854a22685 100644
--- a/app/Mail/InvitationMail.php
+++ b/app/Mail/InvitationMail.php
@@ -1,4 +1,5 @@
<?php
+
/*
* InvitationMail.php
* Copyright (c) 2022 [email protected]
@@ -19,6 +20,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Mail;
use Illuminate\Bus\Queueable;
diff --git a/app/Models/AuditLogEntry.php b/app/Models/AuditLogEntry.php
index 4b6ace614e..afde6370fb 100644
--- a/app/Models/AuditLogEntry.php
+++ b/app/Models/AuditLogEntry.php
@@ -1,4 +1,5 @@
<?php
+
/*
* AuditLogEntry.php
* Copyright (c) 2022 [email protected]
@@ -19,6 +20,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Models;
use Illuminate\Database\Eloquent\Model;
diff --git a/app/Models/InvitedUser.php b/app/Models/InvitedUser.php
index 09f7c4ad25..907bd1b3d8 100644
--- a/app/Models/InvitedUser.php
+++ b/app/Models/InvitedUser.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* InvitedUser.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Models;
use FireflyIII\User;
diff --git a/app/Notifications/Admin/TestNotification.php b/app/Notifications/Admin/TestNotification.php
index 9392460e83..128300bd7c 100644
--- a/app/Notifications/Admin/TestNotification.php
+++ b/app/Notifications/Admin/TestNotification.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* TestNotification.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Notifications\Admin;
use Illuminate\Bus\Queueable;
diff --git a/app/Notifications/Admin/UserInvitation.php b/app/Notifications/Admin/UserInvitation.php
index 47e234bf38..9c84345490 100644
--- a/app/Notifications/Admin/UserInvitation.php
+++ b/app/Notifications/Admin/UserInvitation.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* UserInvitation.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Notifications\Admin;
use FireflyIII\Models\InvitedUser;
diff --git a/app/Notifications/Admin/UserRegistration.php b/app/Notifications/Admin/UserRegistration.php
index 96978277c2..892c75cd03 100644
--- a/app/Notifications/Admin/UserRegistration.php
+++ b/app/Notifications/Admin/UserRegistration.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* UserRegistration.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,9 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
+
namespace FireflyIII\Notifications\Admin;
use FireflyIII\User;
diff --git a/app/Notifications/Admin/VersionCheckResult.php b/app/Notifications/Admin/VersionCheckResult.php
index 2dd5f01ee5..1515fd04d3 100644
--- a/app/Notifications/Admin/VersionCheckResult.php
+++ b/app/Notifications/Admin/VersionCheckResult.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* VersionCheckResult.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Notifications\Admin;
use Illuminate\Bus\Queueable;
diff --git a/app/Notifications/User/BillReminder.php b/app/Notifications/User/BillReminder.php
index 38129abfa0..f6950fa022 100644
--- a/app/Notifications/User/BillReminder.php
+++ b/app/Notifications/User/BillReminder.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* BillReminder.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Notifications\User;
use FireflyIII\Models\Bill;
diff --git a/app/Notifications/User/NewAccessToken.php b/app/Notifications/User/NewAccessToken.php
index a8e65e3a3c..26a33486b3 100644
--- a/app/Notifications/User/NewAccessToken.php
+++ b/app/Notifications/User/NewAccessToken.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* NewAccessToken.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Notifications\User;
use Illuminate\Bus\Queueable;
diff --git a/app/Notifications/User/TransactionCreation.php b/app/Notifications/User/TransactionCreation.php
index d197b674e8..b781f2b1b7 100644
--- a/app/Notifications/User/TransactionCreation.php
+++ b/app/Notifications/User/TransactionCreation.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* TransactionCreation.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Notifications\User;
use Illuminate\Bus\Queueable;
diff --git a/app/Notifications/User/UserLogin.php b/app/Notifications/User/UserLogin.php
index ff39185563..92b89ccfd6 100644
--- a/app/Notifications/User/UserLogin.php
+++ b/app/Notifications/User/UserLogin.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* UserLogin.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,9 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
+
namespace FireflyIII\Notifications\User;
use Exception;
diff --git a/app/Notifications/User/UserNewPassword.php b/app/Notifications/User/UserNewPassword.php
index 831669176c..1b2e4edde6 100644
--- a/app/Notifications/User/UserNewPassword.php
+++ b/app/Notifications/User/UserNewPassword.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* UserNewPassword.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Notifications\User;
use Illuminate\Bus\Queueable;
diff --git a/app/Notifications/User/UserRegistration.php b/app/Notifications/User/UserRegistration.php
index 521361e5eb..2c28cf69f0 100644
--- a/app/Notifications/User/UserRegistration.php
+++ b/app/Notifications/User/UserRegistration.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* UserRegistration.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Notifications\User;
use Illuminate\Bus\Queueable;
diff --git a/app/Repositories/AuditLogEntry/ALERepository.php b/app/Repositories/AuditLogEntry/ALERepository.php
index 8b57a88712..41abd0eb20 100644
--- a/app/Repositories/AuditLogEntry/ALERepository.php
+++ b/app/Repositories/AuditLogEntry/ALERepository.php
@@ -1,4 +1,5 @@
<?php
+
/*
* ALERepository.php
* Copyright (c) 2022 [email protected]
@@ -19,6 +20,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Repositories\AuditLogEntry;
use FireflyIII\Models\AuditLogEntry;
diff --git a/app/Repositories/AuditLogEntry/ALERepositoryInterface.php b/app/Repositories/AuditLogEntry/ALERepositoryInterface.php
index dbaa73c1ae..052ca28d4e 100644
--- a/app/Repositories/AuditLogEntry/ALERepositoryInterface.php
+++ b/app/Repositories/AuditLogEntry/ALERepositoryInterface.php
@@ -1,4 +1,5 @@
<?php
+
/*
* ALERepositoryInterface.php
* Copyright (c) 2022 [email protected]
@@ -19,6 +20,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Repositories\AuditLogEntry;
use FireflyIII\Models\AuditLogEntry;
diff --git a/app/Support/Http/Api/ConvertsExchangeRates.php b/app/Support/Http/Api/ConvertsExchangeRates.php
index 80d5497d4c..04cf202023 100644
--- a/app/Support/Http/Api/ConvertsExchangeRates.php
+++ b/app/Support/Http/Api/ConvertsExchangeRates.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* ConvertsExchangeRates.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Support\Http\Api;
use Carbon\Carbon;
diff --git a/app/TransactionRules/Actions/AppendDescriptionToNotes.php b/app/TransactionRules/Actions/AppendDescriptionToNotes.php
index f69d677a54..b7fe069ccd 100644
--- a/app/TransactionRules/Actions/AppendDescriptionToNotes.php
+++ b/app/TransactionRules/Actions/AppendDescriptionToNotes.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* AppendDescriptionToNotes.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\TransactionRules\Actions;
use FireflyIII\Events\TriggeredAuditLog;
diff --git a/app/TransactionRules/Actions/AppendNotesToDescription.php b/app/TransactionRules/Actions/AppendNotesToDescription.php
index 4343d78c67..d4ecc4e2e0 100644
--- a/app/TransactionRules/Actions/AppendNotesToDescription.php
+++ b/app/TransactionRules/Actions/AppendNotesToDescription.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* AppendNotesToDescription.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\TransactionRules\Actions;
use FireflyIII\Events\TriggeredAuditLog;
diff --git a/app/TransactionRules/Actions/MoveDescriptionToNotes.php b/app/TransactionRules/Actions/MoveDescriptionToNotes.php
index c8d48d3ba9..a524d0a1eb 100644
--- a/app/TransactionRules/Actions/MoveDescriptionToNotes.php
+++ b/app/TransactionRules/Actions/MoveDescriptionToNotes.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* MoveDescriptionToNotes.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\TransactionRules\Actions;
use FireflyIII\Events\TriggeredAuditLog;
diff --git a/app/TransactionRules/Actions/MoveNotesToDescription.php b/app/TransactionRules/Actions/MoveNotesToDescription.php
index 0c3c6a28e7..bd697e8205 100644
--- a/app/TransactionRules/Actions/MoveNotesToDescription.php
+++ b/app/TransactionRules/Actions/MoveNotesToDescription.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* MoveNotesToDescription.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\TransactionRules\Actions;
use FireflyIII\Events\TriggeredAuditLog;
diff --git a/app/Transformers/V2/AbstractTransformer.php b/app/Transformers/V2/AbstractTransformer.php
index 1f927b5cab..b2ef77d2c7 100644
--- a/app/Transformers/V2/AbstractTransformer.php
+++ b/app/Transformers/V2/AbstractTransformer.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* AbstractTransformer.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Transformers\V2;
use Illuminate\Support\Collection;
diff --git a/app/Transformers/V2/AccountTransformer.php b/app/Transformers/V2/AccountTransformer.php
index e67948daed..ba3e23b0ca 100644
--- a/app/Transformers/V2/AccountTransformer.php
+++ b/app/Transformers/V2/AccountTransformer.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* AccountTransformer.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Transformers\V2;
use Carbon\Carbon;
diff --git a/app/Transformers/V2/TransactionGroupTransformer.php b/app/Transformers/V2/TransactionGroupTransformer.php
index 90a91aef9a..1bf5d6e8ff 100644
--- a/app/Transformers/V2/TransactionGroupTransformer.php
+++ b/app/Transformers/V2/TransactionGroupTransformer.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* TransactionGroupTransformer.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace FireflyIII\Transformers\V2;
use Carbon\Carbon;
diff --git a/config/cer.php b/config/cer.php
index 6580378fb5..aff3718313 100644
--- a/config/cer.php
+++ b/config/cer.php
@@ -1,7 +1,7 @@
<?php
-declare(strict_types=1);
+
/*
- * default_cer.php
+ * cer.php
* Copyright (c) 2022 [email protected]
*
* This file is part of Firefly III (https://github.com/firefly-iii).
@@ -20,6 +20,7 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
return [
diff --git a/database/migrations/2022_08_21_104626_add_user_groups.php b/database/migrations/2022_08_21_104626_add_user_groups.php
index 55a249959e..2c8bd55731 100644
--- a/database/migrations/2022_08_21_104626_add_user_groups.php
+++ b/database/migrations/2022_08_21_104626_add_user_groups.php
@@ -1,4 +1,25 @@
<?php
+
+/*
+ * 2022_08_21_104626_add_user_groups.php
+ * Copyright (c) 2022 [email protected]
+ *
+ * This file is part of Firefly III (https://github.com/firefly-iii).
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
diff --git a/database/migrations/2022_09_18_123911_create_notifications_table.php b/database/migrations/2022_09_18_123911_create_notifications_table.php
index 77bf87e8c9..e86b8f7023 100644
--- a/database/migrations/2022_09_18_123911_create_notifications_table.php
+++ b/database/migrations/2022_09_18_123911_create_notifications_table.php
@@ -1,4 +1,25 @@
<?php
+
+/*
+ * 2022_09_18_123911_create_notifications_table.php
+ * Copyright (c) 2022 [email protected]
+ *
+ * This file is part of Firefly III (https://github.com/firefly-iii).
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
diff --git a/database/migrations/2022_10_01_074908_invited_users.php b/database/migrations/2022_10_01_074908_invited_users.php
index 9ceadcf524..921e261ef0 100644
--- a/database/migrations/2022_10_01_074908_invited_users.php
+++ b/database/migrations/2022_10_01_074908_invited_users.php
@@ -1,4 +1,25 @@
<?php
+
+/*
+ * 2022_10_01_074908_invited_users.php
+ * Copyright (c) 2022 [email protected]
+ *
+ * This file is part of Firefly III (https://github.com/firefly-iii).
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
diff --git a/database/migrations/2022_10_01_210238_audit_log_entries.php b/database/migrations/2022_10_01_210238_audit_log_entries.php
index 9ad71654d6..fb0c5e0e6b 100644
--- a/database/migrations/2022_10_01_210238_audit_log_entries.php
+++ b/database/migrations/2022_10_01_210238_audit_log_entries.php
@@ -1,5 +1,27 @@
<?php
+/*
+ * 2022_10_01_210238_audit_log_entries.php
+ * Copyright (c) 2022 [email protected]
+ *
+ * This file is part of Firefly III (https://github.com/firefly-iii).
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
+declare(strict_types=1);
+
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
diff --git a/database/seeders/ExchangeRateSeeder.php b/database/seeders/ExchangeRateSeeder.php
index 141ba4c566..ccb67c0297 100644
--- a/database/seeders/ExchangeRateSeeder.php
+++ b/database/seeders/ExchangeRateSeeder.php
@@ -1,5 +1,5 @@
<?php
-declare(strict_types=1);
+
/*
* ExchangeRateSeeder.php
* Copyright (c) 2022 [email protected]
@@ -20,6 +20,8 @@ declare(strict_types=1);
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+declare(strict_types=1);
+
namespace Database\Seeders;
use FireflyIII\Models\CurrencyExchangeRate;