Code cleanup

This commit is contained in:
James Cole
2019-08-17 10:48:28 +02:00
parent c235e42d6c
commit 1974d5f1e3
272 changed files with 818 additions and 7 deletions

View File

@@ -39,8 +39,9 @@ use Tests\TestCase;
*
* Class CreateControllerTest.
*
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class CreateControllerTest extends TestCase
{

View File

@@ -38,8 +38,9 @@ use Tests\TestCase;
*
* Class DeleteControllerTest
*
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class DeleteControllerTest extends TestCase
{

View File

@@ -38,8 +38,9 @@ use Tests\TestCase;
*
* Class EditControllerTest
*
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class EditControllerTest extends TestCase
{

View File

@@ -38,8 +38,9 @@ use Tests\TestCase;
/**
* Class IndexControllerTest
*
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class IndexControllerTest extends TestCase
{

View File

@@ -39,9 +39,10 @@ use Tests\TestCase;
/**
* Class ConfigurationControllerTest
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class ReconcileControllerTest extends TestCase
{

View File

@@ -42,8 +42,9 @@ use Tests\TestCase;
*
* Class ShowControllerTest
*
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class ShowControllerTest extends TestCase
{

View File

@@ -32,6 +32,10 @@ use Tests\TestCase;
/**
* Class ConfigurationControllerTest
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class ConfigurationControllerTest extends TestCase
{

View File

@@ -31,6 +31,10 @@ use Tests\TestCase;
/**
* Class HomeControllerTest
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class HomeControllerTest extends TestCase
{

View File

@@ -35,6 +35,10 @@ use Tests\TestCase;
/**
* Class UpdateControllerTest
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class UpdateControllerTest extends TestCase
{

View File

@@ -31,6 +31,9 @@ use Tests\TestCase;
/**
* Class UserControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class UserControllerTest extends TestCase
{

View File

@@ -30,6 +30,9 @@ use Tests\TestCase;
/**
* Class TwoFactorControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class TwoFactorControllerTest extends TestCase
{

View File

@@ -36,6 +36,9 @@ use Tests\TestCase;
/**
*
* Class AmountControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class AmountControllerTest extends TestCase
{

View File

@@ -34,6 +34,9 @@ use Tests\TestCase;
/**
*
* Class CreateControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class CreateControllerTest extends TestCase
{

View File

@@ -33,6 +33,9 @@ use Tests\TestCase;
/**
*
* Class DeleteControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class DeleteControllerTest extends TestCase
{

View File

@@ -33,6 +33,9 @@ use Tests\TestCase;
/**
*
* Class EditControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class EditControllerTest extends TestCase
{

View File

@@ -32,6 +32,9 @@ use Tests\TestCase;
/**
* Class CreateControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class CreateControllerTest extends TestCase
{

View File

@@ -32,6 +32,9 @@ use Tests\TestCase;
/**
* Class DeleteControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class DeleteControllerTest extends TestCase
{

View File

@@ -33,6 +33,9 @@ use Tests\TestCase;
/**
* Class EditControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class EditControllerTest extends TestCase
{

View File

@@ -34,6 +34,9 @@ use Tests\TestCase;
/**
* Class IndexControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class IndexControllerTest extends TestCase
{

View File

@@ -33,6 +33,9 @@ use Tests\TestCase;
/**
* Class BillControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class BillControllerTest extends TestCase
{

View File

@@ -39,6 +39,9 @@ use Tests\TestCase;
/**
* Class BudgetControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class BudgetControllerTest extends TestCase
{

View File

@@ -38,6 +38,9 @@ use Tests\TestCase;
/**
* Class BudgetReportControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class BudgetReportControllerTest extends TestCase
{

View File

@@ -35,6 +35,9 @@ use Tests\TestCase;
/**
* Class CategoryReportControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class CategoryReportControllerTest extends TestCase
{

View File

@@ -34,6 +34,9 @@ use Tests\TestCase;
/**
* Class ExpenseReportControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class ExpenseReportControllerTest extends TestCase
{

View File

@@ -32,6 +32,9 @@ use Tests\TestCase;
/**
* Class PiggyBankControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class PiggyBankControllerTest extends TestCase
{

View File

@@ -38,6 +38,9 @@ use Tests\TestCase;
/**
* Class ReportControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class ReportControllerTest extends TestCase
{

View File

@@ -38,6 +38,9 @@ use Tests\TestCase;
/**
* Class TagReportControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class TagReportControllerTest extends TestCase
{

View File

@@ -33,6 +33,9 @@ use Tests\TestCase;
/**
*
* Class CallbackControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class CallbackControllerTest extends TestCase
{

View File

@@ -35,6 +35,9 @@ use Tests\TestCase;
/**
* Class JobConfigurationControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class JobConfigurationControllerTest extends TestCase
{

View File

@@ -31,6 +31,9 @@ use Tests\TestCase;
/**
* Class AutoCompleteControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class AutoCompleteControllerTest extends TestCase
{

View File

@@ -39,6 +39,9 @@ use Tests\TestCase;
/**
* Class BoxControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class BoxControllerTest extends TestCase
{

View File

@@ -39,6 +39,9 @@ use Tests\TestCase;
/**
*
* Class ReconcileControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class ReconcileControllerTest extends TestCase
{

View File

@@ -33,6 +33,9 @@ use Tests\TestCase;
/**
*
* Class RecurrenceControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class RecurrenceControllerTest extends TestCase
{

View File

@@ -44,7 +44,9 @@ use Tests\TestCase;
/**
*
* Class CreateControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class CreateControllerTest extends TestCase
{

View File

@@ -34,6 +34,9 @@ use Tests\TestCase;
/**
*
* Class DeleteControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class DeleteControllerTest extends TestCase
{

View File

@@ -43,6 +43,9 @@ use Tests\TestCase;
/**
*
* Class EditControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class EditControllerTest extends TestCase
{

View File

@@ -40,6 +40,9 @@ use Tests\TestCase;
/**
*
* Class IndexControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class IndexControllerTest extends TestCase
{

View File

@@ -36,6 +36,9 @@ use Tests\TestCase;
/**
* Class CreateControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class CreateControllerTest extends TestCase
{

View File

@@ -34,6 +34,9 @@ use Tests\TestCase;
/**
*
* Class DeleteControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class DeleteControllerTest extends TestCase
{

View File

@@ -36,6 +36,9 @@ use Tests\TestCase;
/**
* Class EditControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class EditControllerTest extends TestCase
{

View File

@@ -39,6 +39,9 @@ use Tests\TestCase;
/**
* Class SelectControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class SelectControllerTest extends TestCase
{

View File

@@ -32,6 +32,9 @@ use Tests\TestCase;
/**
* Class CreateControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class CreateControllerTest extends TestCase
{

View File

@@ -32,6 +32,9 @@ use Tests\TestCase;
/**
* Class DeleteControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class DeleteControllerTest extends TestCase
{

View File

@@ -32,6 +32,9 @@ use Tests\TestCase;
/**
* Class EditControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class EditControllerTest extends TestCase
{

View File

@@ -35,6 +35,9 @@ use Tests\TestCase;
/**
* Class ExecutionControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class ExecutionControllerTest extends TestCase
{

View File

@@ -36,6 +36,9 @@ use Tests\TestCase;
/**
*
* Class CronControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class CronControllerTest extends TestCase
{

View File

@@ -32,6 +32,9 @@ use Tests\TestCase;
/**
* Class CreateControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class CreateControllerTest extends TestCase
{

View File

@@ -28,6 +28,9 @@ use Tests\TestCase;
/**
* Class EditControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class EditControllerTest extends TestCase
{

View File

@@ -34,6 +34,9 @@ use Tests\TestCase;
/**
* Class IndexControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class IndexControllerTest extends TestCase
{

View File

@@ -35,6 +35,9 @@ use Tests\TestCase;
/**
* Class LinkControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class LinkControllerTest extends TestCase
{

View File

@@ -32,6 +32,9 @@ use Tests\TestCase;
/**
* Class ShowControllerTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class ShowControllerTest extends TestCase
{

View File

@@ -26,6 +26,9 @@ use Tests\TestCase;
/**
* Class ExampleTest
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.TooManyPublicMethods)
*/
class ExampleTest extends TestCase
{