Test Failed
Push — master ( 12b064...9a4710 )
by Petr
12:31
created
src/AppBundle/Entity/Infrasctucture/AbstractRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     }
33 33
 
34 34
     /**
35
-     * @param object $entity
35
+     * @param \AppBundle\Entity\Event $entity
36 36
      */
37 37
     public function remove($entity)
38 38
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace AppBundle\Entity\Infrasctucture;
4 4
 
5
-use AppBundle\Form\AbstractFormType;
6 5
 use Doctrine\ORM\EntityRepository;
7
-use Symfony\Component\Intl\Exception\MethodNotImplementedException;
8 6
 
9 7
 /**
10 8
  * @author Vehsamrak
Please login to merge, or discard this patch.
src/AppBundle/Controller/Infrastructure/RestController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
     }
100 100
 
101 101
     /**
102
-     * @param string|int $id
102
+     * @param string $id
103 103
      */
104 104
     protected function viewEntity(AbstractRepository $repository, $id): Response
105 105
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use AppBundle\Entity\Infrasctucture\AbstractRepository;
6 6
 use AppBundle\Enum\ApiOperation;
7 7
 use AppBundle\Exception\EntityNotFoundException;
8
-use AppBundle\Form\FormOptions;
9 8
 use AppBundle\Response\ApiError;
10 9
 use AppBundle\Response\ApiResponse;
11 10
 use AppBundle\Response\CollectionApiResponse;
Please login to merge, or discard this patch.
src/AppBundle/Controller/BandController.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -344,7 +344,6 @@  discard block
 block discarded – undo
344 344
      *     }
345 345
      * )
346 346
      * @param string $bandName band name
347
-     * @param string $userLogin member login
348 347
      */
349 348
     public function updateMemberAction(Request $request, string $bandName)
350 349
     {
@@ -382,7 +381,7 @@  discard block
 block discarded – undo
382 381
     }
383 382
 
384 383
     /**
385
-     * @return ApiError|CreatedApiResponse|EmptyApiResponse
384
+     * @return AbstractApiResponse
386 385
      */
387 386
     private function createResponseFromUpdateForm(FormInterface $form): AbstractApiResponse
388 387
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,14 +15,12 @@
 block discarded – undo
15 15
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
16 16
 use AppBundle\Controller\Infrastructure\RestController;
17 17
 use AppBundle\Response\ApiError;
18
-use AppBundle\Response\ApiResponse;
19 18
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
20 19
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
21 20
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
22 21
 use Symfony\Component\Form\FormInterface;
23 22
 use Symfony\Component\HttpFoundation\Request;
24 23
 use Symfony\Component\HttpFoundation\Response;
25
-use Symfony\Component\Validator\Constraints as Assert;
26 24
 
27 25
 /**
28 26
  * @author Vehsamrak
Please login to merge, or discard this patch.
src/AppBundle/Response/ApiResponseFactory.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@  discard block
 block discarded – undo
5 5
 use AppBundle\Entity\Image;
6 6
 use AppBundle\Entity\User;
7 7
 use AppBundle\Enum\ApiOperation;
8
-use AppBundle\Exception\MethodNotImplemented;
9 8
 use AppBundle\Exception\UnsupportedApiOperation;
10 9
 use AppBundle\Exception\UnsupportedTypeException;
11 10
 use AppBundle\Form\AbstractFormType;
@@ -14,7 +13,6 @@  discard block
 block discarded – undo
14 13
 use Doctrine\ORM\EntityManager;
15 14
 use Symfony\Component\Form\FormInterface;
16 15
 use Symfony\Component\HttpFoundation\Response;
17
-use Symfony\Component\Intl\Exception\MethodNotImplementedException;
18 16
 use Symfony\Component\Routing\Router;
19 17
 
20 18
 /**
Please login to merge, or discard this patch.
src/AppBundle/Service/Ambassador/AmbassadorService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace AppBundle\Service\Ambassador;
4 4
 
5
-use AppBundle\Entity\Band;
6 5
 use AppBundle\Entity\BandMember;
7 6
 use AppBundle\Entity\Infrasctucture\Ambassador;
8 7
 use AppBundle\Entity\Infrasctucture\AmbassadorMemberRepository;
Please login to merge, or discard this patch.