Add newlines and copyright notices.

This commit is contained in:
James Cole
2018-12-31 07:48:23 +01:00
parent 005e4ba4d1
commit 3e25d66902
113 changed files with 381 additions and 97 deletions

2
.github/stale.yml vendored
View File

@@ -55,4 +55,4 @@ limitPerRun: 30
# issues: # issues:
# exemptLabels: # exemptLabels:
# - confirmed # - confirmed

View File

@@ -181,4 +181,4 @@ class ImportController extends Controller
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json'); return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
} }
} }

View File

@@ -245,4 +245,4 @@ class TagController extends Controller
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json'); return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
} }
} }

View File

@@ -1,5 +1,27 @@
<?php <?php
/**
* ApplyRules.php
* Copyright (c) 2018 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 <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Console\Commands; namespace FireflyIII\Console\Commands;
use Carbon\Carbon; use Carbon\Carbon;

View File

@@ -1,5 +1,27 @@
<?php <?php
/**
* Cron.php
* Copyright (c) 2018 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 <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Console\Commands; namespace FireflyIII\Console\Commands;
use FireflyIII\Exceptions\FireflyException; use FireflyIII\Exceptions\FireflyException;

View File

@@ -1,4 +1,25 @@
<?php <?php
/**
* RequestedReportOnJournals.php
* Copyright (c) 2018 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 <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1); declare(strict_types=1);
/** /**
* RequestedReportOnJournals.php * RequestedReportOnJournals.php

View File

@@ -940,4 +940,4 @@ class TransactionCollector implements TransactionCollectorInterface
$this->query->leftJoin('tag_transaction_journal', 'tag_transaction_journal.transaction_journal_id', '=', 'transaction_journals.id'); $this->query->leftJoin('tag_transaction_journal', 'tag_transaction_journal.transaction_journal_id', '=', 'transaction_journals.id');
} }
} }
} }

View File

@@ -347,4 +347,4 @@ interface TransactionCollectorInterface
* @return TransactionCollectorInterface * @return TransactionCollectorInterface
*/ */
public function withoutCategory(): TransactionCollectorInterface; public function withoutCategory(): TransactionCollectorInterface;
} }

View File

@@ -59,4 +59,4 @@ class DoubleTransactionFilter implements FilterInterface
return $result; return $result;
} }
} }

View File

@@ -155,4 +155,4 @@ class NetWorth implements NetWorthInterface
$this->currencyRepos = app(CurrencyRepositoryInterface::class); $this->currencyRepos = app(CurrencyRepositoryInterface::class);
$this->currencyRepos->setUser($this->user); $this->currencyRepos->setUser($this->user);
} }
} }

View File

@@ -57,4 +57,4 @@ interface NetWorthInterface
*/ */
public function setUser(User $user): void; public function setUser(User $user): void;
} }

View File

@@ -72,4 +72,4 @@ class CallbackController extends Controller
return redirect(route('import.job.status.index', [$importJob->key])); return redirect(route('import.job.status.index', [$importJob->key]));
} }
} }

View File

@@ -32,4 +32,4 @@ abstract class FinTSConfigurationSteps
public const NEW = 'new'; public const NEW = 'new';
public const CHOOSE_ACCOUNT = 'choose_account'; public const CHOOSE_ACCOUNT = 'choose_account';
public const GO_FOR_IMPORT = 'go-for-import'; public const GO_FOR_IMPORT = 'go-for-import';
} }

View File

@@ -131,4 +131,4 @@ class FinTSJobConfiguration implements JobConfigurationInterface
} }
} }

View File

@@ -138,4 +138,4 @@ class YnabJobConfiguration implements JobConfigurationInterface
return $handler; return $handler;
} }
} }

View File

@@ -143,4 +143,4 @@ class YnabPrerequisites implements PrerequisitesInterface
return true; return true;
} }
} }

View File

@@ -85,4 +85,4 @@ class FinTSRoutine implements RoutineInterface
$this->repository->setUser($importJob->user); $this->repository->setUser($importJob->user);
} }
} }

View File

@@ -140,4 +140,4 @@ class YnabRoutine implements RoutineInterface
$this->repository = app(ImportJobRepositoryInterface::class); $this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user); $this->repository->setUser($importJob->user);
} }
} }

View File

@@ -1,4 +1,25 @@
<?php <?php
/**
* CreateRecurringTransactions.php
* Copyright (c) 2018 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 <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1); declare(strict_types=1);

View File

@@ -65,4 +65,4 @@ class IsAssetAccountId implements Rule
return true; return true;
} }
} }

View File

@@ -1,5 +1,27 @@
<?php <?php
/**
* IsBoolean.php
* Copyright (c) 2018 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 <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Rules; namespace FireflyIII\Rules;
use Illuminate\Contracts\Validation\Rule; use Illuminate\Contracts\Validation\Rule;

View File

@@ -1,5 +1,27 @@
<?php <?php
/**
* ZeroOrMore.php
* Copyright (c) 2018 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 <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
namespace FireflyIII\Rules; namespace FireflyIII\Rules;
use Illuminate\Contracts\Validation\Rule; use Illuminate\Contracts\Validation\Rule;

View File

@@ -51,4 +51,4 @@ class GetAccountsRequest extends YnabRequest
// expect data in [data][accounts] // expect data in [data][accounts]
$this->accounts = $result['data']['accounts'] ?? []; $this->accounts = $result['data']['accounts'] ?? [];
} }
} }

View File

@@ -67,4 +67,4 @@ class GetBudgetsRequest extends YnabRequest
} }
$this->budgets = $freshBudgets; $this->budgets = $freshBudgets;
} }
} }

View File

@@ -55,4 +55,4 @@ class GetTransactionsRequest extends YnabRequest
// expect data in [data][transactions] // expect data in [data][transactions]
$this->transactions = $result['data']['transactions'] ?? []; $this->transactions = $result['data']['transactions'] ?? [];
} }
} }

View File

@@ -98,4 +98,4 @@ abstract class YnabRequest
$this->token = $token; $this->token = $token;
} }
} }

View File

@@ -59,4 +59,4 @@ class CLIToken implements BinderInterface
} }
throw new NotFoundHttpException; throw new NotFoundHttpException;
} }
} }

View File

@@ -48,4 +48,4 @@ class ConfigurationName implements BinderInterface
} }
throw new NotFoundHttpException; throw new NotFoundHttpException;
} }
} }

View File

@@ -36,4 +36,4 @@ abstract class AbstractCronjob
*/ */
abstract public function fire(): bool; abstract public function fire(): bool;
} }

View File

@@ -81,4 +81,4 @@ class RecurringCronjob extends AbstractCronjob
$job->handle(); $job->handle();
app('fireflyconfig')->set('last_rt_job', time()); app('fireflyconfig')->set('last_rt_job', time());
} }
} }

View File

@@ -118,4 +118,4 @@ class FinTS
throw new FireflyException($exception->getMessage()); throw new FireflyException($exception->getMessage());
} }
} }
} }

View File

@@ -46,4 +46,4 @@ class MetadataParser
return $finTSDescription; return $finTSDescription;
} }
} }

View File

@@ -87,4 +87,4 @@ trait AccountFilter
return $return; // @codeCoverageIgnore return $return; // @codeCoverageIgnore
} }
} }

View File

@@ -66,4 +66,4 @@ trait TransactionFilter
return $return; return $return;
} }
} }

View File

@@ -90,4 +90,4 @@ trait BasicDataSupport
return $result; return $result;
} }
} }

View File

@@ -216,4 +216,4 @@ trait CreateStuff
throw new FireflyException($e->getMessage()); throw new FireflyException($e->getMessage());
} }
} }
} }

View File

@@ -250,4 +250,4 @@ trait GetConfigurationData
request()->session()->flash('warning', trans('firefly.recurring_cron_long_ago')); request()->session()->flash('warning', trans('firefly.recurring_cron_long_ago'));
} }
} }
} }

View File

@@ -62,4 +62,4 @@ trait ModelInformation
return $count > 2; return $count > 2;
} }
} }

View File

@@ -456,4 +456,4 @@ trait PeriodOverview
return $return; return $return;
} }
} }

View File

@@ -326,4 +326,4 @@ trait RenderPartialViews
return $result; return $result;
} }
} }

View File

@@ -403,4 +403,4 @@ trait RequestInformation
); );
} }
} }

View File

@@ -199,4 +199,4 @@ trait TransactionCalculation
return $collector->getTransactions(); return $collector->getTransactions();
} }
} }

View File

@@ -149,4 +149,4 @@ trait UserNavigation
Log::debug(sprintf('Will put previous URI in cache under key %s: %s', $identifier, $url)); Log::debug(sprintf('Will put previous URI in cache under key %s: %s', $identifier, $url));
} }
} }
} }

View File

@@ -120,4 +120,4 @@ class ChooseAccountHandler implements FinTSConfigurationInterface
$this->accountRepository = app(AccountRepositoryInterface::class); $this->accountRepository = app(AccountRepositoryInterface::class);
$this->repository->setUser($importJob->user); $this->repository->setUser($importJob->user);
} }
} }

View File

@@ -50,4 +50,4 @@ interface FinTSConfigurationInterface
* @param ImportJob $importJob * @param ImportJob $importJob
*/ */
public function setImportJob(ImportJob $importJob): void; public function setImportJob(ImportJob $importJob): void;
} }

View File

@@ -107,4 +107,4 @@ class NewFinTSJobHandler implements FinTSConfigurationInterface
$this->repository->setUser($importJob->user); $this->repository->setUser($importJob->user);
} }
} }

View File

@@ -255,4 +255,4 @@ class NewYnabJobHandler implements YnabJobConfigurationInterface
return true; return true;
} }
} }

View File

@@ -234,4 +234,4 @@ class SelectAccountsHandler implements YnabJobConfigurationInterface
return ''; return '';
} }
} }

View File

@@ -182,4 +182,4 @@ class SelectBudgetHandler implements YnabJobConfigurationInterface
return false; return false;
} }
} }

View File

@@ -69,4 +69,4 @@ interface YnabJobConfigurationInterface
* @param ImportJob $importJob * @param ImportJob $importJob
*/ */
public function setImportJob(ImportJob $importJob): void; public function setImportJob(ImportJob $importJob): void;
} }

View File

@@ -241,4 +241,4 @@ class PaymentConverter
} }
} }

View File

@@ -117,4 +117,4 @@ class OFXProcessor implements FileProcessorInterface
$this->repository->setUser($importJob->user); $this->repository->setUser($importJob->user);
} }
} }

View File

@@ -186,4 +186,4 @@ class StageImportDataHandler
return $storeData; return $storeData;
} }
} }

View File

@@ -77,4 +77,4 @@ class GetAccountsHandler
$this->repository = app(ImportJobRepositoryInterface::class); $this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user); $this->repository->setUser($importJob->user);
} }
} }

View File

@@ -275,4 +275,4 @@ class ImportDataHandler
return $request->transactions; return $request->transactions;
} }
} }

View File

@@ -105,4 +105,4 @@ class StageGetAccessHandler
$this->repository = app(ImportJobRepositoryInterface::class); $this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user); $this->repository->setUser($importJob->user);
} }
} }

View File

@@ -72,4 +72,4 @@ class StageGetBudgetsHandler
$this->repository = app(ImportJobRepositoryInterface::class); $this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user); $this->repository->setUser($importJob->user);
} }
} }

View File

@@ -52,4 +52,4 @@ class StageGetTransactionsHandler
$this->repository = app(ImportJobRepositoryInterface::class); $this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user); $this->repository->setUser($importJob->user);
} }
} }

View File

@@ -54,4 +54,4 @@ class StageMatchAccountsHandler
$this->repository = app(ImportJobRepositoryInterface::class); $this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user); $this->repository->setUser($importJob->user);
} }
} }

View File

@@ -206,4 +206,4 @@ class ConvertToDeposit implements ActionInterface
return true; return true;
} }
} }

View File

@@ -204,4 +204,4 @@ class ConvertToTransfer implements ActionInterface
return true; return true;
} }
} }

View File

@@ -209,4 +209,4 @@ class ConvertToWithdrawal implements ActionInterface
return true; return true;
} }
} }

View File

@@ -50,4 +50,4 @@ class AbstractTransformer extends TransformerAbstract
{ {
$this->parameters = $parameters; $this->parameters = $parameters;
} }
} }

View File

@@ -1,5 +1,27 @@
<?php <?php
/**
* adldap.php
* Copyright (c) 2018 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 <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
use Adldap\Schemas\ActiveDirectory; use Adldap\Schemas\ActiveDirectory;
use Adldap\Schemas\FreeIPA; use Adldap\Schemas\FreeIPA;
use Adldap\Schemas\OpenLDAP; use Adldap\Schemas\OpenLDAP;

View File

@@ -1,5 +1,27 @@
<?php <?php
/**
* adldap_auth.php
* Copyright (c) 2018 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 <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
use Adldap\Laravel\Scopes\UidScope; use Adldap\Laravel\Scopes\UidScope;
use Adldap\Laravel\Scopes\UpnScope; use Adldap\Laravel\Scopes\UpnScope;

View File

@@ -37,4 +37,4 @@ $factory->define(
'active' => true, 'active' => true,
]; ];
} }
); );

View File

@@ -1,4 +1,26 @@
<?php <?php
/**
* UserFactory.php
* Copyright (c) 2018 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 <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
/** /**
* UserFactory.php * UserFactory.php
* Copyright (c) 2018 thegrumpydictator@gmail.com * Copyright (c) 2018 thegrumpydictator@gmail.com

View File

@@ -1,4 +1,25 @@
<?php <?php
/**
* 2018_06_08_200526_changes_for_v475.php
* Copyright (c) 2018 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 <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1); declare(strict_types=1);
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;

View File

@@ -1,5 +1,27 @@
<?php <?php
/**
* 2018_09_05_195147_changes_for_v477.php
* Copyright (c) 2018 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 <http://www.gnu.org/licenses/>.
*/
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,26 @@
<?php <?php
/**
* 2018_11_06_172532_changes_for_v479.php
* Copyright (c) 2018 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 <http://www.gnu.org/licenses/>.
*/
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,24 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!--
~ browserconfig.xml
~ Copyright (c) 2018 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 <http://www.gnu.org/licenses/>.
-->
<browserconfig> <browserconfig>
<msapplication> <msapplication>
<tile> <tile>

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* api.php * api.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com
@@ -334,4 +335,4 @@ Route::group(
Route::put('{user}', ['uses' => 'UserController@update', 'as' => 'update']); Route::put('{user}', ['uses' => 'UserController@update', 'as' => 'update']);
Route::delete('{user}', ['uses' => 'UserController@delete', 'as' => 'delete']); Route::delete('{user}', ['uses' => 'UserController@delete', 'as' => 'delete']);
} }
); );

View File

@@ -1135,4 +1135,4 @@ try {
} }
); );
} catch (DuplicateBreadcrumbException $e) { } catch (DuplicateBreadcrumbException $e) {
} }

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* channels.php * channels.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com

View File

@@ -1,4 +1,5 @@
<?php <?php
declare(strict_types=1);
/** /**
* console.php * console.php
* Copyright (c) 2017 thegrumpydictator@gmail.com * Copyright (c) 2017 thegrumpydictator@gmail.com

0
routes/web.php Executable file → Normal file
View File

View File

@@ -132,4 +132,4 @@ class ImportControllerTest extends TestCase
$response->assertHeader('Content-Type', 'application/vnd.api+json'); $response->assertHeader('Content-Type', 'application/vnd.api+json');
} }
} }

View File

@@ -302,4 +302,4 @@ class PiggyBankControllerTest extends TestCase
} }
} }

View File

@@ -163,4 +163,4 @@ class PreferencesControllerTest extends TestCase
} }
} }

View File

@@ -374,4 +374,4 @@ class RuleControllerTest extends TestCase
} }
} }

View File

@@ -317,4 +317,4 @@ class RuleGroupControllerTest extends TestCase
} }
} }

View File

@@ -276,4 +276,4 @@ class TagControllerTest extends TestCase
$response->assertStatus(200); $response->assertStatus(200);
} }
} }

View File

@@ -104,4 +104,4 @@ class CallbackControllerTest extends TestCase
$response->assertStatus(200); $response->assertStatus(200);
$response->assertSee('You Need A Budget did not reply with a valid authorization code. Firefly III cannot continue.'); $response->assertSee('You Need A Budget did not reply with a valid authorization code. Firefly III cannot continue.');
} }
} }

View File

@@ -361,4 +361,4 @@ class RecurrenceControllerTest extends TestCase
$response->assertExactJson($expected); $response->assertExactJson($expected);
} }
} }

View File

@@ -468,4 +468,4 @@ class CreateControllerTest extends TestCase
$response->assertStatus(302); $response->assertStatus(302);
$response->assertSessionHas('success'); $response->assertSessionHas('success');
} }
} }

View File

@@ -80,4 +80,4 @@ class DeleteControllerTest extends TestCase
} }
} }

View File

@@ -146,4 +146,4 @@ class EditControllerTest extends TestCase
$response->assertSessionHas('success'); $response->assertSessionHas('success');
} }
} }

View File

@@ -126,4 +126,4 @@ class IndexControllerTest extends TestCase
} }
} }

View File

@@ -114,4 +114,4 @@ class CronControllerTest extends TestCase
} }
} }

View File

@@ -118,4 +118,4 @@ class AccountMetaFactoryTest extends TestCase
$this->assertEquals($result->account_id, $account->id); $this->assertEquals($result->account_id, $account->id);
} }
} }

View File

@@ -68,4 +68,4 @@ class AttachmentFactoryTest extends TestCase
} }
} }

View File

@@ -549,4 +549,4 @@ class RecurrenceFactoryTest extends TestCase
$this->assertNull($result); $this->assertNull($result);
} }
} }

View File

@@ -59,4 +59,4 @@ class TransactionTypeFactoryTest extends TestCase
$this->assertEquals($result->id, $type->id); $this->assertEquals($result->id, $type->id);
} }
} }

View File

@@ -195,4 +195,4 @@ class ChartJsGeneratorTest extends TestCase
$this->assertEquals(1.0, $result['datasets'][0]['data'][0]); $this->assertEquals(1.0, $result['datasets'][0]['data'][0]);
} }
} }

View File

@@ -227,4 +227,4 @@ class MonthReportGeneratorTest extends TestCase
$this->assertEquals('100', $result['endBalance']); $this->assertEquals('100', $result['endBalance']);
} }
} }

View File

@@ -73,4 +73,4 @@ class APIEventHandlerTest extends TestCase
} }
} }

View File

@@ -77,4 +77,4 @@ class AutomationHandlerTest extends TestCase
} }
); );
} }
} }

View File

@@ -77,4 +77,4 @@ class StoredJournalEventHandlerTest extends TestCase
$this->assertTrue(false, $e->getMessage()); $this->assertTrue(false, $e->getMessage());
} }
} }
} }

View File

@@ -75,4 +75,4 @@ class UpdatedJournalEventHandlerTest extends TestCase
} }
} }
} }

View File

@@ -66,4 +66,4 @@ class AmountFilterTest extends TestCase
$result = $filter->filter($collection); $result = $filter->filter($collection);
$this->assertCount($count, $result); $this->assertCount($count, $result);
} }
} }

Some files were not shown because too many files have changed in this diff Show More