Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Replace \get_class with get_class
James Cole8b5551fc26d4
diff --git a/app/Factory/AccountFactory.php b/app/Factory/AccountFactory.phpindex 0f5abc5859..186ed37f3b 100644--- a/app/Factory/AccountFactory.php+++ b/app/Factory/AccountFactory.php@@ -55,7 +55,7 @@ class AccountFactorypublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Factory/AccountMetaFactory.php b/app/Factory/AccountMetaFactory.phpindex a6c156e299..186e390bef 100644--- a/app/Factory/AccountMetaFactory.php+++ b/app/Factory/AccountMetaFactory.php@@ -40,7 +40,7 @@ class AccountMetaFactorypublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Factory/AttachmentFactory.php b/app/Factory/AttachmentFactory.phpindex 4ebefc9f94..f0e09fe3a6 100644--- a/app/Factory/AttachmentFactory.php+++ b/app/Factory/AttachmentFactory.php@@ -45,7 +45,7 @@ class AttachmentFactorypublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Factory/BillFactory.php b/app/Factory/BillFactory.phpindex 78ae84528f..0786eb2e3d 100644--- a/app/Factory/BillFactory.php+++ b/app/Factory/BillFactory.php@@ -46,7 +46,7 @@ class BillFactorypublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Factory/BudgetFactory.php b/app/Factory/BudgetFactory.phpindex a4474f5877..f88c446815 100644--- a/app/Factory/BudgetFactory.php+++ b/app/Factory/BudgetFactory.php@@ -43,7 +43,7 @@ class BudgetFactorypublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Factory/CategoryFactory.php b/app/Factory/CategoryFactory.phpindex 5d9ce23274..a8908568fb 100644--- a/app/Factory/CategoryFactory.php+++ b/app/Factory/CategoryFactory.php@@ -43,7 +43,7 @@ class CategoryFactorypublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Factory/PiggyBankEventFactory.php b/app/Factory/PiggyBankEventFactory.phpindex 0c6d19e86f..dc93c2c45f 100644--- a/app/Factory/PiggyBankEventFactory.php+++ b/app/Factory/PiggyBankEventFactory.php@@ -43,7 +43,7 @@ class PiggyBankEventFactorypublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Factory/PiggyBankFactory.php b/app/Factory/PiggyBankFactory.phpindex 424e1e6f6e..40eb3eaa2c 100644--- a/app/Factory/PiggyBankFactory.php+++ b/app/Factory/PiggyBankFactory.php@@ -42,7 +42,7 @@ class PiggyBankFactorypublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Factory/RecurrenceFactory.php b/app/Factory/RecurrenceFactory.phpindex 1a71192710..ee8efe9c8c 100644--- a/app/Factory/RecurrenceFactory.php+++ b/app/Factory/RecurrenceFactory.php@@ -50,7 +50,7 @@ class RecurrenceFactorypublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Factory/TagFactory.php b/app/Factory/TagFactory.phpindex e6060bf656..d143e4a838 100644--- a/app/Factory/TagFactory.php+++ b/app/Factory/TagFactory.php@@ -45,7 +45,7 @@ class TagFactorypublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Factory/TransactionCurrencyFactory.php b/app/Factory/TransactionCurrencyFactory.phpindex c29658311a..3d831791a5 100644--- a/app/Factory/TransactionCurrencyFactory.php+++ b/app/Factory/TransactionCurrencyFactory.php@@ -44,7 +44,7 @@ class TransactionCurrencyFactorypublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Factory/TransactionFactory.php b/app/Factory/TransactionFactory.phpindex 9f44bfc586..f96ce3978d 100644--- a/app/Factory/TransactionFactory.php+++ b/app/Factory/TransactionFactory.php@@ -64,7 +64,7 @@ class TransactionFactorypublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}$this->accountRepository = app(AccountRepositoryInterface::class);$this->accountValidator = app(AccountValidator::class);diff --git a/app/Factory/TransactionJournalFactory.php b/app/Factory/TransactionJournalFactory.phpindex 8d64889551..e20acf56d8 100644--- a/app/Factory/TransactionJournalFactory.php+++ b/app/Factory/TransactionJournalFactory.php@@ -96,7 +96,7 @@ class TransactionJournalFactoryif ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}$this->currencyRepository = app(CurrencyRepositoryInterface::class);diff --git a/app/Factory/TransactionJournalMetaFactory.php b/app/Factory/TransactionJournalMetaFactory.phpindex 96d3030a61..42c4a1ae30 100644--- a/app/Factory/TransactionJournalMetaFactory.php+++ b/app/Factory/TransactionJournalMetaFactory.php@@ -40,7 +40,7 @@ class TransactionJournalMetaFactorypublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Factory/TransactionTypeFactory.php b/app/Factory/TransactionTypeFactory.phpindex 9497cae39b..08f7d8abf4 100644--- a/app/Factory/TransactionTypeFactory.php+++ b/app/Factory/TransactionTypeFactory.php@@ -39,7 +39,7 @@ class TransactionTypeFactorypublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Generator/Chart/Basic/ChartJsGenerator.php b/app/Generator/Chart/Basic/ChartJsGenerator.phpindex 52f9251661..f46bd9c211 100644--- a/app/Generator/Chart/Basic/ChartJsGenerator.php+++ b/app/Generator/Chart/Basic/ChartJsGenerator.php@@ -36,7 +36,7 @@ class ChartJsGenerator implements GeneratorInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Helpers/Attachments/AttachmentHelper.php b/app/Helpers/Attachments/AttachmentHelper.phpindex bf3a66378f..9312b08899 100644--- a/app/Helpers/Attachments/AttachmentHelper.php+++ b/app/Helpers/Attachments/AttachmentHelper.php@@ -67,7 +67,7 @@ class AttachmentHelper implements AttachmentHelperInterface$this->uploadDisk = Storage::disk('upload');if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}@@ -193,7 +193,7 @@ class AttachmentHelper implements AttachmentHelperInterfaceif (!($model instanceof Model)) {return false; // @codeCoverageIgnore}- Log::debug(sprintf('Now in saveAttachmentsForModel for model %s', \get_class($model)));+ Log::debug(sprintf('Now in saveAttachmentsForModel for model %s', get_class($model)));if (\is_array($files)) {Log::debug('$files is an array.');/** @var UploadedFile $entry */@@ -223,7 +223,7 @@ class AttachmentHelper implements AttachmentHelperInterface{$md5 = md5_file($file->getRealPath());$name = $file->getClientOriginalName();- $class = \get_class($model);+ $class = get_class($model);/** @noinspection PhpUndefinedFieldInspection */$count = $model->user->attachments()->where('md5', $md5)->where('attachable_id', $model->id)->where('attachable_type', $class)->count();$result = false;diff --git a/app/Helpers/Chart/MetaPieChart.php b/app/Helpers/Chart/MetaPieChart.phpindex 1f1e00e765..cc7bb22168 100644--- a/app/Helpers/Chart/MetaPieChart.php+++ b/app/Helpers/Chart/MetaPieChart.php@@ -86,7 +86,7 @@ class MetaPieChart implements MetaPieChartInterface$this->tags = new Collection;if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Helpers/FiscalHelper.php b/app/Helpers/FiscalHelper.phpindex 19bf74e9d9..514988eca7 100644--- a/app/Helpers/FiscalHelper.php+++ b/app/Helpers/FiscalHelper.php@@ -41,7 +41,7 @@ class FiscalHelper implements FiscalHelperInterface$this->useCustomFiscalYear = app('preferences')->get('customFiscalYear', false)->data;if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Helpers/Help/Help.php b/app/Helpers/Help/Help.phpindex f93dfc505a..d58a484421 100644--- a/app/Helpers/Help/Help.php+++ b/app/Helpers/Help/Help.php@@ -45,7 +45,7 @@ class Help implements HelpInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Helpers/Report/BalanceReportHelper.php b/app/Helpers/Report/BalanceReportHelper.phpindex 181e5532bc..82c87fb459 100644--- a/app/Helpers/Report/BalanceReportHelper.php+++ b/app/Helpers/Report/BalanceReportHelper.php@@ -53,7 +53,7 @@ class BalanceReportHelper implements BalanceReportHelperInterface$this->budgetRepository = $budgetRepository;if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Helpers/Report/BudgetReportHelper.php b/app/Helpers/Report/BudgetReportHelper.phpindex 41b56af8fe..238df2b504 100644--- a/app/Helpers/Report/BudgetReportHelper.php+++ b/app/Helpers/Report/BudgetReportHelper.php@@ -49,7 +49,7 @@ class BudgetReportHelper implements BudgetReportHelperInterface$this->repository = $repository;if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Helpers/Report/NetWorth.php b/app/Helpers/Report/NetWorth.phpindex 3afec01a1b..1689fc9c7c 100644--- a/app/Helpers/Report/NetWorth.php+++ b/app/Helpers/Report/NetWorth.php@@ -53,7 +53,7 @@ class NetWorth implements NetWorthInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Helpers/Report/PopupReport.php b/app/Helpers/Report/PopupReport.phpindex ffb205d47a..e9903565a3 100644--- a/app/Helpers/Report/PopupReport.php+++ b/app/Helpers/Report/PopupReport.php@@ -45,7 +45,7 @@ class PopupReport implements PopupReportInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Helpers/Report/ReportHelper.php b/app/Helpers/Report/ReportHelper.phpindex 6a1f9475c4..04dc3789bc 100644--- a/app/Helpers/Report/ReportHelper.php+++ b/app/Helpers/Report/ReportHelper.php@@ -54,7 +54,7 @@ class ReportHelper implements ReportHelperInterface$this->budgetRepository = $budgetRepository;if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}diff --git a/app/Repositories/Account/AccountRepository.php b/app/Repositories/Account/AccountRepository.phpindex 5c78e5e7fa..1acc585290 100644--- a/app/Repositories/Account/AccountRepository.php+++ b/app/Repositories/Account/AccountRepository.php@@ -53,7 +53,7 @@ class AccountRepository implements AccountRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/Account/AccountTasker.php b/app/Repositories/Account/AccountTasker.phpindex 9432277957..c2d1fa45e2 100644--- a/app/Repositories/Account/AccountTasker.php+++ b/app/Repositories/Account/AccountTasker.php@@ -45,7 +45,7 @@ class AccountTasker implements AccountTaskerInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/Attachment/AttachmentRepository.php b/app/Repositories/Attachment/AttachmentRepository.phpindex a237739281..2c3e1aee3f 100644--- a/app/Repositories/Attachment/AttachmentRepository.php+++ b/app/Repositories/Attachment/AttachmentRepository.php@@ -51,7 +51,7 @@ class AttachmentRepository implements AttachmentRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/Bill/BillRepository.php b/app/Repositories/Bill/BillRepository.phpindex d5c723cb82..a97438fc3c 100644--- a/app/Repositories/Bill/BillRepository.php+++ b/app/Repositories/Bill/BillRepository.php@@ -54,7 +54,7 @@ class BillRepository implements BillRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/Budget/BudgetRepository.php b/app/Repositories/Budget/BudgetRepository.phpindex e4d66e38ac..a6352a596e 100644--- a/app/Repositories/Budget/BudgetRepository.php+++ b/app/Repositories/Budget/BudgetRepository.php@@ -61,7 +61,7 @@ class BudgetRepository implements BudgetRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/Category/CategoryRepository.php b/app/Repositories/Category/CategoryRepository.phpindex acb0a7d45d..d86fa522c3 100644--- a/app/Repositories/Category/CategoryRepository.php+++ b/app/Repositories/Category/CategoryRepository.php@@ -52,7 +52,7 @@ class CategoryRepository implements CategoryRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/Currency/CurrencyRepository.php b/app/Repositories/Currency/CurrencyRepository.phpindex 7358838328..f17d874fd2 100644--- a/app/Repositories/Currency/CurrencyRepository.php+++ b/app/Repositories/Currency/CurrencyRepository.php@@ -51,7 +51,7 @@ class CurrencyRepository implements CurrencyRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/ImportJob/ImportJobRepository.php b/app/Repositories/ImportJob/ImportJobRepository.phpindex 5f11c87010..e2e9430caa 100644--- a/app/Repositories/ImportJob/ImportJobRepository.php+++ b/app/Repositories/ImportJob/ImportJobRepository.php@@ -55,7 +55,7 @@ class ImportJobRepository implements ImportJobRepositoryInterface$this->uploadDisk = Storage::disk('upload');if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/Journal/JournalRepository.php b/app/Repositories/Journal/JournalRepository.phpindex a91ef3a505..774c54438d 100644--- a/app/Repositories/Journal/JournalRepository.php+++ b/app/Repositories/Journal/JournalRepository.php@@ -62,7 +62,7 @@ class JournalRepository implements JournalRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/LinkType/LinkTypeRepository.php b/app/Repositories/LinkType/LinkTypeRepository.phpindex d4aab759af..cba90c91bb 100644--- a/app/Repositories/LinkType/LinkTypeRepository.php+++ b/app/Repositories/LinkType/LinkTypeRepository.php@@ -47,7 +47,7 @@ class LinkTypeRepository implements LinkTypeRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/PiggyBank/PiggyBankRepository.php b/app/Repositories/PiggyBank/PiggyBankRepository.phpindex f6a6e56df1..90a756d471 100644--- a/app/Repositories/PiggyBank/PiggyBankRepository.php+++ b/app/Repositories/PiggyBank/PiggyBankRepository.php@@ -51,7 +51,7 @@ class PiggyBankRepository implements PiggyBankRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/Recurring/RecurringRepository.php b/app/Repositories/Recurring/RecurringRepository.phpindex dcefc99d87..3a1f65d303 100644--- a/app/Repositories/Recurring/RecurringRepository.php+++ b/app/Repositories/Recurring/RecurringRepository.php@@ -61,7 +61,7 @@ class RecurringRepository implements RecurringRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/Rule/RuleRepository.php b/app/Repositories/Rule/RuleRepository.phpindex 718d95eb17..71b1e5e47e 100644--- a/app/Repositories/Rule/RuleRepository.php+++ b/app/Repositories/Rule/RuleRepository.php@@ -47,7 +47,7 @@ class RuleRepository implements RuleRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/RuleGroup/RuleGroupRepository.php b/app/Repositories/RuleGroup/RuleGroupRepository.phpindex a29fea2de7..b1a6cc6556 100644--- a/app/Repositories/RuleGroup/RuleGroupRepository.php+++ b/app/Repositories/RuleGroup/RuleGroupRepository.php@@ -43,7 +43,7 @@ class RuleGroupRepository implements RuleGroupRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/Tag/TagRepository.php b/app/Repositories/Tag/TagRepository.phpindex c6ae561452..90e311d3b2 100644--- a/app/Repositories/Tag/TagRepository.php+++ b/app/Repositories/Tag/TagRepository.php@@ -49,7 +49,7 @@ class TagRepository implements TagRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/TransactionGroup/TransactionGroupRepository.php b/app/Repositories/TransactionGroup/TransactionGroupRepository.phpindex e4361b48f7..c745c803b1 100644--- a/app/Repositories/TransactionGroup/TransactionGroupRepository.php+++ b/app/Repositories/TransactionGroup/TransactionGroupRepository.php@@ -56,7 +56,7 @@ class TransactionGroupRepository implements TransactionGroupRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- app('log')->warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ app('log')->warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Repositories/User/UserRepository.php b/app/Repositories/User/UserRepository.phpindex b6e9aa873d..16567096f6 100644--- a/app/Repositories/User/UserRepository.php+++ b/app/Repositories/User/UserRepository.php@@ -42,7 +42,7 @@ class UserRepository implements UserRepositoryInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}@@ -268,8 +268,6 @@ class UserRepository implements UserRepositoryInterface->where('amount', '>', 0)->whereNull('budgets.deleted_at')->where('budgets.user_id', $user->id)->get(['budget_limits.budget_id'])->count();- $return['export_jobs'] = $user->exportJobs()->count();- $return['export_jobs_success'] = $user->exportJobs()->where('status', 'export_downloaded')->count();$return['import_jobs'] = $user->importJobs()->count();$return['import_jobs_success'] = $user->importJobs()->where('status', 'finished')->count();$return['rule_groups'] = $user->ruleGroups()->count();diff --git a/app/Services/Currency/FixerIOv2.php b/app/Services/Currency/FixerIOv2.phpindex 47bfa4c71a..6c6245db9f 100644--- a/app/Services/Currency/FixerIOv2.php+++ b/app/Services/Currency/FixerIOv2.php@@ -45,7 +45,7 @@ class FixerIOv2 implements ExchangeRateInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Currency/RatesApiIOv1.php b/app/Services/Currency/RatesApiIOv1.phpindex 2c606ddfec..4c7de5f4d3 100644--- a/app/Services/Currency/RatesApiIOv1.php+++ b/app/Services/Currency/RatesApiIOv1.php@@ -45,7 +45,7 @@ class RatesApiIOv1 implements ExchangeRateInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/IP/IpifyOrg.php b/app/Services/IP/IpifyOrg.phpindex c1adfc490d..9394de8202 100644--- a/app/Services/IP/IpifyOrg.php+++ b/app/Services/IP/IpifyOrg.php@@ -40,7 +40,7 @@ class IpifyOrg implements IPRetrievalInterfacepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Internal/Destroy/AccountDestroyService.php b/app/Services/Internal/Destroy/AccountDestroyService.phpindex d0aba6f8f7..6714e22d63 100644--- a/app/Services/Internal/Destroy/AccountDestroyService.php+++ b/app/Services/Internal/Destroy/AccountDestroyService.php@@ -44,7 +44,7 @@ class AccountDestroyServicepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Internal/Destroy/BillDestroyService.php b/app/Services/Internal/Destroy/BillDestroyService.phpindex 13d170421f..4b256c8f89 100644--- a/app/Services/Internal/Destroy/BillDestroyService.php+++ b/app/Services/Internal/Destroy/BillDestroyService.php@@ -39,7 +39,7 @@ class BillDestroyServicepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Internal/Destroy/BudgetDestroyService.php b/app/Services/Internal/Destroy/BudgetDestroyService.phpindex 4f1f1b06cf..e6cbe1d263 100644--- a/app/Services/Internal/Destroy/BudgetDestroyService.php+++ b/app/Services/Internal/Destroy/BudgetDestroyService.php@@ -39,7 +39,7 @@ class BudgetDestroyServicepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Internal/Destroy/CategoryDestroyService.php b/app/Services/Internal/Destroy/CategoryDestroyService.phpindex d8d34ab00b..3d23360730 100644--- a/app/Services/Internal/Destroy/CategoryDestroyService.php+++ b/app/Services/Internal/Destroy/CategoryDestroyService.php@@ -39,7 +39,7 @@ class CategoryDestroyServicepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Internal/Destroy/CurrencyDestroyService.php b/app/Services/Internal/Destroy/CurrencyDestroyService.phpindex 3940fcb548..f67cf9d3d8 100644--- a/app/Services/Internal/Destroy/CurrencyDestroyService.php+++ b/app/Services/Internal/Destroy/CurrencyDestroyService.php@@ -38,7 +38,7 @@ class CurrencyDestroyServicepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Internal/Destroy/JournalDestroyService.php b/app/Services/Internal/Destroy/JournalDestroyService.phpindex ee67a9665e..28ebfe5fcf 100644--- a/app/Services/Internal/Destroy/JournalDestroyService.php+++ b/app/Services/Internal/Destroy/JournalDestroyService.php@@ -41,7 +41,7 @@ class JournalDestroyServicepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Internal/Destroy/RecurrenceDestroyService.php b/app/Services/Internal/Destroy/RecurrenceDestroyService.phpindex 68da18cc6f..ebd7fd0a6c 100644--- a/app/Services/Internal/Destroy/RecurrenceDestroyService.php+++ b/app/Services/Internal/Destroy/RecurrenceDestroyService.php@@ -40,7 +40,7 @@ class RecurrenceDestroyServicepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Internal/File/EncryptService.php b/app/Services/Internal/File/EncryptService.phpindex b72398571e..7bc8481560 100644--- a/app/Services/Internal/File/EncryptService.php+++ b/app/Services/Internal/File/EncryptService.php@@ -40,7 +40,7 @@ class EncryptServicepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Internal/Update/AccountUpdateService.php b/app/Services/Internal/Update/AccountUpdateService.phpindex a7c0a26548..2b18a1269b 100644--- a/app/Services/Internal/Update/AccountUpdateService.php+++ b/app/Services/Internal/Update/AccountUpdateService.php@@ -42,7 +42,7 @@ class AccountUpdateServicepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Internal/Update/BillUpdateService.php b/app/Services/Internal/Update/BillUpdateService.phpindex c1d4f8a621..3f9fa1c9d8 100644--- a/app/Services/Internal/Update/BillUpdateService.php+++ b/app/Services/Internal/Update/BillUpdateService.php@@ -43,7 +43,7 @@ class BillUpdateServicepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Internal/Update/CategoryUpdateService.php b/app/Services/Internal/Update/CategoryUpdateService.phpindex fdd10cbd60..b183434de9 100644--- a/app/Services/Internal/Update/CategoryUpdateService.php+++ b/app/Services/Internal/Update/CategoryUpdateService.php@@ -37,7 +37,7 @@ class CategoryUpdateServicepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Internal/Update/CurrencyUpdateService.php b/app/Services/Internal/Update/CurrencyUpdateService.phpindex 38149b77fe..e76409e66d 100644--- a/app/Services/Internal/Update/CurrencyUpdateService.php+++ b/app/Services/Internal/Update/CurrencyUpdateService.php@@ -37,7 +37,7 @@ class CurrencyUpdateServicepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Internal/Update/TransactionUpdateService.php b/app/Services/Internal/Update/TransactionUpdateService.phpindex 78ef4cbabd..f0cc03f295 100644--- a/app/Services/Internal/Update/TransactionUpdateService.php+++ b/app/Services/Internal/Update/TransactionUpdateService.php@@ -44,7 +44,7 @@ class TransactionUpdateServicepublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Services/Password/PwndVerifierV2.php b/app/Services/Password/PwndVerifierV2.phpindex e46498f75f..541274ca76 100644--- a/app/Services/Password/PwndVerifierV2.php+++ b/app/Services/Password/PwndVerifierV2.php@@ -39,7 +39,7 @@ class PwndVerifierV2 implements Verifierpublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Support/Import/Routine/Bunq/PaymentConverter.php b/app/Support/Import/Routine/Bunq/PaymentConverter.phpindex 8345f8561c..070fb0d68f 100644--- a/app/Support/Import/Routine/Bunq/PaymentConverter.php+++ b/app/Support/Import/Routine/Bunq/PaymentConverter.php@@ -58,7 +58,7 @@ class PaymentConverter$this->importJobRepos = app(ImportJobRepositoryInterface::class);$this->accountFactory = app(AccountFactory::class);if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Support/Import/Routine/Bunq/StageNewHandler.php b/app/Support/Import/Routine/Bunq/StageNewHandler.phpindex 0b7b3dd8a9..e37fcd71c6 100644--- a/app/Support/Import/Routine/Bunq/StageNewHandler.php+++ b/app/Support/Import/Routine/Bunq/StageNewHandler.php@@ -111,7 +111,7 @@ class StageNewHandler// @codeCoverageIgnoreEndif (null !== $object) {$array = null;- switch (\get_class($object)) {+ switch (get_class($object)) {case MonetaryAccountBank::class:Log::debug('Going to convert a MonetaryAccountBank');/** @var MonetaryAccountBank $object */@@ -135,7 +135,7 @@ class StageNewHandlerbreak;default:// @codeCoverageIgnoreStart- throw new FireflyException(sprintf('Bunq import routine cannot handle account of type "%s".', \get_class($object)));+ throw new FireflyException(sprintf('Bunq import routine cannot handle account of type "%s".', get_class($object)));// @codeCoverageIgnoreEnd}if (null !== $array) {diff --git a/app/Support/Search/Search.php b/app/Support/Search/Search.phpindex 03eb3233ca..61d4ddc72c 100644--- a/app/Support/Search/Search.php+++ b/app/Support/Search/Search.php@@ -76,7 +76,7 @@ class Search implements SearchInterface$this->billRepository = app(BillRepositoryInterface::class);if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/TransactionRules/Factory/TriggerFactory.php b/app/TransactionRules/Factory/TriggerFactory.phpindex cb6c7b0887..4d5c10e69e 100644--- a/app/TransactionRules/Factory/TriggerFactory.php+++ b/app/TransactionRules/Factory/TriggerFactory.php@@ -62,7 +62,7 @@ class TriggerFactory$obj->stopProcessing = $trigger->stop_processing;Log::debug(sprintf('self::getTriggerClass("%s") = "%s"', $triggerType, $class));- Log::debug(sprintf('%s::makeFromTriggerValue(%s) = object of class "%s"', $class, $trigger->trigger_value, \get_class($obj)));+ Log::debug(sprintf('%s::makeFromTriggerValue(%s) = object of class "%s"', $class, $trigger->trigger_value, get_class($obj)));return $obj;}diff --git a/app/TransactionRules/Processor.php b/app/TransactionRules/Processor.phpindex c78aac93ac..e57a655801 100644--- a/app/TransactionRules/Processor.php+++ b/app/TransactionRules/Processor.php@@ -122,18 +122,18 @@ class Processor/** @var AbstractTrigger $trigger */foreach ($this->triggers as $trigger) {++$foundTriggers;- Log::debug(sprintf('Now checking trigger %s with value %s', \get_class($trigger), $trigger->getTriggerValue()));+ Log::debug(sprintf('Now checking trigger %s with value %s', get_class($trigger), $trigger->getTriggerValue()));/** @var AbstractTrigger $trigger */if ($trigger->triggered($this->journal)) {Log::debug('Is a match!');++$hitTriggers;// is non-strict? then return true!- if (!$this->strict && UserAction::class !== \get_class($trigger)) {+ if (!$this->strict && UserAction::class !== get_class($trigger)) {Log::debug('Rule is set as non-strict, return true!');return true;}- if (!$this->strict && UserAction::class === \get_class($trigger)) {+ if (!$this->strict && UserAction::class === get_class($trigger)) {Log::debug('Rule is set as non-strict, but action was "user-action". Will not return true.');}}@@ -183,7 +183,7 @@ class Processorforeach ($this->actions as $action) {/** @var ActionInterface $actionClass */$actionClass = ActionFactory::getAction($action);- Log::debug(sprintf('Fire action %s on journal #%d', \get_class($actionClass), $this->journal->id));+ Log::debug(sprintf('Fire action %s on journal #%d', get_class($actionClass), $this->journal->id));$actionClass->act($this->journal);if ($action->stop_processing) {Log::debug('Stop processing now and break.');diff --git a/app/Transformers/AccountTransformer.php b/app/Transformers/AccountTransformer.phpindex 53f45f5344..89f6634589 100644--- a/app/Transformers/AccountTransformer.php+++ b/app/Transformers/AccountTransformer.php@@ -46,7 +46,7 @@ class AccountTransformer extends AbstractTransformerpublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}$this->repository = app(AccountRepositoryInterface::class);diff --git a/app/Transformers/AttachmentTransformer.php b/app/Transformers/AttachmentTransformer.phpindex aedb1598ea..f7c16b80e2 100644--- a/app/Transformers/AttachmentTransformer.php+++ b/app/Transformers/AttachmentTransformer.php@@ -45,7 +45,7 @@ class AttachmentTransformer extends AbstractTransformer{$this->repository = app(AttachmentRepositoryInterface::class);if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/AvailableBudgetTransformer.php b/app/Transformers/AvailableBudgetTransformer.phpindex 8043a07513..0f02659580 100644--- a/app/Transformers/AvailableBudgetTransformer.php+++ b/app/Transformers/AvailableBudgetTransformer.php@@ -46,7 +46,7 @@ class AvailableBudgetTransformer extends AbstractTransformer{$this->repository = app(BudgetRepositoryInterface::class);if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/BillTransformer.php b/app/Transformers/BillTransformer.phpindex b9428efed8..84a4a8fe67 100644--- a/app/Transformers/BillTransformer.php+++ b/app/Transformers/BillTransformer.php@@ -46,7 +46,7 @@ class BillTransformer extends AbstractTransformer{$this->repository = app(BillRepositoryInterface::class);if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/BudgetLimitTransformer.php b/app/Transformers/BudgetLimitTransformer.phpindex 414f201a48..65b8772b10 100644--- a/app/Transformers/BudgetLimitTransformer.php+++ b/app/Transformers/BudgetLimitTransformer.php@@ -39,7 +39,7 @@ class BudgetLimitTransformer extends AbstractTransformerpublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/BudgetTransformer.php b/app/Transformers/BudgetTransformer.phpindex c6273ef5ca..7243ac9e7a 100644--- a/app/Transformers/BudgetTransformer.php+++ b/app/Transformers/BudgetTransformer.php@@ -45,7 +45,7 @@ class BudgetTransformer extends AbstractTransformer{$this->repository = app(BudgetRepositoryInterface::class);if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/CategoryTransformer.php b/app/Transformers/CategoryTransformer.phpindex 1b33b44414..fec2cb6141 100644--- a/app/Transformers/CategoryTransformer.php+++ b/app/Transformers/CategoryTransformer.php@@ -49,7 +49,7 @@ class CategoryTransformer extends AbstractTransformer{$this->repository = app(CategoryRepositoryInterface::class);if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/CurrencyExchangeRateTransformer.php b/app/Transformers/CurrencyExchangeRateTransformer.phpindex 20f52caaa2..45e6585dd1 100644--- a/app/Transformers/CurrencyExchangeRateTransformer.php+++ b/app/Transformers/CurrencyExchangeRateTransformer.php@@ -41,7 +41,7 @@ class CurrencyExchangeRateTransformer extends AbstractTransformerpublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/CurrencyTransformer.php b/app/Transformers/CurrencyTransformer.phpindex 0525106d0f..fb7a26c151 100644--- a/app/Transformers/CurrencyTransformer.php+++ b/app/Transformers/CurrencyTransformer.php@@ -39,7 +39,7 @@ class CurrencyTransformer extends AbstractTransformerpublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/ImportJobTransformer.php b/app/Transformers/ImportJobTransformer.phpindex a9356c7e38..addfd0b180 100644--- a/app/Transformers/ImportJobTransformer.php+++ b/app/Transformers/ImportJobTransformer.php@@ -40,7 +40,7 @@ class ImportJobTransformer extends AbstractTransformerpublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/LinkTypeTransformer.php b/app/Transformers/LinkTypeTransformer.phpindex 6471d7b07f..7bb00626d0 100644--- a/app/Transformers/LinkTypeTransformer.php+++ b/app/Transformers/LinkTypeTransformer.php@@ -41,7 +41,7 @@ class LinkTypeTransformer extends AbstractTransformerpublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/PiggyBankEventTransformer.php b/app/Transformers/PiggyBankEventTransformer.phpindex 264bf68770..87241602f0 100644--- a/app/Transformers/PiggyBankEventTransformer.php+++ b/app/Transformers/PiggyBankEventTransformer.php@@ -53,7 +53,7 @@ class PiggyBankEventTransformer extends AbstractTransformer$this->currencyRepos = app(CurrencyRepositoryInterface::class);$this->piggyRepos = app(PiggyBankRepositoryInterface::class);if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/PiggyBankTransformer.php b/app/Transformers/PiggyBankTransformer.phpindex f922c3ff03..268994ba22 100644--- a/app/Transformers/PiggyBankTransformer.php+++ b/app/Transformers/PiggyBankTransformer.php@@ -54,7 +54,7 @@ class PiggyBankTransformer extends AbstractTransformer$this->currencyRepos = app(CurrencyRepositoryInterface::class);$this->piggyRepos = app(PiggyBankRepositoryInterface::class);if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/PreferenceTransformer.php b/app/Transformers/PreferenceTransformer.phpindex 3087487da6..d817891987 100644--- a/app/Transformers/PreferenceTransformer.php+++ b/app/Transformers/PreferenceTransformer.php@@ -41,7 +41,7 @@ class PreferenceTransformer extends AbstractTransformerpublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/RecurrenceTransformer.php b/app/Transformers/RecurrenceTransformer.phpindex ee11a0a81f..2955941e21 100644--- a/app/Transformers/RecurrenceTransformer.php+++ b/app/Transformers/RecurrenceTransformer.php@@ -69,7 +69,7 @@ class RecurrenceTransformer extends AbstractTransformer$this->budgetRepos = app(BudgetRepositoryInterface::class);if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/RuleGroupTransformer.php b/app/Transformers/RuleGroupTransformer.phpindex c8a0a87f5f..0aea33dcfb 100644--- a/app/Transformers/RuleGroupTransformer.php+++ b/app/Transformers/RuleGroupTransformer.php@@ -39,7 +39,7 @@ class RuleGroupTransformer extends AbstractTransformerpublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/RuleTransformer.php b/app/Transformers/RuleTransformer.phpindex f8f825ae31..7eeeeede04 100644--- a/app/Transformers/RuleTransformer.php+++ b/app/Transformers/RuleTransformer.php@@ -47,7 +47,7 @@ class RuleTransformer extends AbstractTransformer{$this->ruleRepository = app(RuleRepositoryInterface::class);if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/TagTransformer.php b/app/Transformers/TagTransformer.phpindex 54c9063f03..964f7c3b7d 100644--- a/app/Transformers/TagTransformer.php+++ b/app/Transformers/TagTransformer.php@@ -40,7 +40,7 @@ class TagTransformer extends AbstractTransformerpublic function __construct(){if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/TransactionGroupTransformer.php b/app/Transformers/TransactionGroupTransformer.phpindex 4ac0447a1e..2da9fc6955 100644--- a/app/Transformers/TransactionGroupTransformer.php+++ b/app/Transformers/TransactionGroupTransformer.php@@ -61,7 +61,7 @@ class TransactionGroupTransformer extends AbstractTransformer$this->metaDateFields = ['interest_date', 'book_date', 'process_date', 'due_date', 'payment_date', 'invoice_date'];if ('testing' === config('app.env')) {- app('log')->warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ app('log')->warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/TransactionLinkTransformer.php b/app/Transformers/TransactionLinkTransformer.phpindex 656083ea76..9b104f894e 100644--- a/app/Transformers/TransactionLinkTransformer.php+++ b/app/Transformers/TransactionLinkTransformer.php@@ -47,7 +47,7 @@ class TransactionLinkTransformer extends AbstractTransformer$this->repository = app(JournalRepositoryInterface::class);if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/TransactionTransformer.php b/app/Transformers/TransactionTransformer.phpindex 4750ec3a44..4f9ab3f8c5 100644--- a/app/Transformers/TransactionTransformer.php+++ b/app/Transformers/TransactionTransformer.php@@ -48,7 +48,7 @@ class TransactionTransformer extends AbstractTransformer{$this->repository = app(JournalRepositoryInterface::class);if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/app/Transformers/UserTransformer.php b/app/Transformers/UserTransformer.phpindex 78487e2265..bd6b797ef6 100644--- a/app/Transformers/UserTransformer.php+++ b/app/Transformers/UserTransformer.php@@ -45,7 +45,7 @@ class UserTransformer extends AbstractTransformer{$this->repository = app(UserRepositoryInterface::class);if ('testing' === config('app.env')) {- Log::warning(sprintf('%s should not be instantiated in the TEST environment!', \get_class($this)));+ Log::warning(sprintf('%s should not be instantiated in the TEST environment!', get_class($this)));}}diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.phpindex b74d2b0c26..8099dfa70d 100644--- a/resources/lang/en_US/firefly.php+++ b/resources/lang/en_US/firefly.php@@ -258,33 +258,6 @@ return ['half-year' => 'every half year','yearly' => 'yearly',- // export data:- 'import_and_export' => 'Import and export',- 'export_data' => 'Export data',- 'export_and_backup_data' => 'Export data',- 'export_data_intro' => 'Use the exported data to move to a new financial application. Please note that these files are not meant as a backup. They do not contain enough meta-data to fully restore a new Firefly III installation. If you want to make a backup of your data, please backup the database directly.',- 'export_format' => 'Export format',- 'export_format_csv' => 'Comma separated values (CSV file)',- 'export_format_mt940' => 'MT940 compatible format',- 'include_old_uploads_help' => 'Firefly III does not throw away the original CSV files you have imported in the past. You can include them in your export.',- 'do_export' => 'Export',- 'export_status_never_started' => 'The export has not started yet',- 'export_status_make_exporter' => 'Creating exporter thing...',- 'export_status_collecting_journals' => 'Collecting your transactions...',- 'export_status_collected_journals' => 'Collected your transactions!',- 'export_status_converting_to_export_format' => 'Converting your transactions...',- 'export_status_converted_to_export_format' => 'Converted your transactions!',- 'export_status_creating_journal_file' => 'Creating the export file...',- 'export_status_created_journal_file' => 'Created the export file!',- 'export_status_collecting_attachments' => 'Collecting all your attachments...',- 'export_status_collected_attachments' => 'Collected all your attachments!',- 'export_status_collecting_old_uploads' => 'Collecting all your previous uploads...',- 'export_status_collected_old_uploads' => 'Collected all your previous uploads!',- 'export_status_creating_zip_file' => 'Creating a zip file...',- 'export_status_created_zip_file' => 'Created a zip file!',- 'export_status_finished' => 'Export has succesfully finished! Yay!',- 'export_data_please_wait' => 'Please wait...',-// rules'rules' => 'Rules','rule_name' => 'Name of rule',diff --git a/resources/lang/en_US/form.php b/resources/lang/en_US/form.phpindex dc4284a0be..db625af86f 100644--- a/resources/lang/en_US/form.php+++ b/resources/lang/en_US/form.php@@ -140,12 +140,8 @@ return ['stop_processing' => 'Stop processing','start_date' => 'Start of range','end_date' => 'End of range',- 'export_start_range' => 'Start of export range',- 'export_end_range' => 'End of export range',- 'export_format' => 'File format','include_attachments' => 'Include uploaded attachments','include_old_uploads' => 'Include imported data',- 'accounts' => 'Export transactions from these accounts','delete_account' => 'Delete account ":name"','delete_bill' => 'Delete bill ":name"','delete_budget' => 'Delete budget ":name"',diff --git a/resources/lang/en_US/list.php b/resources/lang/en_US/list.phpindex 9224f259ad..bc0e0dcebb 100644--- a/resources/lang/en_US/list.php+++ b/resources/lang/en_US/list.php@@ -87,7 +87,6 @@ return ['attachments_count' => 'Number of attachments','bills_count' => 'Number of bills','categories_count' => 'Number of categories',- 'export_jobs_count' => 'Number of export jobs','import_jobs_count' => 'Number of import jobs','budget_count' => 'Number of budgets','rule_and_groups_count' => 'Number of rules and rule groups',diff --git a/resources/views/v1/admin/users/show.twig b/resources/views/v1/admin/users/show.twigindex 0479a8cc0e..16da72c998 100644--- a/resources/views/v1/admin/users/show.twig+++ b/resources/views/v1/admin/users/show.twig@@ -97,10 +97,6 @@<td>{{ trans('list.categories_count') }}</td><td>{{ information.categories }}</td></tr>- <tr>- <td>{{ trans('list.export_jobs_count') }}</td>- <td>{{ information.export_jobs }}, {{ trans('firefly.successful_count', {count: information.export_jobs_success}) }}</td>- </tr><tr><td>{{ trans('list.import_jobs_count') }}</td><td>{{ information.import_jobs }}, {{ trans('firefly.successful_count', {count: information.import_jobs_success}) }}</td>diff --git a/resources/views/v2/partials/top_menu.twig b/resources/views/v2/partials/top_menu.twigindex bf718b09a3..89868f0598 100644--- a/resources/views/v2/partials/top_menu.twig+++ b/resources/views/v2/partials/top_menu.twig@@ -42,7 +42,6 @@<a href="{{ route('recurring.index') }}" class="dropdown-item ">{{ 'recurrences'|_ }}</a><a href="{{ route('currencies.index') }}" class="dropdown-item ">{{ 'currencies'|_ }}</a><a href="{{ route('import.index') }}" class="dropdown-item ">{{ 'import_data'|_ }}</a>- <a href="{{ route('export.index') }}" class="dropdown-item ">{{ 'export_data'|_ }}</a></div></li>