From a97bfc92e110e7df2994bd7d4737ae57a49bf7d7 Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 5 Mar 2018 19:35:58 +0100 Subject: [PATCH] Add newlines and strict types --- app/Api/V1/Controllers/AboutController.php | 2 +- app/Api/V1/Controllers/AccountController.php | 2 +- app/Api/V1/Controllers/TransactionController.php | 2 +- app/Api/V1/Controllers/UserController.php | 2 +- app/Api/V1/Requests/AccountRequest.php | 2 +- app/Api/V1/Requests/BillRequest.php | 2 +- app/Api/V1/Requests/TransactionRequest.php | 2 +- app/Api/V1/Requests/UserRequest.php | 2 +- app/Events/RequestedVersionCheckStatus.php | 2 +- app/Factory/AccountFactory.php | 2 +- app/Factory/AccountMetaFactory.php | 2 +- app/Factory/BillFactory.php | 2 +- app/Factory/BudgetFactory.php | 2 +- app/Factory/CategoryFactory.php | 2 +- app/Factory/PiggyBankEventFactory.php | 2 +- app/Factory/PiggyBankFactory.php | 2 +- app/Factory/TagFactory.php | 2 +- app/Factory/TransactionCurrencyFactory.php | 2 +- app/Factory/TransactionFactory.php | 2 +- app/Factory/TransactionJournalFactory.php | 2 +- app/Factory/TransactionJournalMetaFactory.php | 2 +- app/Factory/TransactionTypeFactory.php | 2 +- app/Handlers/Events/VersionCheckEventHandler.php | 2 +- app/Http/Controllers/DebugController.php | 2 +- app/Http/Controllers/Transaction/BulkController.php | 2 +- app/Http/Middleware/Authenticate.php | 2 ++ app/Http/Requests/ReconciliationStoreRequest.php | 2 +- app/Repositories/TransactionType/TransactionTypeRepository.php | 2 +- .../TransactionType/TransactionTypeRepositoryInterface.php | 2 +- app/Rules/BelongsUser.php | 2 ++ app/Rules/UniqueIban.php | 2 +- app/Rules/ValidTransactions.php | 2 ++ app/Services/Github/Object/Release.php | 2 +- app/Services/Github/Request/GithubRequest.php | 2 +- app/Services/Github/Request/UpdateRequest.php | 2 +- app/Services/Internal/Destroy/AccountDestroyService.php | 2 +- app/Services/Internal/Destroy/BillDestroyService.php | 2 +- app/Services/Internal/Destroy/JournalDestroyService.php | 2 +- app/Services/Internal/Support/AccountServiceTrait.php | 2 +- app/Services/Internal/Support/BillServiceTrait.php | 2 +- app/Services/Internal/Support/JournalServiceTrait.php | 2 +- app/Services/Internal/Support/TransactionServiceTrait.php | 2 +- app/Services/Internal/Update/AccountUpdateService.php | 2 +- app/Services/Internal/Update/BillUpdateService.php | 2 +- app/Services/Internal/Update/JournalUpdateService.php | 2 +- app/Services/Internal/Update/TransactionUpdateService.php | 2 +- app/Services/Spectre/Exception/DuplicatedCustomerException.php | 2 +- app/Services/Spectre/Exception/SpectreException.php | 2 +- app/Services/Spectre/Object/Account.php | 2 +- app/Services/Spectre/Object/Attempt.php | 2 +- app/Services/Spectre/Object/Holder.php | 2 +- app/Services/Spectre/Object/Login.php | 2 +- app/Services/Spectre/Object/Token.php | 2 +- app/Services/Spectre/Object/Transaction.php | 2 +- app/Services/Spectre/Object/TransactionExtra.php | 2 +- app/Services/Spectre/Request/CreateTokenRequest.php | 2 +- app/Services/Spectre/Request/ListAccountsRequest.php | 2 +- app/Services/Spectre/Request/ListCustomersRequest.php | 2 +- app/Services/Spectre/Request/ListLoginsRequest.php | 2 +- app/Services/Spectre/Request/ListTransactionsRequest.php | 2 +- app/Support/Import/Configuration/Spectre/HaveAccounts.php | 2 +- app/Support/Preferences.php | 3 +++ app/Transformers/AccountTransformer.php | 2 +- app/Transformers/AttachmentTransformer.php | 2 +- app/Transformers/BillTransformer.php | 2 +- app/Transformers/BudgetTransformer.php | 2 +- app/Transformers/CategoryTransformer.php | 2 +- app/Transformers/JournalMetaTransformer.php | 2 +- app/Transformers/PiggyBankEventTransformer.php | 2 +- app/Transformers/PiggyBankTransformer.php | 2 +- app/Transformers/TagTransformer.php | 2 +- app/Transformers/TransactionTransformer.php | 2 +- app/Transformers/UserTransformer.php | 2 +- config/breadcrumbs.php | 2 ++ config/google2fa.php | 2 ++ .../2018_01_01_000001_create_oauth_auth_codes_table.php | 2 ++ .../2018_01_01_000002_create_oauth_access_tokens_table.php | 2 ++ .../2018_01_01_000003_create_oauth_refresh_tokens_table.php | 2 ++ .../2018_01_01_000004_create_oauth_clients_table.php | 2 ++ ...01_01_000005_create_oauth_personal_access_clients_table.php | 2 ++ resources/assets/js/bootstrap.js | 2 +- resources/assets/js/lang.js | 2 +- resources/assets/js/messages.js | 2 +- resources/lang/de_DE/components.php | 2 +- resources/lang/es_ES/components.php | 2 +- resources/lang/fr_FR/components.php | 2 +- resources/lang/id_ID/components.php | 2 +- resources/lang/nl_NL/components.php | 2 +- resources/lang/pl_PL/components.php | 2 +- resources/lang/pt_BR/components.php | 2 +- resources/lang/ru_RU/components.php | 2 +- resources/lang/tr_TR/components.php | 2 +- resources/views/admin/index.twig | 2 +- resources/views/admin/update/index.twig | 2 +- resources/views/import/spectre/redirect.twig | 2 +- resources/views/javascript/variables.twig | 2 +- resources/views/list/bills.twig | 2 +- resources/views/list/categories.twig | 2 +- resources/views/preferences/code.twig | 2 +- resources/views/test/test.twig | 2 +- 100 files changed, 112 insertions(+), 89 deletions(-) diff --git a/app/Api/V1/Controllers/AboutController.php b/app/Api/V1/Controllers/AboutController.php index 4529802743..56725ad5d5 100644 --- a/app/Api/V1/Controllers/AboutController.php +++ b/app/Api/V1/Controllers/AboutController.php @@ -85,4 +85,4 @@ class AboutController extends Controller return response()->json($manager->createData($resource)->toArray())->header('Content-Type', 'application/vnd.api+json'); } -} \ No newline at end of file +} diff --git a/app/Api/V1/Controllers/AccountController.php b/app/Api/V1/Controllers/AccountController.php index 861d3e4aff..b30fe6903a 100644 --- a/app/Api/V1/Controllers/AccountController.php +++ b/app/Api/V1/Controllers/AccountController.php @@ -260,4 +260,4 @@ class AccountController extends Controller return $types['all']; // @codeCoverageIgnore } -} \ No newline at end of file +} diff --git a/app/Api/V1/Controllers/TransactionController.php b/app/Api/V1/Controllers/TransactionController.php index 47ded1a89d..b02e69e2d3 100644 --- a/app/Api/V1/Controllers/TransactionController.php +++ b/app/Api/V1/Controllers/TransactionController.php @@ -330,4 +330,4 @@ class TransactionController extends Controller return $types['default']; // @codeCoverageIgnore } -} \ No newline at end of file +} diff --git a/app/Api/V1/Controllers/UserController.php b/app/Api/V1/Controllers/UserController.php index 29acb5307e..027d94e9e7 100644 --- a/app/Api/V1/Controllers/UserController.php +++ b/app/Api/V1/Controllers/UserController.php @@ -189,4 +189,4 @@ class UserController extends Controller } -} \ No newline at end of file +} diff --git a/app/Api/V1/Requests/AccountRequest.php b/app/Api/V1/Requests/AccountRequest.php index 649d21c29c..fdb789779c 100644 --- a/app/Api/V1/Requests/AccountRequest.php +++ b/app/Api/V1/Requests/AccountRequest.php @@ -104,4 +104,4 @@ class AccountRequest extends Request return $rules; } -} \ No newline at end of file +} diff --git a/app/Api/V1/Requests/BillRequest.php b/app/Api/V1/Requests/BillRequest.php index 881364a3e9..2efd4828cb 100644 --- a/app/Api/V1/Requests/BillRequest.php +++ b/app/Api/V1/Requests/BillRequest.php @@ -116,4 +116,4 @@ class BillRequest extends Request } ); } -} \ No newline at end of file +} diff --git a/app/Api/V1/Requests/TransactionRequest.php b/app/Api/V1/Requests/TransactionRequest.php index 17a46633c7..744ee8fb77 100644 --- a/app/Api/V1/Requests/TransactionRequest.php +++ b/app/Api/V1/Requests/TransactionRequest.php @@ -497,4 +497,4 @@ class TransactionRequest extends Request return; } -} \ No newline at end of file +} diff --git a/app/Api/V1/Requests/UserRequest.php b/app/Api/V1/Requests/UserRequest.php index 9be50cef8c..4a5844da49 100644 --- a/app/Api/V1/Requests/UserRequest.php +++ b/app/Api/V1/Requests/UserRequest.php @@ -86,4 +86,4 @@ class UserRequest extends Request return $rules; } -} \ No newline at end of file +} diff --git a/app/Events/RequestedVersionCheckStatus.php b/app/Events/RequestedVersionCheckStatus.php index c87a0b35b8..df6f2c8948 100644 --- a/app/Events/RequestedVersionCheckStatus.php +++ b/app/Events/RequestedVersionCheckStatus.php @@ -49,4 +49,4 @@ class RequestedVersionCheckStatus extends Event { $this->user = $user; } -} \ No newline at end of file +} diff --git a/app/Factory/AccountFactory.php b/app/Factory/AccountFactory.php index 88adfd287c..065876cb9e 100644 --- a/app/Factory/AccountFactory.php +++ b/app/Factory/AccountFactory.php @@ -168,4 +168,4 @@ class AccountFactory } -} \ No newline at end of file +} diff --git a/app/Factory/AccountMetaFactory.php b/app/Factory/AccountMetaFactory.php index 12290e08a7..67667d76ef 100644 --- a/app/Factory/AccountMetaFactory.php +++ b/app/Factory/AccountMetaFactory.php @@ -40,4 +40,4 @@ class AccountMetaFactory return AccountMeta::create($data); } -} \ No newline at end of file +} diff --git a/app/Factory/BillFactory.php b/app/Factory/BillFactory.php index 087ae39912..15d1e38655 100644 --- a/app/Factory/BillFactory.php +++ b/app/Factory/BillFactory.php @@ -134,4 +134,4 @@ class BillFactory $this->user = $user; } -} \ No newline at end of file +} diff --git a/app/Factory/BudgetFactory.php b/app/Factory/BudgetFactory.php index 135663bb59..0a4f9704f9 100644 --- a/app/Factory/BudgetFactory.php +++ b/app/Factory/BudgetFactory.php @@ -97,4 +97,4 @@ class BudgetFactory $this->user = $user; } -} \ No newline at end of file +} diff --git a/app/Factory/CategoryFactory.php b/app/Factory/CategoryFactory.php index ccc136eeed..1b5c4f1cf3 100644 --- a/app/Factory/CategoryFactory.php +++ b/app/Factory/CategoryFactory.php @@ -106,4 +106,4 @@ class CategoryFactory $this->user = $user; } -} \ No newline at end of file +} diff --git a/app/Factory/PiggyBankEventFactory.php b/app/Factory/PiggyBankEventFactory.php index ca4d301e6f..c5a88bb3a7 100644 --- a/app/Factory/PiggyBankEventFactory.php +++ b/app/Factory/PiggyBankEventFactory.php @@ -85,4 +85,4 @@ class PiggyBankEventFactory return $event; } -} \ No newline at end of file +} diff --git a/app/Factory/PiggyBankFactory.php b/app/Factory/PiggyBankFactory.php index 3ded4bfe3c..fdbd37ef46 100644 --- a/app/Factory/PiggyBankFactory.php +++ b/app/Factory/PiggyBankFactory.php @@ -97,4 +97,4 @@ class PiggyBankFactory } -} \ No newline at end of file +} diff --git a/app/Factory/TagFactory.php b/app/Factory/TagFactory.php index 0fc74c2a0e..d9e41a7d85 100644 --- a/app/Factory/TagFactory.php +++ b/app/Factory/TagFactory.php @@ -99,4 +99,4 @@ class TagFactory $this->user = $user; } -} \ No newline at end of file +} diff --git a/app/Factory/TransactionCurrencyFactory.php b/app/Factory/TransactionCurrencyFactory.php index 0c66c2942a..25bf06fdcf 100644 --- a/app/Factory/TransactionCurrencyFactory.php +++ b/app/Factory/TransactionCurrencyFactory.php @@ -64,4 +64,4 @@ class TransactionCurrencyFactory } -} \ No newline at end of file +} diff --git a/app/Factory/TransactionFactory.php b/app/Factory/TransactionFactory.php index 50cf0b99b5..b0f9406bf8 100644 --- a/app/Factory/TransactionFactory.php +++ b/app/Factory/TransactionFactory.php @@ -145,4 +145,4 @@ class TransactionFactory } -} \ No newline at end of file +} diff --git a/app/Factory/TransactionJournalFactory.php b/app/Factory/TransactionJournalFactory.php index 77c9828a78..5612c0fb99 100644 --- a/app/Factory/TransactionJournalFactory.php +++ b/app/Factory/TransactionJournalFactory.php @@ -151,4 +151,4 @@ class TransactionJournalFactory return $transactionType; } -} \ No newline at end of file +} diff --git a/app/Factory/TransactionJournalMetaFactory.php b/app/Factory/TransactionJournalMetaFactory.php index 999d4fb3d2..44d4990abf 100644 --- a/app/Factory/TransactionJournalMetaFactory.php +++ b/app/Factory/TransactionJournalMetaFactory.php @@ -69,4 +69,4 @@ class TransactionJournalMetaFactory return $entry; } -} \ No newline at end of file +} diff --git a/app/Factory/TransactionTypeFactory.php b/app/Factory/TransactionTypeFactory.php index 178dc21d6c..f19f0d87a4 100644 --- a/app/Factory/TransactionTypeFactory.php +++ b/app/Factory/TransactionTypeFactory.php @@ -41,4 +41,4 @@ class TransactionTypeFactory return TransactionType::whereType(ucfirst($type))->first(); } -} \ No newline at end of file +} diff --git a/app/Handlers/Events/VersionCheckEventHandler.php b/app/Handlers/Events/VersionCheckEventHandler.php index 8f2e188393..8b6b097c0e 100644 --- a/app/Handlers/Events/VersionCheckEventHandler.php +++ b/app/Handlers/Events/VersionCheckEventHandler.php @@ -113,4 +113,4 @@ class VersionCheckEventHandler return; } -} \ No newline at end of file +} diff --git a/app/Http/Controllers/DebugController.php b/app/Http/Controllers/DebugController.php index 4e725e9552..23eea881d4 100644 --- a/app/Http/Controllers/DebugController.php +++ b/app/Http/Controllers/DebugController.php @@ -171,4 +171,4 @@ class DebugController extends Controller return $packages; } -} \ No newline at end of file +} diff --git a/app/Http/Controllers/Transaction/BulkController.php b/app/Http/Controllers/Transaction/BulkController.php index 10d38d0895..45fdc9c78e 100644 --- a/app/Http/Controllers/Transaction/BulkController.php +++ b/app/Http/Controllers/Transaction/BulkController.php @@ -182,4 +182,4 @@ class BulkController extends Controller return redirect($this->getPreviousUri('transactions.bulk-edit.uri')); } -} \ No newline at end of file +} diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php index 289fff1515..9d5e3c0006 100644 --- a/app/Http/Middleware/Authenticate.php +++ b/app/Http/Middleware/Authenticate.php @@ -1,4 +1,6 @@ 'required|in:create,nothing', ]; } -} \ No newline at end of file +} diff --git a/app/Repositories/TransactionType/TransactionTypeRepository.php b/app/Repositories/TransactionType/TransactionTypeRepository.php index 47b5d27354..c01cc5dfd3 100644 --- a/app/Repositories/TransactionType/TransactionTypeRepository.php +++ b/app/Repositories/TransactionType/TransactionTypeRepository.php @@ -41,4 +41,4 @@ class TransactionTypeRepository implements TransactionTypeRepositoryInterface { return TransactionType::where('type', ucfirst($type))->first(); } -} \ No newline at end of file +} diff --git a/app/Repositories/TransactionType/TransactionTypeRepositoryInterface.php b/app/Repositories/TransactionType/TransactionTypeRepositoryInterface.php index 213c044f2f..976f48196d 100644 --- a/app/Repositories/TransactionType/TransactionTypeRepositoryInterface.php +++ b/app/Repositories/TransactionType/TransactionTypeRepositoryInterface.php @@ -41,4 +41,4 @@ interface TransactionTypeRepositoryInterface */ public function findByType(string $type): ?TransactionType; -} \ No newline at end of file +} diff --git a/app/Rules/BelongsUser.php b/app/Rules/BelongsUser.php index 7967117327..5b0b26ce7f 100644 --- a/app/Rules/BelongsUser.php +++ b/app/Rules/BelongsUser.php @@ -1,4 +1,6 @@ token; } -} \ No newline at end of file +} diff --git a/app/Services/Spectre/Object/Transaction.php b/app/Services/Spectre/Object/Transaction.php index edf5768b64..ecb7bcc671 100644 --- a/app/Services/Spectre/Object/Transaction.php +++ b/app/Services/Spectre/Object/Transaction.php @@ -185,4 +185,4 @@ class Transaction extends SpectreObject } -} \ No newline at end of file +} diff --git a/app/Services/Spectre/Object/TransactionExtra.php b/app/Services/Spectre/Object/TransactionExtra.php index 6facc4af54..ab0f0e9233 100644 --- a/app/Services/Spectre/Object/TransactionExtra.php +++ b/app/Services/Spectre/Object/TransactionExtra.php @@ -166,4 +166,4 @@ class TransactionExtra extends SpectreObject } -} \ No newline at end of file +} diff --git a/app/Services/Spectre/Request/CreateTokenRequest.php b/app/Services/Spectre/Request/CreateTokenRequest.php index ff0925779c..7e1322d732 100644 --- a/app/Services/Spectre/Request/CreateTokenRequest.php +++ b/app/Services/Spectre/Request/CreateTokenRequest.php @@ -92,4 +92,4 @@ class CreateTokenRequest extends SpectreRequest } -} \ No newline at end of file +} diff --git a/app/Services/Spectre/Request/ListAccountsRequest.php b/app/Services/Spectre/Request/ListAccountsRequest.php index 2912137d62..660fc0cf4c 100644 --- a/app/Services/Spectre/Request/ListAccountsRequest.php +++ b/app/Services/Spectre/Request/ListAccountsRequest.php @@ -90,4 +90,4 @@ class ListAccountsRequest extends SpectreRequest } -} \ No newline at end of file +} diff --git a/app/Services/Spectre/Request/ListCustomersRequest.php b/app/Services/Spectre/Request/ListCustomersRequest.php index 7395c5a37a..62f3ca9c7d 100644 --- a/app/Services/Spectre/Request/ListCustomersRequest.php +++ b/app/Services/Spectre/Request/ListCustomersRequest.php @@ -79,4 +79,4 @@ class ListCustomersRequest extends SpectreRequest } -} \ No newline at end of file +} diff --git a/app/Services/Spectre/Request/ListLoginsRequest.php b/app/Services/Spectre/Request/ListLoginsRequest.php index a7ebd89afe..04c3d92853 100644 --- a/app/Services/Spectre/Request/ListLoginsRequest.php +++ b/app/Services/Spectre/Request/ListLoginsRequest.php @@ -89,4 +89,4 @@ class ListLoginsRequest extends SpectreRequest } -} \ No newline at end of file +} diff --git a/app/Services/Spectre/Request/ListTransactionsRequest.php b/app/Services/Spectre/Request/ListTransactionsRequest.php index bb03a2d2f1..f162bf22b3 100644 --- a/app/Services/Spectre/Request/ListTransactionsRequest.php +++ b/app/Services/Spectre/Request/ListTransactionsRequest.php @@ -91,4 +91,4 @@ class ListTransactionsRequest extends SpectreRequest } -} \ No newline at end of file +} diff --git a/app/Support/Import/Configuration/Spectre/HaveAccounts.php b/app/Support/Import/Configuration/Spectre/HaveAccounts.php index 9a7bedb9c6..d4db42118e 100644 --- a/app/Support/Import/Configuration/Spectre/HaveAccounts.php +++ b/app/Support/Import/Configuration/Spectre/HaveAccounts.php @@ -153,4 +153,4 @@ class HaveAccounts implements ConfigurationInterface return $collection; } -} \ No newline at end of file +} diff --git a/app/Support/Preferences.php b/app/Support/Preferences.php index 32fb1dc2b1..f5cd8f454a 100644 --- a/app/Support/Preferences.php +++ b/app/Support/Preferences.php @@ -156,6 +156,9 @@ class Preferences if (null !== $preference) { $lastActivity = $preference->data; } + if (is_array($lastActivity)) { + $lastActivity = implode(',', $lastActivity); + } return md5($lastActivity); } diff --git a/app/Transformers/AccountTransformer.php b/app/Transformers/AccountTransformer.php index b36a05f25c..dae5b8f5fb 100644 --- a/app/Transformers/AccountTransformer.php +++ b/app/Transformers/AccountTransformer.php @@ -240,4 +240,4 @@ class AccountTransformer extends TransformerAbstract return $result; } -} \ No newline at end of file +} diff --git a/app/Transformers/AttachmentTransformer.php b/app/Transformers/AttachmentTransformer.php index 18e990cc67..0db1993352 100644 --- a/app/Transformers/AttachmentTransformer.php +++ b/app/Transformers/AttachmentTransformer.php @@ -106,4 +106,4 @@ class AttachmentTransformer extends TransformerAbstract ]; } -} \ No newline at end of file +} diff --git a/app/Transformers/BillTransformer.php b/app/Transformers/BillTransformer.php index 878e88b5b3..bffa784cd7 100644 --- a/app/Transformers/BillTransformer.php +++ b/app/Transformers/BillTransformer.php @@ -292,4 +292,4 @@ class BillTransformer extends TransformerAbstract return $simple->toArray(); } -} \ No newline at end of file +} diff --git a/app/Transformers/BudgetTransformer.php b/app/Transformers/BudgetTransformer.php index 6423aa70c1..4163973ecc 100644 --- a/app/Transformers/BudgetTransformer.php +++ b/app/Transformers/BudgetTransformer.php @@ -132,4 +132,4 @@ class BudgetTransformer extends TransformerAbstract return $data; } -} \ No newline at end of file +} diff --git a/app/Transformers/CategoryTransformer.php b/app/Transformers/CategoryTransformer.php index c25222d43a..1d7c3bde8b 100644 --- a/app/Transformers/CategoryTransformer.php +++ b/app/Transformers/CategoryTransformer.php @@ -131,4 +131,4 @@ class CategoryTransformer extends TransformerAbstract return $data; } -} \ No newline at end of file +} diff --git a/app/Transformers/JournalMetaTransformer.php b/app/Transformers/JournalMetaTransformer.php index 23d9359397..3985b4ab2a 100644 --- a/app/Transformers/JournalMetaTransformer.php +++ b/app/Transformers/JournalMetaTransformer.php @@ -120,4 +120,4 @@ class JournalMetaTransformer extends TransformerAbstract return $data; } -} \ No newline at end of file +} diff --git a/app/Transformers/PiggyBankEventTransformer.php b/app/Transformers/PiggyBankEventTransformer.php index 5a3daf2719..4f20f73885 100644 --- a/app/Transformers/PiggyBankEventTransformer.php +++ b/app/Transformers/PiggyBankEventTransformer.php @@ -145,4 +145,4 @@ class PiggyBankEventTransformer extends TransformerAbstract return $data; } -} \ No newline at end of file +} diff --git a/app/Transformers/PiggyBankTransformer.php b/app/Transformers/PiggyBankTransformer.php index 55ba083cf6..dba7617104 100644 --- a/app/Transformers/PiggyBankTransformer.php +++ b/app/Transformers/PiggyBankTransformer.php @@ -163,4 +163,4 @@ class PiggyBankTransformer extends TransformerAbstract return $data; } -} \ No newline at end of file +} diff --git a/app/Transformers/TagTransformer.php b/app/Transformers/TagTransformer.php index 20c9ee2023..6cc8cff5ef 100644 --- a/app/Transformers/TagTransformer.php +++ b/app/Transformers/TagTransformer.php @@ -137,4 +137,4 @@ class TagTransformer extends TransformerAbstract return $data; } -} \ No newline at end of file +} diff --git a/app/Transformers/TransactionTransformer.php b/app/Transformers/TransactionTransformer.php index ac4386ac7e..e4f99fbcd2 100644 --- a/app/Transformers/TransactionTransformer.php +++ b/app/Transformers/TransactionTransformer.php @@ -255,4 +255,4 @@ class TransactionTransformer extends TransformerAbstract return $data; } -} \ No newline at end of file +} diff --git a/app/Transformers/UserTransformer.php b/app/Transformers/UserTransformer.php index 66e5c835e5..902c601f1a 100644 --- a/app/Transformers/UserTransformer.php +++ b/app/Transformers/UserTransformer.php @@ -205,4 +205,4 @@ class UserTransformer extends TransformerAbstract ]; } -} \ No newline at end of file +} diff --git a/config/breadcrumbs.php b/config/breadcrumbs.php index 66d8ac024d..f238785376 100644 --- a/config/breadcrumbs.php +++ b/config/breadcrumbs.php @@ -1,4 +1,6 @@ 'Unerwarteter Zeitraum', 'not_or_not_yet' => '(Noch) nicht', -]; \ No newline at end of file +]; diff --git a/resources/lang/es_ES/components.php b/resources/lang/es_ES/components.php index 4adfc3819b..d537947a1c 100644 --- a/resources/lang/es_ES/components.php +++ b/resources/lang/es_ES/components.php @@ -27,4 +27,4 @@ return [ // bills: 'not_expected_period' => 'No se esperaba este período', 'not_or_not_yet' => 'No (todavía)', -]; \ No newline at end of file +]; diff --git a/resources/lang/fr_FR/components.php b/resources/lang/fr_FR/components.php index fae0f0f10b..125c74b2f0 100644 --- a/resources/lang/fr_FR/components.php +++ b/resources/lang/fr_FR/components.php @@ -27,4 +27,4 @@ return [ // bills: 'not_expected_period' => 'Not expected this period', 'not_or_not_yet' => 'Not (yet)', -]; \ No newline at end of file +]; diff --git a/resources/lang/id_ID/components.php b/resources/lang/id_ID/components.php index fae0f0f10b..125c74b2f0 100644 --- a/resources/lang/id_ID/components.php +++ b/resources/lang/id_ID/components.php @@ -27,4 +27,4 @@ return [ // bills: 'not_expected_period' => 'Not expected this period', 'not_or_not_yet' => 'Not (yet)', -]; \ No newline at end of file +]; diff --git a/resources/lang/nl_NL/components.php b/resources/lang/nl_NL/components.php index ca86e4a33d..b88c239f03 100644 --- a/resources/lang/nl_NL/components.php +++ b/resources/lang/nl_NL/components.php @@ -27,4 +27,4 @@ return [ // bills: 'not_expected_period' => 'Niet verwacht deze periode', 'not_or_not_yet' => '(nog) niet', -]; \ No newline at end of file +]; diff --git a/resources/lang/pl_PL/components.php b/resources/lang/pl_PL/components.php index 81a7bd017f..5b4bfa75e0 100644 --- a/resources/lang/pl_PL/components.php +++ b/resources/lang/pl_PL/components.php @@ -27,4 +27,4 @@ return [ // bills: 'not_expected_period' => 'Nie oczekiwany w tym okresie', 'not_or_not_yet' => 'Nie (jeszcze)', -]; \ No newline at end of file +]; diff --git a/resources/lang/pt_BR/components.php b/resources/lang/pt_BR/components.php index 7c4b0246f7..c555e1437b 100644 --- a/resources/lang/pt_BR/components.php +++ b/resources/lang/pt_BR/components.php @@ -27,4 +27,4 @@ return [ // bills: 'not_expected_period' => 'Não esperado neste período', 'not_or_not_yet' => 'Não (ainda)', -]; \ No newline at end of file +]; diff --git a/resources/lang/ru_RU/components.php b/resources/lang/ru_RU/components.php index 923d3c2aa5..f59d3bdff6 100644 --- a/resources/lang/ru_RU/components.php +++ b/resources/lang/ru_RU/components.php @@ -27,4 +27,4 @@ return [ // bills: 'not_expected_period' => 'Не ожидается в данном периоде', 'not_or_not_yet' => 'Пока нет', -]; \ No newline at end of file +]; diff --git a/resources/lang/tr_TR/components.php b/resources/lang/tr_TR/components.php index fae0f0f10b..125c74b2f0 100644 --- a/resources/lang/tr_TR/components.php +++ b/resources/lang/tr_TR/components.php @@ -27,4 +27,4 @@ return [ // bills: 'not_expected_period' => 'Not expected this period', 'not_or_not_yet' => 'Not (yet)', -]; \ No newline at end of file +]; diff --git a/resources/views/admin/index.twig b/resources/views/admin/index.twig index 527f15dc08..861cbce7b3 100644 --- a/resources/views/admin/index.twig +++ b/resources/views/admin/index.twig @@ -56,4 +56,4 @@ -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/resources/views/admin/update/index.twig b/resources/views/admin/update/index.twig index 35d76b6745..75837cf3bc 100644 --- a/resources/views/admin/update/index.twig +++ b/resources/views/admin/update/index.twig @@ -58,4 +58,4 @@ var updateCheckUri = '{{ route('admin.update-check.manual') }}'; -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/resources/views/import/spectre/redirect.twig b/resources/views/import/spectre/redirect.twig index e592f10170..72f9ca282b 100644 --- a/resources/views/import/spectre/redirect.twig +++ b/resources/views/import/spectre/redirect.twig @@ -11,4 +11,4 @@ If you are not redirected automatically, follow this link to Spectre.. -#} \ No newline at end of file +#} diff --git a/resources/views/javascript/variables.twig b/resources/views/javascript/variables.twig index 5bb238855a..9818cee9ec 100644 --- a/resources/views/javascript/variables.twig +++ b/resources/views/javascript/variables.twig @@ -42,4 +42,4 @@ var sessionEnd = '{{ session('end').format('Y-m-d') }}'; // some formatting stuff: var month_and_day_js = "{{ trans('config.month_and_day_js') }}"; -var acc_config_new = {format: accountingConfig}; \ No newline at end of file +var acc_config_new = {format: accountingConfig}; diff --git a/resources/views/list/bills.twig b/resources/views/list/bills.twig index 70fc2d5b27..2a107273ed 100644 --- a/resources/views/list/bills.twig +++ b/resources/views/list/bills.twig @@ -125,4 +125,4 @@
{{ paginator.render|raw }} -
\ No newline at end of file + diff --git a/resources/views/list/categories.twig b/resources/views/list/categories.twig index 6094b73d5b..425008ca41 100644 --- a/resources/views/list/categories.twig +++ b/resources/views/list/categories.twig @@ -41,4 +41,4 @@
{{ categories.render|raw }} -
\ No newline at end of file + diff --git a/resources/views/preferences/code.twig b/resources/views/preferences/code.twig index 84735f09e7..0e7e3fd0f0 100644 --- a/resources/views/preferences/code.twig +++ b/resources/views/preferences/code.twig @@ -51,4 +51,4 @@ $("form#preferences_code input:enabled:visible:first").first().select(); }); -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/resources/views/test/test.twig b/resources/views/test/test.twig index d9563d62ce..d2ab74c2d7 100644 --- a/resources/views/test/test.twig +++ b/resources/views/test/test.twig @@ -1,2 +1,2 @@ list-length: {{ listLength }} -sandstorm-anon: {% if SANDSTORM_ANON %}true{% else %}false{% endif %} \ No newline at end of file +sandstorm-anon: {% if SANDSTORM_ANON %}true{% else %}false{% endif %}