ernestwisniewski/kbin

View on GitHub
src/Controller/Api/Post/PostsCreateApi.php

Summary

Maintainability
A
1 hr
Test Coverage

Method __invoke has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        #[MapEntity(id: 'magazine_id')]
        Magazine $magazine,
        PostCreate $postCreate,
        PostFactory $postFactory,
        ValidatorInterface $validator,
Severity: Minor
Found in src/Controller/Api/Post/PostsCreateApi.php - About 35 mins to fix

    Method uploadImage has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            #[MapEntity(id: 'magazine_id')]
            Magazine $magazine,
            PostCreate $postCreate,
            PostFactory $postFactory,
            ValidatorInterface $validator,
    Severity: Minor
    Found in src/Controller/Api/Post/PostsCreateApi.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status