diff --git a/app/Console/Commands/Correction/FixIbans.php b/app/Console/Commands/Correction/FixIbans.php index 8cc193c6f5..259b916dc9 100644 --- a/app/Console/Commands/Correction/FixIbans.php +++ b/app/Console/Commands/Correction/FixIbans.php @@ -1,4 +1,25 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Console\Commands\Correction; diff --git a/app/Handlers/Events/BillEventHandler.php b/app/Handlers/Events/BillEventHandler.php index d1bee3b26d..412243850e 100644 --- a/app/Handlers/Events/BillEventHandler.php +++ b/app/Handlers/Events/BillEventHandler.php @@ -1,5 +1,27 @@ . + */ + +declare(strict_types=1); + namespace FireflyIII\Handlers\Events; use FireflyIII\Events\WarnUserAboutBill; @@ -38,4 +60,4 @@ class BillEventHandler Log::debug('warnAboutBill'); } -} \ No newline at end of file +} diff --git a/app/Helpers/Collector/Extensions/AttachmentCollection.php b/app/Helpers/Collector/Extensions/AttachmentCollection.php index 470e150886..6479bc01a3 100644 --- a/app/Helpers/Collector/Extensions/AttachmentCollection.php +++ b/app/Helpers/Collector/Extensions/AttachmentCollection.php @@ -1,5 +1,27 @@ . + */ + +declare(strict_types=1); + namespace FireflyIII\Helpers\Collector\Extensions; use FireflyIII\Helpers\Collector\GroupCollectorInterface; @@ -281,4 +303,4 @@ trait AttachmentCollection return $this; } -} \ No newline at end of file +} diff --git a/app/Jobs/WarnAboutBills.php b/app/Jobs/WarnAboutBills.php index 64f91c22f9..5171d8ee73 100644 --- a/app/Jobs/WarnAboutBills.php +++ b/app/Jobs/WarnAboutBills.php @@ -1,5 +1,27 @@ . + */ + +declare(strict_types=1); + namespace FireflyIII\Jobs; use Carbon\Carbon; @@ -150,4 +172,4 @@ class WarnAboutBills implements ShouldQueue { $this->force = $force; } -} \ No newline at end of file +} diff --git a/app/Mail/BillWarningMail.php b/app/Mail/BillWarningMail.php index 3218dba926..04dd4b4113 100644 --- a/app/Mail/BillWarningMail.php +++ b/app/Mail/BillWarningMail.php @@ -1,5 +1,27 @@ . + */ + +declare(strict_types=1); + namespace FireflyIII\Mail; use FireflyIII\Models\Bill; diff --git a/config/sanctum.php b/config/sanctum.php index d9d06126d3..8b1fa3633c 100644 --- a/config/sanctum.php +++ b/config/sanctum.php @@ -1,4 +1,25 @@ . + */ + declare(strict_types=1); use FireflyIII\Http\Middleware\EncryptCookies; diff --git a/config/search.php b/config/search.php index 023e361989..a81cd55eaa 100644 --- a/config/search.php +++ b/config/search.php @@ -1,5 +1,27 @@ . + */ + +declare(strict_types=1); + return [ 'operators' => [ 'user_action' => ['alias' => false, 'needs_context' => true,], @@ -208,4 +230,4 @@ return [ 'attachment_notes_ends' => ['alias' => false, 'needs_context' => true], 'attachment_notes_end' => ['alias' => true, 'alias_for' => 'attachment_notes_ends', 'needs_context' => true], ], -]; \ No newline at end of file +]; diff --git a/config/twigbridge.php b/config/twigbridge.php index ec2f5bceb6..df8ec2f6aa 100644 --- a/config/twigbridge.php +++ b/config/twigbridge.php @@ -1,4 +1,25 @@ . + */ + declare(strict_types=1); diff --git a/database/migrations/2021_12_27_000001_create_local_personal_access_tokens_table.php b/database/migrations/2021_12_27_000001_create_local_personal_access_tokens_table.php index 2112b66b3e..4119b19071 100644 --- a/database/migrations/2021_12_27_000001_create_local_personal_access_tokens_table.php +++ b/database/migrations/2021_12_27_000001_create_local_personal_access_tokens_table.php @@ -1,4 +1,25 @@ . + */ + declare(strict_types=1); use Illuminate\Database\Migrations\Migration; diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js index 3f5b7e048a..fdd68ea42d 100644 --- a/frontend/.eslintrc.js +++ b/frontend/.eslintrc.js @@ -1,3 +1,23 @@ +/* + * .eslintrc.js + * Copyright (c) 2022 james@firefly-iii.org + * + * 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 . + */ + const { resolve } = require('path'); module.exports = { // https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy diff --git a/frontend/.postcssrc.js b/frontend/.postcssrc.js index 1174fe52b7..3e3fe5cb92 100644 --- a/frontend/.postcssrc.js +++ b/frontend/.postcssrc.js @@ -1,3 +1,23 @@ +/* + * .postcssrc.js + * Copyright (c) 2022 james@firefly-iii.org + * + * 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://github.com/michael-ciniawsky/postcss-load-config module.exports = { diff --git a/frontend/babel.config.js b/frontend/babel.config.js index fe9cae62e4..88ca4e7820 100644 --- a/frontend/babel.config.js +++ b/frontend/babel.config.js @@ -1,3 +1,23 @@ +/* + * babel.config.js + * Copyright (c) 2022 james@firefly-iii.org + * + * 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 . + */ + /* eslint-env node */ module.exports = api => { diff --git a/frontend/public/maskable-icon.svg b/frontend/public/maskable-icon.svg index 0ca6cc1be0..46ca2a846f 100644 --- a/frontend/public/maskable-icon.svg +++ b/frontend/public/maskable-icon.svg @@ -1,3 +1,23 @@ + + diff --git a/frontend/public/safari-pinned-tab.svg b/frontend/public/safari-pinned-tab.svg index 108c659acf..36c7d4ecc4 100644 --- a/frontend/public/safari-pinned-tab.svg +++ b/frontend/public/safari-pinned-tab.svg @@ -1,4 +1,24 @@ + + . + */ + /* * This file runs in a Node context (it's NOT transpiled by Babel), so use only * the ES6 features that are supported by your Node version. https://node.green/ diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 349912d43f..9e7fc72915 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,3 +1,23 @@ + + diff --git a/frontend/src/api/root/api.js b/frontend/src/api/root/api.js index 54695ee1a1..7e2d96f462 100644 --- a/frontend/src/api/root/api.js +++ b/frontend/src/api/root/api.js @@ -1,3 +1,23 @@ +/* + * api.js + * Copyright (c) 2022 james@firefly-iii.org + * + * 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 . + */ + import {api} from "boot/axios"; /** diff --git a/frontend/src/api/system/about.js b/frontend/src/api/system/about.js index 44e29a0c20..e895bf64bf 100644 --- a/frontend/src/api/system/about.js +++ b/frontend/src/api/system/about.js @@ -1,3 +1,23 @@ +/* + * about.js + * Copyright (c) 2022 james@firefly-iii.org + * + * 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 . + */ + import {api} from "boot/axios"; //import createAuthRefreshInterceptor from 'axios-auth-refresh'; diff --git a/frontend/src/api/system/configuration.js b/frontend/src/api/system/configuration.js index 1de0d58580..e57913ea55 100644 --- a/frontend/src/api/system/configuration.js +++ b/frontend/src/api/system/configuration.js @@ -1,4 +1,24 @@ +/* + * configuration.js + * Copyright (c) 2022 james@firefly-iii.org + * + * 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 . + */ + import {api} from "boot/axios"; export default class Configuration { diff --git a/frontend/src/api/system/user.js b/frontend/src/api/system/user.js index 3ff9d421e0..36d1e8464f 100644 --- a/frontend/src/api/system/user.js +++ b/frontend/src/api/system/user.js @@ -1,3 +1,23 @@ +/* + * user.js + * Copyright (c) 2022 james@firefly-iii.org + * + * 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 . + */ + import {api} from "boot/axios"; export default class AboutUser { diff --git a/frontend/src/boot/axios.js b/frontend/src/boot/axios.js index b5067a1205..37e2ffc6be 100644 --- a/frontend/src/boot/axios.js +++ b/frontend/src/boot/axios.js @@ -1,3 +1,23 @@ +/* + * axios.js + * Copyright (c) 2022 james@firefly-iii.org + * + * 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 . + */ + import {boot} from 'quasar/wrappers' import axios from 'axios' import {setupCache} from 'axios-cache-adapter' diff --git a/frontend/src/boot/i18n.js b/frontend/src/boot/i18n.js index bd1290d665..9d105e14bd 100644 --- a/frontend/src/boot/i18n.js +++ b/frontend/src/boot/i18n.js @@ -1,3 +1,23 @@ +/* + * i18n.js + * Copyright (c) 2022 james@firefly-iii.org + * + * 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 . + */ + import { boot } from 'quasar/wrappers' import { createI18n } from 'vue-i18n' import messages from 'src/i18n' diff --git a/frontend/src/components/CompositionComponent.vue b/frontend/src/components/CompositionComponent.vue index 67914640a3..0e7be94537 100644 --- a/frontend/src/components/CompositionComponent.vue +++ b/frontend/src/components/CompositionComponent.vue @@ -1,3 +1,23 @@ + +

{{ title }}

diff --git a/frontend/src/components/EssentialLink.vue b/frontend/src/components/EssentialLink.vue index c2899650e4..37f4fbef43 100644 --- a/frontend/src/components/EssentialLink.vue +++ b/frontend/src/components/EssentialLink.vue @@ -1,3 +1,23 @@ + +