Add newline to files

This commit is contained in:
James Cole 2019-08-17 12:09:03 +02:00
parent b53cbbe469
commit fc78c32fca
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
153 changed files with 243 additions and 125 deletions

View File

@ -26,4 +26,4 @@ script:
# build everything
- .deploy/docker/build-amd64.sh
- .deploy/docker/build-arm.sh
- .deploy/docker/manifest.sh
- .deploy/docker/manifest.sh

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* DateRequest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -65,4 +66,4 @@ class DateRequest extends Request
'end' => 'required|date|after:start',
];
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* RuleGroupTestRequest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -141,4 +142,4 @@ class RuleGroupTestRequest extends Request
return null !== $account && AccountType::ASSET === $account->accountType->type;
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* RuleGroupTriggerRequest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -116,4 +117,4 @@ class RuleGroupTriggerRequest extends Request
return null !== $account && AccountType::ASSET === $account->accountType->type;
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* RuleTestRequest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -141,4 +142,4 @@ class RuleTestRequest extends Request
return null !== $account && AccountType::ASSET === $account->accountType->type;
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* RuleTriggerRequest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -116,4 +117,4 @@ class RuleTriggerRequest extends Request
return null !== $account && AccountType::ASSET === $account->accountType->type;
}
}
}

View File

@ -80,4 +80,4 @@ class CorrectDatabase extends Command
return 0;
}
}
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -70,4 +70,4 @@ class ReportIntegrity extends Command
return 0;
}
}
}

View File

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

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**

View File

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

View File

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

View File

@ -116,4 +116,4 @@ class BudgetLimitCurrency extends Command
{
app('fireflyconfig')->set(self::CONFIG_NAME, true);
}
}
}

View File

@ -115,4 +115,4 @@ class CCLiabilities extends Command
{
app('fireflyconfig')->set(self::CONFIG_NAME, true);
}
}
}

View File

@ -125,4 +125,4 @@ class MigrateAttachments extends Command
{
app('fireflyconfig')->set(self::CONFIG_NAME, true);
}
}
}

View File

@ -124,4 +124,4 @@ class MigrateJournalNotes extends Command
{
app('fireflyconfig')->set(self::CONFIG_NAME, true);
}
}
}

View File

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

View File

@ -246,4 +246,4 @@ class MigrateToRules extends Command
$this->billRepository->update($bill, $newBillData);
$this->count++;
}
}
}

View File

@ -283,4 +283,4 @@ class OtherCurrenciesCorrections extends Command
return $lead;
}
}
}

View File

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

View File

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

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* TransferCurrenciesCorrections.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -574,4 +575,4 @@ class TransferCurrenciesCorrections extends Command
return false;
}
}
}

View File

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

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* GracefulNotFoundHandler.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -223,4 +224,4 @@ class GracefulNotFoundHandler extends ExceptionHandler
}
}
}

View File

@ -77,4 +77,4 @@ class TransactionGroupFactory
{
$this->user = $user;
}
}
}

View File

@ -1088,4 +1088,4 @@ class GroupCollector implements GroupCollectorInterface
return $this;
}
}
}

View File

@ -376,4 +376,4 @@ interface GroupCollectorInterface
*/
public function withCategoryInformation(): GroupCollectorInterface;
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* CreateController.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -100,4 +101,4 @@ class CreateController extends Controller
return $redirect;
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* DeleteController.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -89,4 +90,4 @@ class DeleteController extends Controller
return redirect($this->getPreviousUri('categories.delete.uri'));
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* EditController.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -106,4 +107,4 @@ class EditController extends Controller
return $redirect;
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* IndexController.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -86,4 +87,4 @@ class IndexController extends Controller
return view('categories.index', compact('categories'));
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* RuleController.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -93,4 +94,4 @@ class RuleController extends Controller
return response()->json(['html' => $view]);
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* BillController.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -70,4 +71,4 @@ class BillController extends Controller
return $result;
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* CreateController.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -99,4 +100,4 @@ class CreateController extends Controller
return $redirect;
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* DeleteController.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -95,4 +96,4 @@ class DeleteController extends Controller
return redirect($this->getPreviousUri('rule-groups.delete.uri'));
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* EditController.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -146,4 +147,4 @@ class EditController extends Controller
return $redirect;
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* ExecutionController.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -133,4 +134,4 @@ class ExecutionController extends Controller
}
}
}

View File

@ -88,4 +88,4 @@ class CreateController extends Controller
)
);
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* DeleteController.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -119,4 +120,4 @@ class DeleteController extends Controller
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* EditController.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -82,4 +83,4 @@ class EditController extends Controller
return view('transactions.edit', compact('cash', 'transactionGroup', 'allowedOpposingTypes', 'accountToTypes', 'defaultCurrency', 'previousUri'));
}
}
}

View File

@ -153,4 +153,4 @@ class IndexController extends Controller
return view('transactions.index', compact('subTitle', 'objectType', 'subTitleIcon', 'groups', 'start', 'end'));
}
}
}

View File

@ -128,4 +128,4 @@ class ShowController extends Controller
return $amounts;
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* InterestingMessage.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -116,4 +117,4 @@ class InterestingMessage
// ignore middleware in test environment.
return 'testing' === config('app.env') || !auth()->check();
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* JournalAPIRepository.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -102,4 +103,4 @@ class JournalAPIRepository implements JournalAPIRepositoryInterface
{
$this->user = $user;
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* JournalAPIRepositoryInterface.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -62,4 +63,4 @@ interface JournalAPIRepositoryInterface
* @param User $user
*/
public function setUser(User $user);
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* JournalCLIRepository.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -272,4 +273,4 @@ class JournalCLIRepository implements JournalCLIRepositoryInterface
{
$this->user = $user;
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* JournalCLIRepositoryInterface.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -116,4 +117,4 @@ interface JournalCLIRepositoryInterface
*/
public function getJournalCategoryId(TransactionJournal $journal): int;
}
}

View File

@ -373,4 +373,4 @@ class TransactionGroupRepository implements TransactionGroupRepositoryInterfac
$service = new TransactionGroupDestroyService;
$service->destroy($group);
}
}
}

View File

@ -130,4 +130,4 @@ interface TransactionGroupRepositoryInterface
*/
public function update(TransactionGroup $transactionGroup, array $data): TransactionGroup;
}
}

View File

@ -81,4 +81,4 @@ class TransactionTypeRepository implements TransactionTypeRepositoryInterface
return TransactionType::where('type', 'LIKE', sprintf('%%%s%%', $query))->get();
}
}
}

View File

@ -51,4 +51,4 @@ interface TransactionTypeRepositoryInterface
* @return Collection
*/
public function searchTypes(string $query): Collection;
}
}

View File

@ -50,4 +50,4 @@ class TransactionGroupDestroyService
}
}
}
}

View File

@ -165,4 +165,4 @@ class GroupUpdateService
$updateService->update();
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* PwndVerifierV3.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -89,4 +90,4 @@ class PwndVerifierV3 implements Verifier
Log::debug(sprintf('Found %s, so return FALSE.', $rest));
return false;
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* WholePeriodChartGenerator.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -163,4 +164,4 @@ class WholePeriodChartGenerator
return $return;
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* AccountForm.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -323,4 +324,4 @@ class AccountForm
return $this->select($name, $grouped, $value, $options);
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* CurrencyForm.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -224,4 +225,4 @@ class CurrencyForm
return $this->currencyField($name, 'amount', $value, $options);
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* FormSupport.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -169,4 +170,4 @@ trait FormSupport
return (string)trans('form.' . $name);
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* PiggyBankForm.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -60,4 +61,4 @@ class PiggyBankForm
return $this->select($name, $array, $value, $options);
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* RuleForm.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -85,4 +86,4 @@ class RuleForm
return Form::select($name, $array, $value, $options);
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* ApiSupport.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -64,4 +65,4 @@ trait ApiSupport
return $return;
}
}
}

View File

@ -59,4 +59,4 @@ class NullArrayObject extends ArrayObject
return null;
}
}
}

View File

@ -330,4 +330,4 @@ class TransactionGroupTwig extends Twig_Extension
return null !== $first->foreign_amount;
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* RuleEngine.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -229,4 +230,4 @@ class RuleEngine
return $validTrigger && ($this->allRules || in_array($rule->id, $this->rulesToApply, true));
}
}
}

View File

@ -360,4 +360,4 @@ class TransactionGroupTransformer extends AbstractTransformer
return $result;
}
}
}

View File

@ -614,4 +614,4 @@ class AccountValidator
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
return [

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
return array(

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**

View File

@ -37,4 +37,4 @@
{% endblock %}
{% endblock %}

View File

@ -16,4 +16,4 @@
{% endif %}
</a>
{% endfor %}
</div>
</div>

View File

@ -7,4 +7,4 @@
</span>
</a>
{% endfor %}
</div>
</div>

View File

@ -1 +1 @@
<h1 style="color:red;">REPLACE ME</h1>
<h1 style="color:red;">REPLACE ME</h1>

View File

@ -1 +1 @@
<h1 style="color:red;">REPLACE ME</h1>
<h1 style="color:red;">REPLACE ME</h1>

View File

@ -3,4 +3,4 @@
{{ trans('firefly.search_found_transactions', {count: transactions.count, time: searchTime}) }}
</p>
{% include 'list.groups' %}
{% include 'list.groups' %}

View File

@ -49,4 +49,4 @@
</div>
</div>
</div>
</form>
</form>

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* AccountControllerTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -178,4 +179,4 @@ class AccountControllerTest extends TestCase
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* AvailableBudgetControllerTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -118,4 +119,4 @@ class AvailableBudgetControllerTest extends TestCase
$response->assertStatus(200);
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* CategoryControllerTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -119,4 +120,4 @@ class CategoryControllerTest extends TestCase
$response->assertStatus(200);
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* SummaryControllerTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -255,4 +256,4 @@ class SummaryControllerTest extends TestCase
$response->assertStatus(200);
// TODO AFTER 4.8,0: check if JSON is correct
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* CreateControllerTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -91,4 +92,4 @@ class CreateControllerTest extends TestCase
$response->assertStatus(302);
$response->assertSessionHas('success');
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* DeleteControllerTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -88,4 +89,4 @@ class DeleteControllerTest extends TestCase
$response->assertStatus(302);
$response->assertSessionHas('success');
}
}
}

View File

@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
* EditControllerTest.php
* Copyright (c) 2019 thegrumpydictator@gmail.com
@ -98,4 +99,4 @@ class EditControllerTest extends TestCase
$response->assertStatus(302);
$response->assertSessionHas('success');
}
}
}

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