From 91f52b5dbc7bf6f894dd9853b05b25c357205294 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 23 Aug 2025 11:26:04 +0200 Subject: [PATCH] Add copyright statements. --- .../Controllers/Chart/BalanceController.php | 21 + .../ValidatesEnvironmentVariables.php | 8 +- .../System/RecalculatesRunningBalance.php | 9 +- .../Commands/System/ResetsErrorMailLimit.php | 21 + .../Commands/Upgrade/UpgradesWebhooks.php | 21 + app/Events/Model/Bill/WarnUserAboutBill.php | 21 + .../WarnUserAboutOverdueSubscriptions.php | 21 + app/Events/Model/PiggyBank/ChangedName.php | 21 + app/Models/WebhookDelivery.php | 21 + app/Models/WebhookResponse.php | 21 + app/Models/WebhookTrigger.php | 21 + .../User/SubscriptionsOverdueReminder.php | 21 + .../JsonApi/Enrichments/BudgetEnrichment.php | 21 + .../Enrichments/BudgetLimitEnrichment.php | 21 + .../Enrichments/CategoryEnrichment.php | 21 + .../Enrichments/PiggyBankEnrichment.php | 21 + .../Enrichments/PiggyBankEventEnrichment.php | 21 + .../Enrichments/RecurringEnrichment.php | 21 + .../Enrichments/SubscriptionEnrichment.php | 21 + .../JsonApi/Enrichments/WebhookEnrichment.php | 21 + .../RecalculatesAvailableBudgetsTrait.php | 21 + app/Support/Request/ValidatesWebhooks.php | 21 + .../Singleton/PreferencesSingleton.php | 21 + config/webhooks.php | 21 + .../2025_07_10_065736_rename_tag_mode.php | 21 + ...9_180459_create_webhook_details_tables.php | 21 + database/seeders/WebhookDataSeeder.php | 21 + public/index.php | 21 + .../glyphicons-halflings-regular.svg | 2 +- .../font-awesome/fontawesome-webfont.svg | 1418 ++++++++--------- .../Api/Chart/AccountControllerTest.php | 21 + .../Api/Chart/BalanceControllerTest.php | 21 + .../Api/Chart/BudgetControllerTest.php | 21 + .../Api/Chart/CategoryControllerTest.php | 21 + ...ctQueryParserInterfaceParseQueryTester.php | 21 + .../QueryParser/QueryParserParseQueryTest.php | 21 + 36 files changed, 1392 insertions(+), 717 deletions(-) diff --git a/app/Api/V1/Controllers/Chart/BalanceController.php b/app/Api/V1/Controllers/Chart/BalanceController.php index d589be1661..1895a5e35b 100644 --- a/app/Api/V1/Controllers/Chart/BalanceController.php +++ b/app/Api/V1/Controllers/Chart/BalanceController.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Api\V1\Controllers\Chart; diff --git a/app/Console/Commands/Integrity/ValidatesEnvironmentVariables.php b/app/Console/Commands/Integrity/ValidatesEnvironmentVariables.php index 06ba95035a..c265cab7fc 100644 --- a/app/Console/Commands/Integrity/ValidatesEnvironmentVariables.php +++ b/app/Console/Commands/Integrity/ValidatesEnvironmentVariables.php @@ -1,9 +1,9 @@ . */ +declare(strict_types=1); + namespace FireflyIII\Console\Commands\Integrity; use FireflyIII\Console\Commands\ShowsFriendlyMessages; diff --git a/app/Console/Commands/System/RecalculatesRunningBalance.php b/app/Console/Commands/System/RecalculatesRunningBalance.php index 5e51a4fcc6..93e3fc8624 100644 --- a/app/Console/Commands/System/RecalculatesRunningBalance.php +++ b/app/Console/Commands/System/RecalculatesRunningBalance.php @@ -1,9 +1,9 @@ . */ +declare(strict_types=1); + namespace FireflyIII\Console\Commands\System; use FireflyIII\Console\Commands\ShowsFriendlyMessages; use FireflyIII\Support\Models\AccountBalanceCalculator; use Illuminate\Console\Command; - class RecalculatesRunningBalance extends Command { use ShowsFriendlyMessages; diff --git a/app/Console/Commands/System/ResetsErrorMailLimit.php b/app/Console/Commands/System/ResetsErrorMailLimit.php index 9aba24fa79..d24d64a1d1 100644 --- a/app/Console/Commands/System/ResetsErrorMailLimit.php +++ b/app/Console/Commands/System/ResetsErrorMailLimit.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Console\Commands\System; diff --git a/app/Console/Commands/Upgrade/UpgradesWebhooks.php b/app/Console/Commands/Upgrade/UpgradesWebhooks.php index 93a1c896c9..46e39e11e7 100644 --- a/app/Console/Commands/Upgrade/UpgradesWebhooks.php +++ b/app/Console/Commands/Upgrade/UpgradesWebhooks.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Console\Commands\Upgrade; diff --git a/app/Events/Model/Bill/WarnUserAboutBill.php b/app/Events/Model/Bill/WarnUserAboutBill.php index ceb23cae49..0c52d28e5e 100644 --- a/app/Events/Model/Bill/WarnUserAboutBill.php +++ b/app/Events/Model/Bill/WarnUserAboutBill.php @@ -1,6 +1,27 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Events\Model\Bill; diff --git a/app/Events/Model/Bill/WarnUserAboutOverdueSubscriptions.php b/app/Events/Model/Bill/WarnUserAboutOverdueSubscriptions.php index 0e84a849dd..9306bfc208 100644 --- a/app/Events/Model/Bill/WarnUserAboutOverdueSubscriptions.php +++ b/app/Events/Model/Bill/WarnUserAboutOverdueSubscriptions.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Events\Model\Bill; diff --git a/app/Events/Model/PiggyBank/ChangedName.php b/app/Events/Model/PiggyBank/ChangedName.php index bed6b78f20..38638c4e04 100644 --- a/app/Events/Model/PiggyBank/ChangedName.php +++ b/app/Events/Model/PiggyBank/ChangedName.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Events\Model\PiggyBank; diff --git a/app/Models/WebhookDelivery.php b/app/Models/WebhookDelivery.php index 7635c4de69..a43a47d417 100644 --- a/app/Models/WebhookDelivery.php +++ b/app/Models/WebhookDelivery.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Models; diff --git a/app/Models/WebhookResponse.php b/app/Models/WebhookResponse.php index cd1b86f92e..c970e8b70e 100644 --- a/app/Models/WebhookResponse.php +++ b/app/Models/WebhookResponse.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Models; diff --git a/app/Models/WebhookTrigger.php b/app/Models/WebhookTrigger.php index 7eed476ced..4bd8cf444d 100644 --- a/app/Models/WebhookTrigger.php +++ b/app/Models/WebhookTrigger.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Models; diff --git a/app/Notifications/User/SubscriptionsOverdueReminder.php b/app/Notifications/User/SubscriptionsOverdueReminder.php index 2db7fa53d5..b3647ad128 100644 --- a/app/Notifications/User/SubscriptionsOverdueReminder.php +++ b/app/Notifications/User/SubscriptionsOverdueReminder.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Notifications\User; diff --git a/app/Support/JsonApi/Enrichments/BudgetEnrichment.php b/app/Support/JsonApi/Enrichments/BudgetEnrichment.php index a0d6a7893e..426fb70490 100644 --- a/app/Support/JsonApi/Enrichments/BudgetEnrichment.php +++ b/app/Support/JsonApi/Enrichments/BudgetEnrichment.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Support\JsonApi\Enrichments; diff --git a/app/Support/JsonApi/Enrichments/BudgetLimitEnrichment.php b/app/Support/JsonApi/Enrichments/BudgetLimitEnrichment.php index d2cb02f993..3ca2c5a508 100644 --- a/app/Support/JsonApi/Enrichments/BudgetLimitEnrichment.php +++ b/app/Support/JsonApi/Enrichments/BudgetLimitEnrichment.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Support\JsonApi\Enrichments; diff --git a/app/Support/JsonApi/Enrichments/CategoryEnrichment.php b/app/Support/JsonApi/Enrichments/CategoryEnrichment.php index 39be921a31..7547b57f4b 100644 --- a/app/Support/JsonApi/Enrichments/CategoryEnrichment.php +++ b/app/Support/JsonApi/Enrichments/CategoryEnrichment.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Support\JsonApi\Enrichments; diff --git a/app/Support/JsonApi/Enrichments/PiggyBankEnrichment.php b/app/Support/JsonApi/Enrichments/PiggyBankEnrichment.php index 62a0ecb11d..6a50ff421e 100644 --- a/app/Support/JsonApi/Enrichments/PiggyBankEnrichment.php +++ b/app/Support/JsonApi/Enrichments/PiggyBankEnrichment.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Support\JsonApi\Enrichments; diff --git a/app/Support/JsonApi/Enrichments/PiggyBankEventEnrichment.php b/app/Support/JsonApi/Enrichments/PiggyBankEventEnrichment.php index 76ea5318f4..e70bfb226f 100644 --- a/app/Support/JsonApi/Enrichments/PiggyBankEventEnrichment.php +++ b/app/Support/JsonApi/Enrichments/PiggyBankEventEnrichment.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Support\JsonApi\Enrichments; diff --git a/app/Support/JsonApi/Enrichments/RecurringEnrichment.php b/app/Support/JsonApi/Enrichments/RecurringEnrichment.php index b128ddd442..4800ec98df 100644 --- a/app/Support/JsonApi/Enrichments/RecurringEnrichment.php +++ b/app/Support/JsonApi/Enrichments/RecurringEnrichment.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Support\JsonApi\Enrichments; diff --git a/app/Support/JsonApi/Enrichments/SubscriptionEnrichment.php b/app/Support/JsonApi/Enrichments/SubscriptionEnrichment.php index 18e195a6f3..1c18db20de 100644 --- a/app/Support/JsonApi/Enrichments/SubscriptionEnrichment.php +++ b/app/Support/JsonApi/Enrichments/SubscriptionEnrichment.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Support\JsonApi\Enrichments; diff --git a/app/Support/JsonApi/Enrichments/WebhookEnrichment.php b/app/Support/JsonApi/Enrichments/WebhookEnrichment.php index 0a79545f4e..10658c0106 100644 --- a/app/Support/JsonApi/Enrichments/WebhookEnrichment.php +++ b/app/Support/JsonApi/Enrichments/WebhookEnrichment.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Support\JsonApi\Enrichments; diff --git a/app/Support/Observers/RecalculatesAvailableBudgetsTrait.php b/app/Support/Observers/RecalculatesAvailableBudgetsTrait.php index a6f33660dc..3f50036ab1 100644 --- a/app/Support/Observers/RecalculatesAvailableBudgetsTrait.php +++ b/app/Support/Observers/RecalculatesAvailableBudgetsTrait.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Support\Observers; diff --git a/app/Support/Request/ValidatesWebhooks.php b/app/Support/Request/ValidatesWebhooks.php index eb580e6e86..564af6510d 100644 --- a/app/Support/Request/ValidatesWebhooks.php +++ b/app/Support/Request/ValidatesWebhooks.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Support\Request; diff --git a/app/Support/Singleton/PreferencesSingleton.php b/app/Support/Singleton/PreferencesSingleton.php index e955a0f5ec..32b9bb94f6 100644 --- a/app/Support/Singleton/PreferencesSingleton.php +++ b/app/Support/Singleton/PreferencesSingleton.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Support\Singleton; diff --git a/config/webhooks.php b/config/webhooks.php index 75ff4bddcd..7aada2399c 100644 --- a/config/webhooks.php +++ b/config/webhooks.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); // this is hard coded, which is unfortunate. diff --git a/database/migrations/2025_07_10_065736_rename_tag_mode.php b/database/migrations/2025_07_10_065736_rename_tag_mode.php index 26efd17a93..1785933cc9 100644 --- a/database/migrations/2025_07_10_065736_rename_tag_mode.php +++ b/database/migrations/2025_07_10_065736_rename_tag_mode.php @@ -1,5 +1,26 @@ . + */ + use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Log; diff --git a/database/migrations/2025_08_19_180459_create_webhook_details_tables.php b/database/migrations/2025_08_19_180459_create_webhook_details_tables.php index c25d4083eb..bed7e0b0ad 100644 --- a/database/migrations/2025_08_19_180459_create_webhook_details_tables.php +++ b/database/migrations/2025_08_19_180459_create_webhook_details_tables.php @@ -1,5 +1,26 @@ . + */ + use Illuminate\Database\Migrations\Migration; use Illuminate\Database\QueryException; use Illuminate\Database\Schema\Blueprint; diff --git a/database/seeders/WebhookDataSeeder.php b/database/seeders/WebhookDataSeeder.php index 75b46820a7..67cabb792a 100644 --- a/database/seeders/WebhookDataSeeder.php +++ b/database/seeders/WebhookDataSeeder.php @@ -1,5 +1,26 @@ . + */ + namespace Database\Seeders; use FireflyIII\Enums\WebhookTrigger; diff --git a/public/index.php b/public/index.php index e1efbd4614..d91104f6a2 100644 --- a/public/index.php +++ b/public/index.php @@ -1,4 +1,25 @@ . + */ + declare(strict_types=1); use Illuminate\Contracts\Http\Kernel; diff --git a/public/v1/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.svg b/public/v1/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.svg index 94fb5490a2..187805af66 100644 --- a/public/v1/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.svg +++ b/public/v1/fonts/vendor/bootstrap-sass/bootstrap/glyphicons-halflings-regular.svg @@ -285,4 +285,4 @@ - \ No newline at end of file + diff --git a/public/v1/fonts/vendor/font-awesome/fontawesome-webfont.svg b/public/v1/fonts/vendor/font-awesome/fontawesome-webfont.svg index 855c845e53..52c0773359 100644 --- a/public/v1/fonts/vendor/font-awesome/fontawesome-webfont.svg +++ b/public/v1/fonts/vendor/font-awesome/fontawesome-webfont.svg @@ -8,7 +8,7 @@ Copyright Dave Gandy 2016. All rights reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/tests/integration/Api/Chart/AccountControllerTest.php b/tests/integration/Api/Chart/AccountControllerTest.php index 067f347ef8..ff2b717df6 100644 --- a/tests/integration/Api/Chart/AccountControllerTest.php +++ b/tests/integration/Api/Chart/AccountControllerTest.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace Tests\integration\Api\Chart; diff --git a/tests/integration/Api/Chart/BalanceControllerTest.php b/tests/integration/Api/Chart/BalanceControllerTest.php index 69f0fa9785..3762d0a22c 100644 --- a/tests/integration/Api/Chart/BalanceControllerTest.php +++ b/tests/integration/Api/Chart/BalanceControllerTest.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace Tests\integration\Api\Chart; diff --git a/tests/integration/Api/Chart/BudgetControllerTest.php b/tests/integration/Api/Chart/BudgetControllerTest.php index a9457e3822..f5e6603483 100644 --- a/tests/integration/Api/Chart/BudgetControllerTest.php +++ b/tests/integration/Api/Chart/BudgetControllerTest.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace Tests\integration\Api\Chart; diff --git a/tests/integration/Api/Chart/CategoryControllerTest.php b/tests/integration/Api/Chart/CategoryControllerTest.php index 7aa7f8ce0b..d80e4fccb2 100644 --- a/tests/integration/Api/Chart/CategoryControllerTest.php +++ b/tests/integration/Api/Chart/CategoryControllerTest.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace Tests\integration\Api\Chart; diff --git a/tests/unit/Support/Search/QueryParser/AbstractQueryParserInterfaceParseQueryTester.php b/tests/unit/Support/Search/QueryParser/AbstractQueryParserInterfaceParseQueryTester.php index a3e99863e6..50f72fe69b 100644 --- a/tests/unit/Support/Search/QueryParser/AbstractQueryParserInterfaceParseQueryTester.php +++ b/tests/unit/Support/Search/QueryParser/AbstractQueryParserInterfaceParseQueryTester.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace Tests\unit\Support\Search\QueryParser; diff --git a/tests/unit/Support/Search/QueryParser/QueryParserParseQueryTest.php b/tests/unit/Support/Search/QueryParser/QueryParserParseQueryTest.php index bdfffc427a..085f11b1f5 100644 --- a/tests/unit/Support/Search/QueryParser/QueryParserParseQueryTest.php +++ b/tests/unit/Support/Search/QueryParser/QueryParserParseQueryTest.php @@ -1,5 +1,26 @@ . + */ + declare(strict_types=1); namespace Tests\unit\Support\Search\QueryParser;