diff --git a/app/Http/Controllers/Report/ExpenseController.php b/app/Http/Controllers/Report/ExpenseController.php index 1c4d2372fb..a738e8f529 100644 --- a/app/Http/Controllers/Report/ExpenseController.php +++ b/app/Http/Controllers/Report/ExpenseController.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); namespace FireflyIII\Http\Controllers\Report; diff --git a/bootstrap/app.php b/bootstrap/app.php index 1206138d26..1b508e3539 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); diff --git a/database/factories/ModelFactory.php b/database/factories/ModelFactory.php index cd2bbb02a3..f062df2915 100644 --- a/database/factories/ModelFactory.php +++ b/database/factories/ModelFactory.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use Carbon\Carbon; diff --git a/database/migrations/2016_06_16_000000_create_support_tables.php b/database/migrations/2016_06_16_000000_create_support_tables.php index 5d78e87275..ca71717423 100644 --- a/database/migrations/2016_06_16_000000_create_support_tables.php +++ b/database/migrations/2016_06_16_000000_create_support_tables.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use Illuminate\Database\Migrations\Migration; diff --git a/database/migrations/2016_06_16_000001_create_users_table.php b/database/migrations/2016_06_16_000001_create_users_table.php index deb00bb108..bbe1be7c80 100644 --- a/database/migrations/2016_06_16_000001_create_users_table.php +++ b/database/migrations/2016_06_16_000001_create_users_table.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use Illuminate\Database\Migrations\Migration; diff --git a/database/migrations/2016_06_16_000002_create_main_tables.php b/database/migrations/2016_06_16_000002_create_main_tables.php index 31434a31d2..e25fa7b0e5 100644 --- a/database/migrations/2016_06_16_000002_create_main_tables.php +++ b/database/migrations/2016_06_16_000002_create_main_tables.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use Illuminate\Database\Migrations\Migration; diff --git a/database/migrations/2016_08_25_091522_changes_for_3101.php b/database/migrations/2016_08_25_091522_changes_for_3101.php index 2a7260d695..923122df1b 100644 --- a/database/migrations/2016_08_25_091522_changes_for_3101.php +++ b/database/migrations/2016_08_25_091522_changes_for_3101.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use Illuminate\Database\Migrations\Migration; diff --git a/database/migrations/2016_09_12_121359_fix_nullables.php b/database/migrations/2016_09_12_121359_fix_nullables.php index 0ba1d0ec73..6ae393bb5c 100644 --- a/database/migrations/2016_09_12_121359_fix_nullables.php +++ b/database/migrations/2016_09_12_121359_fix_nullables.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use Illuminate\Database\Migrations\Migration; diff --git a/database/migrations/2016_10_09_150037_expand_transactions_table.php b/database/migrations/2016_10_09_150037_expand_transactions_table.php index 511c65c758..9c7956f061 100644 --- a/database/migrations/2016_10_09_150037_expand_transactions_table.php +++ b/database/migrations/2016_10_09_150037_expand_transactions_table.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use Illuminate\Database\Migrations\Migration; diff --git a/database/migrations/2016_10_22_075804_changes_for_v410.php b/database/migrations/2016_10_22_075804_changes_for_v410.php index ea2450f4f3..f43e497d2a 100644 --- a/database/migrations/2016_10_22_075804_changes_for_v410.php +++ b/database/migrations/2016_10_22_075804_changes_for_v410.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use Illuminate\Database\Migrations\Migration; diff --git a/database/migrations/2016_11_24_210552_changes_for_v420.php b/database/migrations/2016_11_24_210552_changes_for_v420.php index 01e1594b51..39a37e5fa0 100644 --- a/database/migrations/2016_11_24_210552_changes_for_v420.php +++ b/database/migrations/2016_11_24_210552_changes_for_v420.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use Illuminate\Database\Migrations\Migration; diff --git a/database/migrations/2016_12_22_150431_changes_for_v430.php b/database/migrations/2016_12_22_150431_changes_for_v430.php index 0d8530053c..dc23bc143d 100644 --- a/database/migrations/2016_12_22_150431_changes_for_v430.php +++ b/database/migrations/2016_12_22_150431_changes_for_v430.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use Illuminate\Database\Migrations\Migration; diff --git a/database/migrations/2016_12_28_203205_changes_for_v431.php b/database/migrations/2016_12_28_203205_changes_for_v431.php index 1ab70b5082..3c27a4856a 100644 --- a/database/migrations/2016_12_28_203205_changes_for_v431.php +++ b/database/migrations/2016_12_28_203205_changes_for_v431.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use Illuminate\Database\Migrations\Migration; diff --git a/database/migrations/2017_04_13_163623_changes_for_v440.php b/database/migrations/2017_04_13_163623_changes_for_v440.php index 6d1741e72c..e18524e7e8 100644 --- a/database/migrations/2017_04_13_163623_changes_for_v440.php +++ b/database/migrations/2017_04_13_163623_changes_for_v440.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use Illuminate\Database\Migrations\Migration; diff --git a/database/migrations/2017_06_02_105232_changes_for_v450.php b/database/migrations/2017_06_02_105232_changes_for_v450.php index 8c3ed17d95..811ba8e1de 100644 --- a/database/migrations/2017_06_02_105232_changes_for_v450.php +++ b/database/migrations/2017_06_02_105232_changes_for_v450.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use Illuminate\Database\Migrations\Migration; diff --git a/database/migrations/2017_08_20_062014_changes_for_v470.php b/database/migrations/2017_08_20_062014_changes_for_v470.php index 0f1173a17f..9c6fa7ec73 100644 --- a/database/migrations/2017_08_20_062014_changes_for_v470.php +++ b/database/migrations/2017_08_20_062014_changes_for_v470.php @@ -1,4 +1,23 @@ . + */ declare(strict_types=1); diff --git a/database/migrations/2017_11_04_170844_changes_for_v470a.php b/database/migrations/2017_11_04_170844_changes_for_v470a.php index 6ebbdb0a23..4de603be49 100644 --- a/database/migrations/2017_11_04_170844_changes_for_v470a.php +++ b/database/migrations/2017_11_04_170844_changes_for_v470a.php @@ -1,4 +1,23 @@ . + */ declare(strict_types=1); diff --git a/database/seeds/AccountTypeSeeder.php b/database/seeds/AccountTypeSeeder.php index da197ec149..85bc3b7d8e 100644 --- a/database/seeds/AccountTypeSeeder.php +++ b/database/seeds/AccountTypeSeeder.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use FireflyIII\Models\AccountType; diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php index 3dea62c233..4326840fa2 100644 --- a/database/seeds/DatabaseSeeder.php +++ b/database/seeds/DatabaseSeeder.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use Illuminate\Database\Seeder; diff --git a/database/seeds/LinkTypeSeeder.php b/database/seeds/LinkTypeSeeder.php index 96bee08d2f..64393aa296 100644 --- a/database/seeds/LinkTypeSeeder.php +++ b/database/seeds/LinkTypeSeeder.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use FireflyIII\Models\LinkType; diff --git a/database/seeds/PermissionSeeder.php b/database/seeds/PermissionSeeder.php index 2dcc304457..4c3cc140b9 100644 --- a/database/seeds/PermissionSeeder.php +++ b/database/seeds/PermissionSeeder.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use FireflyIII\Models\Role; diff --git a/database/seeds/TransactionCurrencySeeder.php b/database/seeds/TransactionCurrencySeeder.php index ba34918ac2..5c26248ab0 100644 --- a/database/seeds/TransactionCurrencySeeder.php +++ b/database/seeds/TransactionCurrencySeeder.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use FireflyIII\Models\TransactionCurrency; diff --git a/database/seeds/TransactionTypeSeeder.php b/database/seeds/TransactionTypeSeeder.php index d29d4e3dd5..823b5c4f02 100644 --- a/database/seeds/TransactionTypeSeeder.php +++ b/database/seeds/TransactionTypeSeeder.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); use FireflyIII\Models\TransactionType; diff --git a/public/js/ff/reports/account/all.js b/public/js/ff/reports/account/all.js index 8dab6cfa85..81a80886b1 100644 --- a/public/js/ff/reports/account/all.js +++ b/public/js/ff/reports/account/all.js @@ -1,3 +1,23 @@ +/* + * all.js + * Copyright (c) 2017 thegrumpydictator@gmail.com + * + * This file is part of Firefly III. + * + * Firefly III is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Firefly III 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Firefly III. If not, see . + */ + function loadAjaxPartial(holder, uri) { "use strict"; $.get(uri).done(function (data) { diff --git a/public/js/ff/reports/account/month.js b/public/js/ff/reports/account/month.js index b437a57e35..914908f4a1 100644 --- a/public/js/ff/reports/account/month.js +++ b/public/js/ff/reports/account/month.js @@ -1,4 +1,24 @@ +/* + * month.js + * Copyright (c) 2017 thegrumpydictator@gmail.com + * + * This file is part of Firefly III. + * + * Firefly III is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Firefly III 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Firefly III. If not, see . + */ + $(function () { "use strict"; drawChart(); diff --git a/resources/lang/en_US/auth.php b/resources/lang/en_US/auth.php index b7caa5b426..9b87133b5b 100644 --- a/resources/lang/en_US/auth.php +++ b/resources/lang/en_US/auth.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); return [ diff --git a/resources/lang/en_US/bank.php b/resources/lang/en_US/bank.php index 4becc5984c..d7bbee6d98 100644 --- a/resources/lang/en_US/bank.php +++ b/resources/lang/en_US/bank.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); diff --git a/resources/lang/en_US/breadcrumbs.php b/resources/lang/en_US/breadcrumbs.php index cf706f0fe5..6c834d0d02 100644 --- a/resources/lang/en_US/breadcrumbs.php +++ b/resources/lang/en_US/breadcrumbs.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); return [ 'home' => 'Home', diff --git a/resources/lang/en_US/config.php b/resources/lang/en_US/config.php index 0579902b74..807af7d3d1 100644 --- a/resources/lang/en_US/config.php +++ b/resources/lang/en_US/config.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); return [ 'locale' => 'en, English, en_US, en_US.utf8, en_US.UTF-8', diff --git a/resources/lang/en_US/csv.php b/resources/lang/en_US/csv.php index 6043bf1e0c..8889ca3aab 100644 --- a/resources/lang/en_US/csv.php +++ b/resources/lang/en_US/csv.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); return [ diff --git a/resources/lang/en_US/demo.php b/resources/lang/en_US/demo.php index 757f0bdb97..b1796eb4fd 100644 --- a/resources/lang/en_US/demo.php +++ b/resources/lang/en_US/demo.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); return [ 'no_demo_text' => 'Sorry, there is no extra demo-explanation text for this page.', diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php index 06497d765f..7f3180faf9 100644 --- a/resources/lang/en_US/firefly.php +++ b/resources/lang/en_US/firefly.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); return [ // general stuff: diff --git a/resources/lang/en_US/form.php b/resources/lang/en_US/form.php index 20c76d5daa..035d405f7d 100644 --- a/resources/lang/en_US/form.php +++ b/resources/lang/en_US/form.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); return [ diff --git a/resources/lang/en_US/intro.php b/resources/lang/en_US/intro.php index ce2faaf9b9..d0277f2704 100644 --- a/resources/lang/en_US/intro.php +++ b/resources/lang/en_US/intro.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); return [ // index diff --git a/resources/lang/en_US/list.php b/resources/lang/en_US/list.php index 55e73e3e43..4e65fd049c 100644 --- a/resources/lang/en_US/list.php +++ b/resources/lang/en_US/list.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); return [ 'buttons' => 'Buttons', diff --git a/resources/lang/en_US/pagination.php b/resources/lang/en_US/pagination.php index d3016a093a..dd10f0b21e 100644 --- a/resources/lang/en_US/pagination.php +++ b/resources/lang/en_US/pagination.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); return [ diff --git a/resources/lang/en_US/passwords.php b/resources/lang/en_US/passwords.php index 515a252b46..a6a8f034d5 100644 --- a/resources/lang/en_US/passwords.php +++ b/resources/lang/en_US/passwords.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); return [ 'password' => 'Passwords must be at least six characters and match the confirmation.', diff --git a/resources/lang/en_US/validation.php b/resources/lang/en_US/validation.php index 569840b794..e239c56077 100644 --- a/resources/lang/en_US/validation.php +++ b/resources/lang/en_US/validation.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1); return [ 'iban' => 'This is not a valid IBAN.', diff --git a/routes/api.php b/routes/api.php index c641ca5e5b..f2da7c5098 100644 --- a/routes/api.php +++ b/routes/api.php @@ -1,4 +1,23 @@ . + */ use Illuminate\Http\Request; diff --git a/routes/channels.php b/routes/channels.php index f16a20b9bf..5bdaf5a618 100644 --- a/routes/channels.php +++ b/routes/channels.php @@ -1,4 +1,23 @@ . + */ /* |-------------------------------------------------------------------------- diff --git a/routes/console.php b/routes/console.php index 75dd0cdedb..a48dab62ae 100644 --- a/routes/console.php +++ b/routes/console.php @@ -1,4 +1,23 @@ . + */ use Illuminate\Foundation\Inspiring; diff --git a/routes/web.php b/routes/web.php index 59ca359b92..9dabbc018e 100755 --- a/routes/web.php +++ b/routes/web.php @@ -1,4 +1,24 @@ . + */ + declare(strict_types=1);