Code cleanup

This commit is contained in:
James Cole 2019-08-17 10:46:40 +02:00
parent 6038a68ba9
commit acfdf7dc90
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
14 changed files with 14 additions and 18 deletions

View File

@ -47,7 +47,7 @@ use League\Fractal\Serializer\JsonApiSerializer;
/**
* Class AccountController.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
*/
class AccountController extends Controller
{
@ -234,8 +234,6 @@ class AccountController extends Controller
*
* @return JsonResponse
*
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
*/
public function transactions(Request $request, Account $account): JsonResponse
{

View File

@ -45,7 +45,7 @@ use function strlen;
/**
* Class AttachmentController.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
*/
class AttachmentController extends Controller
{

View File

@ -42,7 +42,7 @@ use League\Fractal\Serializer\JsonApiSerializer;
/**
* Class AvailableBudgetController.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
*/
class AvailableBudgetController extends Controller
{

View File

@ -48,7 +48,7 @@ use League\Fractal\Serializer\JsonApiSerializer;
/**
* Class BillController.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
*/
class BillController extends Controller
{

View File

@ -47,7 +47,7 @@ use League\Fractal\Serializer\JsonApiSerializer;
/**
* Class BudgetController.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
*/
class BudgetController extends Controller
{
@ -79,8 +79,6 @@ class BudgetController extends Controller
/**
* Display a listing of the resource.
*
*
* @param Request $request
* @param Budget $budget
*

View File

@ -46,7 +46,7 @@ use League\Fractal\Serializer\JsonApiSerializer;
/**
* Class BudgetLimitController.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
*/
class BudgetLimitController extends Controller
{

View File

@ -44,7 +44,7 @@ use League\Fractal\Serializer\JsonApiSerializer;
/**
* Class CategoryController.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
*/
class CategoryController extends Controller
{

View File

@ -37,7 +37,7 @@ use Symfony\Component\HttpFoundation\ParameterBag;
* Class Controller.
*
* @codeCoverageIgnore
* @SuppressWarnings(PHPMD.NumberOfChildren)
*
*/
class Controller extends BaseController
{

View File

@ -66,7 +66,7 @@ use League\Fractal\Serializer\JsonApiSerializer;
/**
* Class CurrencyController.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
*/
class CurrencyController extends Controller
{

View File

@ -45,7 +45,7 @@ use League\Fractal\Serializer\JsonApiSerializer;
/**
* Class LinkTypeController.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
*/
class LinkTypeController extends Controller
{

View File

@ -42,7 +42,7 @@ use League\Fractal\Serializer\JsonApiSerializer;
/**
* Class PiggyBankController.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
*/
class PiggyBankController extends Controller
{

View File

@ -48,7 +48,7 @@ use Log;
/**
* Class RuleController
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
*/
class RuleController extends Controller
{

View File

@ -231,7 +231,7 @@ class RuleGroupController extends Controller
*
* @return JsonResponse
* @throws FireflyException
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
*
*/
public function testGroup(RuleGroupTestRequest $request, RuleGroup $group): JsonResponse
{

View File

@ -42,7 +42,7 @@ use League\Fractal\Serializer\JsonApiSerializer;
/**
* Class UserController.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
*/
class UserController extends Controller
{