mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Give all of these files a newline at the end.
This commit is contained in:
parent
ca096852a5
commit
b7752928a4
@ -232,4 +232,4 @@ class AttachmentController extends Controller
|
||||
return response()->json([], 204);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -187,4 +187,4 @@ class AvailableBudgetController extends Controller
|
||||
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -185,4 +185,4 @@ class BudgetController extends Controller
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -195,4 +195,4 @@ class BudgetLimitController extends Controller
|
||||
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -185,4 +185,4 @@ class CategoryController extends Controller
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -132,4 +132,4 @@ class ConfigurationController extends Controller
|
||||
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -108,4 +108,4 @@ class CurrencyExchangeRateController extends Controller
|
||||
|
||||
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -214,4 +214,4 @@ class JournalLinkController extends Controller
|
||||
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -207,4 +207,4 @@ class LinkTypeController extends Controller
|
||||
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -185,4 +185,4 @@ class PiggyBankController extends Controller
|
||||
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -142,4 +142,4 @@ class PreferenceController extends Controller
|
||||
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -177,4 +177,4 @@ class RecurrenceController extends Controller
|
||||
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -175,4 +175,4 @@ class RuleController extends Controller
|
||||
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -176,4 +176,4 @@ class RuleGroupController extends Controller
|
||||
return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json');
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -94,4 +94,4 @@ class AttachmentRequest extends Request
|
||||
|
||||
return $rules;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -73,4 +73,4 @@ class AvailableBudgetRequest extends Request
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -80,4 +80,4 @@ class BudgetLimitRequest extends Request
|
||||
return $rules;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -79,4 +79,4 @@ class BudgetRequest extends Request
|
||||
|
||||
return $rules;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -78,4 +78,4 @@ class CategoryRequest extends Request
|
||||
|
||||
return $rules;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -74,4 +74,4 @@ class JournalLinkRequest extends Request
|
||||
];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -88,4 +88,4 @@ class LinkTypeRequest extends Request
|
||||
|
||||
return $rules;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -93,4 +93,4 @@ class PiggyBankRequest extends Request
|
||||
return $rules;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -66,4 +66,4 @@ class PreferenceRequest extends Request
|
||||
];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -201,4 +201,4 @@ class RecurrenceRequest extends Request
|
||||
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -82,4 +82,4 @@ class RuleGroupRequest extends Request
|
||||
|
||||
return $rules;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -159,4 +159,4 @@ class RuleRequest extends Request
|
||||
$validator->errors()->add('title', (string)trans('validation.at_least_one_trigger'));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
/**
|
||||
* RequestedReportOnJournals.php
|
||||
* Copyright (c) 2018 thegrumpydictator@gmail.com
|
||||
|
@ -76,4 +76,4 @@ class AttachmentFactory
|
||||
$this->user = $user;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -93,4 +93,4 @@ class RecurrenceFactory
|
||||
$this->user = $user;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -74,4 +74,4 @@ class APIEventHandler
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -63,4 +63,4 @@ class AutomationHandler
|
||||
// @codeCoverageIgnoreEnd
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -127,4 +127,4 @@ trait UpdateTrait
|
||||
|
||||
return $check;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -125,4 +125,4 @@ class CreateController extends Controller
|
||||
return $redirect;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -100,4 +100,4 @@ class DeleteController extends Controller
|
||||
return redirect($this->getPreviousUri('accounts.delete.uri'));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -148,4 +148,4 @@ class EditController extends Controller
|
||||
return $redirect;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -268,4 +268,4 @@ class ShowController extends Controller
|
||||
|
||||
return redirect(route('accounts.show', [$opposingTransaction->account_id]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -210,4 +210,4 @@ class AmountController extends Controller
|
||||
|
||||
return view('budgets.income', compact('available', 'start', 'end', 'page'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -106,4 +106,4 @@ class CreateController extends Controller
|
||||
|
||||
return $redirect;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -94,4 +94,4 @@ class DeleteController extends Controller
|
||||
return redirect($this->getPreviousUri('budgets.delete.uri'));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -117,4 +117,4 @@ class EditController extends Controller
|
||||
|
||||
return $redirect;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -144,4 +144,4 @@ class IndexController extends Controller
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -289,4 +289,4 @@ class ShowController extends Controller
|
||||
return $entries;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -227,4 +227,4 @@ class NoCategoryController extends Controller
|
||||
|
||||
return $entries;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -220,4 +220,4 @@ class ShowController extends Controller
|
||||
return $entries;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -214,4 +214,4 @@ class ReconcileController extends Controller
|
||||
|
||||
return redirect(route('accounts.show', [$opposingTransaction->account_id]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -176,4 +176,4 @@ class RecurrenceController extends Controller
|
||||
return response()->json($result);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -142,4 +142,4 @@ class CreateController extends Controller
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -93,4 +93,4 @@ class DeleteController extends Controller
|
||||
return redirect($this->getPreviousUri('recurrences.delete.uri'));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -163,4 +163,4 @@ class EditController extends Controller
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -123,4 +123,4 @@ class IndexController extends Controller
|
||||
return view('recurring.show', compact('recurrence', 'subTitle', 'array', 'transactions'));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -250,4 +250,4 @@ class CreateController extends Controller
|
||||
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -91,4 +91,4 @@ class DeleteController extends Controller
|
||||
return redirect($this->getPreviousUri('rules.delete.uri'));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -223,4 +223,4 @@ class EditController extends Controller
|
||||
|
||||
return $triggers;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -285,4 +285,4 @@ class SelectController extends Controller
|
||||
|
||||
return $triggers;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -270,4 +270,4 @@ class RecurrenceFormRequest extends Request
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -130,4 +130,4 @@ class BunqJobConfiguration implements JobConfigurationInterface
|
||||
|
||||
return $handler;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -151,4 +151,4 @@ class SpectreJobConfiguration implements JobConfigurationInterface
|
||||
|
||||
return $handler;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -171,4 +171,4 @@ class Recurrence extends Model
|
||||
return $this->belongsTo(User::class);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -60,4 +60,4 @@ class RecurrenceMeta extends Model
|
||||
return $this->belongsTo(Recurrence::class);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -74,4 +74,4 @@ class RecurrenceRepetition extends Model
|
||||
{
|
||||
return $this->belongsTo(Recurrence::class);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -121,4 +121,4 @@ class RecurrenceTransaction extends Model
|
||||
{
|
||||
return $this->belongsTo(TransactionCurrency::class);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -59,4 +59,4 @@ class RecurrenceTransactionMeta extends Model
|
||||
return $this->belongsTo(RecurrenceTransaction::class, 'rt_id');
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -658,4 +658,4 @@ class RecurringRepository implements RecurringRepositoryInterface
|
||||
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -186,4 +186,4 @@ interface RecurringRepositoryInterface
|
||||
*/
|
||||
public function update(Recurrence $recurrence, array $data): Recurrence;
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -85,4 +85,4 @@ class IsValidAttachmentModel implements Rule
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -69,4 +69,4 @@ class ValidRecurrenceRepetitionType implements Rule
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -104,4 +104,4 @@ class ValidRecurrenceRepetitionValue implements Rule
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -89,4 +89,4 @@ class ApiContext
|
||||
throw new FireflyException($message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -54,4 +54,4 @@ class MonetaryAccount
|
||||
return $result;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -58,4 +58,4 @@ class Payment
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -210,4 +210,4 @@ trait RecurringTransactionTrait
|
||||
$recurrence->recurrenceMeta()->where('name', 'tags')->delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -53,4 +53,4 @@ trait TransactionTypeTrait
|
||||
|
||||
return $transactionType;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -88,4 +88,4 @@ class RecurrenceUpdateService
|
||||
|
||||
return $recurrence;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -169,4 +169,4 @@ trait DateCalculation
|
||||
return $loop;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -174,4 +174,4 @@ trait RuleManagement
|
||||
$repository->store($data);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -106,4 +106,4 @@ trait GetSpectreCustomerTrait
|
||||
|
||||
return $customer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -55,4 +55,4 @@ trait GetSpectreTokenTrait
|
||||
|
||||
return $request->getToken();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -69,4 +69,4 @@ interface BunqJobConfigurationInterface
|
||||
*/
|
||||
public function setImportJob(ImportJob $importJob): void;
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -218,4 +218,4 @@ class ChooseAccountsHandler implements BunqJobConfigurationInterface
|
||||
|
||||
return $accountId;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -100,4 +100,4 @@ class NewBunqJobHandler implements BunqJobConfigurationInterface
|
||||
$this->repository = app(ImportJobRepositoryInterface::class);
|
||||
$this->repository->setUser($importJob->user);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -92,4 +92,4 @@ class AuthenticatedHandler implements SpectreJobConfigurationInterface
|
||||
public function setImportJob(ImportJob $importJob): void
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -250,4 +250,4 @@ class ChooseAccountsHandler implements SpectreJobConfigurationInterface
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -142,4 +142,4 @@ class ChooseLoginHandler implements SpectreJobConfigurationInterface
|
||||
$this->repository = app(ImportJobRepositoryInterface::class);
|
||||
$this->repository->setUser($importJob->user);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -126,4 +126,4 @@ class DoAuthenticateHandler implements SpectreJobConfigurationInterface
|
||||
$this->repository = app(ImportJobRepositoryInterface::class);
|
||||
$this->repository->setUser($importJob->user);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -95,4 +95,4 @@ class NewSpectreJobHandler implements SpectreJobConfigurationInterface
|
||||
public function setImportJob(ImportJob $importJob): void
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -71,4 +71,4 @@ interface SpectreJobConfigurationInterface
|
||||
*/
|
||||
public function setImportJob(ImportJob $importJob): void;
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -293,4 +293,4 @@ class StageImportDataHandler
|
||||
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -269,4 +269,4 @@ class StageNewHandler
|
||||
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -118,4 +118,4 @@ class AssetAccountMapper
|
||||
$this->repository->setUser($user);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -97,4 +97,4 @@ class CurrencyMapper
|
||||
$this->repository->setUser($user);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -325,4 +325,4 @@ class ImportableConverter
|
||||
|
||||
return $type;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -69,4 +69,4 @@ class ImportableCreator
|
||||
return $transaction;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -171,4 +171,4 @@ class LineReader
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -128,4 +128,4 @@ class MappedValuesValidator
|
||||
|
||||
return $return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -217,4 +217,4 @@ class MappingConverger
|
||||
return $return;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user