From 3277858c5a38399478ecb25b67a16508d1f06c07 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 1 Apr 2016 16:44:46 +0200 Subject: [PATCH] Code cleanup. [skip ci] --- LICENSE | 2 +- app/Console/Kernel.php | 2 +- app/Events/ResendConfirmation.php | 3 ++- app/Events/TransactionJournalStored.php | 2 +- app/Events/UserRegistration.php | 3 ++- app/Export/Collector/AttachmentCollector.php | 2 +- app/Export/Collector/BasicCollector.php | 2 +- app/Export/Collector/CollectorInterface.php | 2 +- app/Export/Collector/UploadCollector.php | 2 +- app/Export/ConfigurationFile.php | 2 +- app/Export/Entry.php | 2 +- app/Export/Exporter/BasicExporter.php | 2 +- app/Export/Exporter/CsvExporter.php | 2 +- app/Export/Exporter/ExporterInterface.php | 2 +- app/Export/Processor.php | 2 +- .../Chart/Account/AccountChartGeneratorInterface.php | 2 +- app/Generator/Chart/Bill/BillChartGeneratorInterface.php | 2 +- app/Generator/Chart/Bill/ChartJsBillChartGenerator.php | 2 +- app/Generator/Chart/Budget/BudgetChartGeneratorInterface.php | 2 +- .../Chart/Category/CategoryChartGeneratorInterface.php | 2 +- .../Chart/PiggyBank/PiggyBankChartGeneratorInterface.php | 2 +- app/Generator/Chart/Report/ReportChartGeneratorInterface.php | 2 +- app/Handlers/Events/AttachUserRole.php | 3 ++- app/Handlers/Events/FireRulesForStore.php | 2 +- app/Handlers/Events/FireRulesForUpdate.php | 2 +- app/Handlers/Events/ScanForBillsAfterStore.php | 2 +- app/Handlers/Events/ScanForBillsAfterUpdate.php | 2 +- app/Handlers/Events/SendRegistrationMail.php | 3 ++- app/Handlers/Events/UserConfirmation.php | 3 ++- app/Handlers/Events/UserEventListener.php | 3 ++- app/Helpers/Csv/Converter/AssetAccountNumber.php | 3 ++- app/Helpers/Csv/Converter/INGDebetCredit.php | 3 ++- app/Helpers/Csv/Specifix/Specifix.php | 2 +- app/Helpers/Report/AccountReportHelper.php | 2 +- app/Helpers/Report/AccountReportHelperInterface.php | 2 +- app/Helpers/Report/BalanceReportHelper.php | 2 +- app/Helpers/Report/BalanceReportHelperInterface.php | 2 +- app/Helpers/Report/BudgetReportHelper.php | 2 +- app/Helpers/Report/BudgetReportHelperInterface.php | 2 +- app/Http/Controllers/Auth/ConfirmationController.php | 3 ++- app/Http/Controllers/Auth/TwoFactorController.php | 3 ++- app/Http/Controllers/ExportController.php | 2 +- app/Http/Controllers/Popup/ReportController.php | 3 ++- app/Http/Controllers/RuleController.php | 2 +- app/Http/Middleware/AuthenticateTwoFactor.php | 3 ++- app/Http/Middleware/IsConfirmed.php | 3 ++- app/Http/Middleware/IsNotConfirmed.php | 3 ++- app/Http/Middleware/RedirectIfTwoFactorAuthenticated.php | 3 ++- app/Http/Requests/ExportFormRequest.php | 2 +- app/Http/Requests/RuleFormRequest.php | 2 +- app/Http/Requests/RuleGroupFormRequest.php | 2 +- app/Http/Requests/TestRuleFormRequest.php | 5 +++-- app/Models/ExportJob.php | 2 +- app/Models/Rule.php | 2 +- app/Models/RuleAction.php | 2 +- app/Models/RuleGroup.php | 2 +- app/Models/RuleTrigger.php | 2 +- app/Models/TransactionJournalMeta.php | 3 ++- app/Repositories/ExportJob/ExportJobRepository.php | 2 +- app/Repositories/ExportJob/ExportJobRepositoryInterface.php | 2 +- app/Repositories/Journal/JournalCollector.php | 2 +- app/Repositories/Rule/RuleRepository.php | 2 +- app/Repositories/Rule/RuleRepositoryInterface.php | 2 +- app/Repositories/User/UserRepository.php | 3 ++- app/Repositories/User/UserRepositoryInterface.php | 3 ++- app/Rules/Actions/ActionInterface.php | 2 +- app/Rules/Actions/AddTag.php | 2 +- app/Rules/Actions/AppendDescription.php | 2 +- app/Rules/Actions/ClearBudget.php | 2 +- app/Rules/Actions/ClearCategory.php | 2 +- app/Rules/Actions/PrependDescription.php | 2 +- app/Rules/Actions/RemoveAllTags.php | 2 +- app/Rules/Actions/RemoveTag.php | 2 +- app/Rules/Actions/SetBudget.php | 2 +- app/Rules/Actions/SetCategory.php | 2 +- app/Rules/Actions/SetDescription.php | 2 +- app/Rules/Factory/ActionFactory.php | 1 + app/Rules/Factory/TriggerFactory.php | 1 + app/Rules/Processor.php | 2 +- app/Rules/Triggers/AbstractTrigger.php | 3 ++- app/Rules/Triggers/AmountExactly.php | 2 +- app/Rules/Triggers/AmountLess.php | 2 +- app/Rules/Triggers/AmountMore.php | 2 +- app/Rules/Triggers/DescriptionContains.php | 2 +- app/Rules/Triggers/DescriptionEnds.php | 2 +- app/Rules/Triggers/DescriptionIs.php | 2 +- app/Rules/Triggers/DescriptionStarts.php | 2 +- app/Rules/Triggers/FromAccountContains.php | 2 +- app/Rules/Triggers/FromAccountEnds.php | 2 +- app/Rules/Triggers/FromAccountIs.php | 2 +- app/Rules/Triggers/FromAccountStarts.php | 2 +- app/Rules/Triggers/ToAccountContains.php | 2 +- app/Rules/Triggers/ToAccountEnds.php | 2 +- app/Rules/Triggers/ToAccountIs.php | 2 +- app/Rules/Triggers/ToAccountStarts.php | 2 +- app/Rules/Triggers/TransactionType.php | 2 +- app/Rules/Triggers/TriggerInterface.php | 2 +- app/Rules/Triggers/UserAction.php | 2 +- app/Support/Binder/AccountList.php | 2 +- app/Support/Binder/BinderInterface.php | 2 +- app/Support/Binder/BudgetList.php | 2 +- app/Support/Binder/CategoryList.php | 2 +- app/Support/Binder/Date.php | 2 +- app/Support/Domain.php | 2 +- app/Support/Events/BillScanner.php | 2 +- app/Support/Migration/TestData.php | 2 +- app/Support/Models/TransactionJournalSupport.php | 3 ++- phpunit.cover.xml | 2 +- 108 files changed, 130 insertions(+), 107 deletions(-) diff --git a/LICENSE b/LICENSE index 88ab8e15bb..9dd7377ce7 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (C) 2016 Sander Dorigo +Copyright (C) 2016 thegrumpydictator@gmail.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 7ce107879b..d077819913 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -3,7 +3,7 @@ declare(strict_types = 1); /** * Kernel.php - * Copyright (C) 2016 Sander Dorigo + * Copyright (C) 2016 thegrumpydictator@gmail.com * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. diff --git a/app/Events/ResendConfirmation.php b/app/Events/ResendConfirmation.php index f221d76141..368e82a530 100644 --- a/app/Events/ResendConfirmation.php +++ b/app/Events/ResendConfirmation.php @@ -1,7 +1,8 @@