Give all of these files a newline at the end.

This commit is contained in:
James Cole 2018-07-22 20:32:02 +02:00
parent ca096852a5
commit b7752928a4
117 changed files with 158 additions and 114 deletions

View File

@ -232,4 +232,4 @@ class AttachmentController extends Controller
return response()->json([], 204);
}
}
}

View File

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

View File

@ -185,4 +185,4 @@ class BudgetController extends Controller
}
}
}

View File

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

View File

@ -185,4 +185,4 @@ class CategoryController extends Controller
}
}
}

View File

@ -132,4 +132,4 @@ class ConfigurationController extends Controller
return $data;
}
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -94,4 +94,4 @@ class AttachmentRequest extends Request
return $rules;
}
}
}

View File

@ -73,4 +73,4 @@ class AvailableBudgetRequest extends Request
}
}
}

View File

@ -80,4 +80,4 @@ class BudgetLimitRequest extends Request
return $rules;
}
}
}

View File

@ -79,4 +79,4 @@ class BudgetRequest extends Request
return $rules;
}
}
}

View File

@ -78,4 +78,4 @@ class CategoryRequest extends Request
return $rules;
}
}
}

View File

@ -74,4 +74,4 @@ class JournalLinkRequest extends Request
];
}
}
}

View File

@ -88,4 +88,4 @@ class LinkTypeRequest extends Request
return $rules;
}
}
}

View File

@ -93,4 +93,4 @@ class PiggyBankRequest extends Request
return $rules;
}
}
}

View File

@ -66,4 +66,4 @@ class PreferenceRequest extends Request
];
}
}
}

View File

@ -201,4 +201,4 @@ class RecurrenceRequest extends Request
return $return;
}
}
}

View File

@ -82,4 +82,4 @@ class RuleGroupRequest extends Request
return $rules;
}
}
}

View File

@ -159,4 +159,4 @@ class RuleRequest extends Request
$validator->errors()->add('title', (string)trans('validation.at_least_one_trigger'));
}
}
}
}

View File

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

View File

@ -76,4 +76,4 @@ class AttachmentFactory
$this->user = $user;
}
}
}

View File

@ -93,4 +93,4 @@ class RecurrenceFactory
$this->user = $user;
}
}
}

View File

@ -74,4 +74,4 @@ class APIEventHandler
}
}
}

View File

@ -63,4 +63,4 @@ class AutomationHandler
// @codeCoverageIgnoreEnd
return true;
}
}
}

View File

@ -127,4 +127,4 @@ trait UpdateTrait
return $check;
}
}
}

View File

@ -125,4 +125,4 @@ class CreateController extends Controller
return $redirect;
}
}
}

View File

@ -100,4 +100,4 @@ class DeleteController extends Controller
return redirect($this->getPreviousUri('accounts.delete.uri'));
}
}
}

View File

@ -148,4 +148,4 @@ class EditController extends Controller
return $redirect;
}
}
}

View File

@ -268,4 +268,4 @@ class ShowController extends Controller
return redirect(route('accounts.show', [$opposingTransaction->account_id]));
}
}
}

View File

@ -210,4 +210,4 @@ class AmountController extends Controller
return view('budgets.income', compact('available', 'start', 'end', 'page'));
}
}
}

View File

@ -106,4 +106,4 @@ class CreateController extends Controller
return $redirect;
}
}
}

View File

@ -94,4 +94,4 @@ class DeleteController extends Controller
return redirect($this->getPreviousUri('budgets.delete.uri'));
}
}
}

View File

@ -117,4 +117,4 @@ class EditController extends Controller
return $redirect;
}
}
}

View File

@ -144,4 +144,4 @@ class IndexController extends Controller
}
}
}

View File

@ -289,4 +289,4 @@ class ShowController extends Controller
return $entries;
}
}
}

View File

@ -227,4 +227,4 @@ class NoCategoryController extends Controller
return $entries;
}
}
}

View File

@ -220,4 +220,4 @@ class ShowController extends Controller
return $entries;
}
}
}

View File

@ -214,4 +214,4 @@ class ReconcileController extends Controller
return redirect(route('accounts.show', [$opposingTransaction->account_id]));
}
}
}

View File

@ -176,4 +176,4 @@ class RecurrenceController extends Controller
return response()->json($result);
}
}
}

View File

@ -142,4 +142,4 @@ class CreateController extends Controller
}
}
}

View File

@ -93,4 +93,4 @@ class DeleteController extends Controller
return redirect($this->getPreviousUri('recurrences.delete.uri'));
}
}
}

View File

@ -163,4 +163,4 @@ class EditController extends Controller
}
}
}

View File

@ -123,4 +123,4 @@ class IndexController extends Controller
return view('recurring.show', compact('recurrence', 'subTitle', 'array', 'transactions'));
}
}
}

View File

@ -250,4 +250,4 @@ class CreateController extends Controller
return $result;
}
}
}

View File

@ -91,4 +91,4 @@ class DeleteController extends Controller
return redirect($this->getPreviousUri('rules.delete.uri'));
}
}
}

View File

@ -223,4 +223,4 @@ class EditController extends Controller
return $triggers;
}
}
}

View File

@ -285,4 +285,4 @@ class SelectController extends Controller
return $triggers;
}
}
}

View File

@ -270,4 +270,4 @@ class RecurrenceFormRequest extends Request
}
}
}

View File

@ -130,4 +130,4 @@ class BunqJobConfiguration implements JobConfigurationInterface
return $handler;
}
}
}

View File

@ -151,4 +151,4 @@ class SpectreJobConfiguration implements JobConfigurationInterface
return $handler;
}
}
}

View File

@ -1,4 +1,26 @@
<?php
declare(strict_types=1);
/**
* 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/>.
*/
namespace FireflyIII\Jobs;

View File

@ -63,4 +63,4 @@ class AccessTokenCreatedMail extends Mailable
return $this->view('emails.access-token-created-html')->text('emails.access-token-created-text')
->subject('A new access token was created');
}
}
}

View File

@ -67,4 +67,4 @@ class OAuthTokenCreatedMail extends Mailable
return $this->view('emails.oauth-client-created-html')->text('emails.oauth-client-created-text')
->subject('A new OAuth client has been created');
}
}
}

View File

@ -171,4 +171,4 @@ class Recurrence extends Model
return $this->belongsTo(User::class);
}
}
}

View File

@ -60,4 +60,4 @@ class RecurrenceMeta extends Model
return $this->belongsTo(Recurrence::class);
}
}
}

View File

@ -74,4 +74,4 @@ class RecurrenceRepetition extends Model
{
return $this->belongsTo(Recurrence::class);
}
}
}

View File

@ -121,4 +121,4 @@ class RecurrenceTransaction extends Model
{
return $this->belongsTo(TransactionCurrency::class);
}
}
}

View File

@ -59,4 +59,4 @@ class RecurrenceTransactionMeta extends Model
return $this->belongsTo(RecurrenceTransaction::class, 'rt_id');
}
}
}

View File

@ -658,4 +658,4 @@ class RecurringRepository implements RecurringRepositoryInterface
return $return;
}
}
}

View File

@ -186,4 +186,4 @@ interface RecurringRepositoryInterface
*/
public function update(Recurrence $recurrence, array $data): Recurrence;
}
}

View File

@ -1,6 +1,26 @@
<?php
/**
* IsAssetAccountId.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\TransactionRules\Triggers;
namespace FireflyIII\Rules;
use FireflyIII\Models\Account;
use FireflyIII\Models\AccountType;

View File

@ -85,4 +85,4 @@ class IsValidAttachmentModel implements Rule
break;
}
}
}
}

View File

@ -69,4 +69,4 @@ class ValidRecurrenceRepetitionType implements Rule
return false;
}
}
}

View File

@ -104,4 +104,4 @@ class ValidRecurrenceRepetitionValue implements Rule
return false;
}
}
}

View File

@ -89,4 +89,4 @@ class ApiContext
throw new FireflyException($message);
}
}
}
}

View File

@ -54,4 +54,4 @@ class MonetaryAccount
return $result;
}
}
}

View File

@ -58,4 +58,4 @@ class Payment
}
}
}

View File

@ -210,4 +210,4 @@ trait RecurringTransactionTrait
$recurrence->recurrenceMeta()->where('name', 'tags')->delete();
}
}
}
}

View File

@ -53,4 +53,4 @@ trait TransactionTypeTrait
return $transactionType;
}
}
}

View File

@ -88,4 +88,4 @@ class RecurrenceUpdateService
return $recurrence;
}
}
}

View File

@ -169,4 +169,4 @@ trait DateCalculation
return $loop;
}
}
}

View File

@ -174,4 +174,4 @@ trait RuleManagement
$repository->store($data);
}
}
}
}

View File

@ -106,4 +106,4 @@ trait GetSpectreCustomerTrait
return $customer;
}
}
}

View File

@ -55,4 +55,4 @@ trait GetSpectreTokenTrait
return $request->getToken();
}
}
}

View File

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

View File

@ -218,4 +218,4 @@ class ChooseAccountsHandler implements BunqJobConfigurationInterface
return $accountId;
}
}
}

View File

@ -100,4 +100,4 @@ class NewBunqJobHandler implements BunqJobConfigurationInterface
$this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user);
}
}
}

View File

@ -92,4 +92,4 @@ class AuthenticatedHandler implements SpectreJobConfigurationInterface
public function setImportJob(ImportJob $importJob): void
{
}
}
}

View File

@ -250,4 +250,4 @@ class ChooseAccountsHandler implements SpectreJobConfigurationInterface
return 0;
}
}
}

View File

@ -142,4 +142,4 @@ class ChooseLoginHandler implements SpectreJobConfigurationInterface
$this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user);
}
}
}

View File

@ -126,4 +126,4 @@ class DoAuthenticateHandler implements SpectreJobConfigurationInterface
$this->repository = app(ImportJobRepositoryInterface::class);
$this->repository->setUser($importJob->user);
}
}
}

View File

@ -95,4 +95,4 @@ class NewSpectreJobHandler implements SpectreJobConfigurationInterface
public function setImportJob(ImportJob $importJob): void
{
}
}
}

View File

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

View File

@ -293,4 +293,4 @@ class StageImportDataHandler
return $return;
}
}
}

View File

@ -269,4 +269,4 @@ class StageNewHandler
return $return;
}
}
}

View File

@ -118,4 +118,4 @@ class AssetAccountMapper
$this->repository->setUser($user);
}
}
}

View File

@ -97,4 +97,4 @@ class CurrencyMapper
$this->repository->setUser($user);
}
}
}

View File

@ -325,4 +325,4 @@ class ImportableConverter
return $type;
}
}
}

View File

@ -69,4 +69,4 @@ class ImportableCreator
return $transaction;
}
}
}

View File

@ -171,4 +171,4 @@ class LineReader
}
}
}

View File

@ -128,4 +128,4 @@ class MappedValuesValidator
return $return;
}
}
}

View File

@ -217,4 +217,4 @@ class MappingConverger
return $return;
}
}
}

View File

@ -134,4 +134,4 @@ class OpposingAccountMapper
$this->repository->setUser($user);
}
}
}

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