Test Failed
Push — master ( c33ad8...25b8d1 )
by Pavel
17:30 queued 06:24
created
Adaptors/Symfony/FormProcessor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      * FormProcessor constructor.
21 21
      *
22 22
      * @param FormFactoryInterface     $factory
23
-     * @param string|FormTypeInterface $form
23
+     * @param \Symfony\Component\Form\FormInterface $form
24 24
      * @param array                    $options
25 25
      */
26 26
     public function __construct(FormFactoryInterface $factory, $form, array $options = [])
Please login to merge, or discard this patch.
Adaptors/Symfony/MappedEntityFormFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@
 block discarded – undo
24 24
         $this->mapper  = $mapper;
25 25
     }
26 26
 
27
+    /**
28
+     * @param string $className
29
+     */
27 30
     public function createFormForClass($className)
28 31
     {
29 32
         $form = $this->factory->create();
Please login to merge, or discard this patch.
Adaptors/Doctrine/DoctrineCriteriaConfigurator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
                 $mappedProperty = $this->mapper->getObjectProperty($entity, $apiProperty);
59 59
 
60 60
                 if (null !== $mappedProperty) {
61
-                    $entityProperty = $alias . '.' . $mappedProperty;
61
+                    $entityProperty = $alias.'.'.$mappedProperty;
62 62
                     $this->filterDoctrineProperty($builder, $entityProperty, $value);
63 63
                     unset($criteria[$apiProperty]);
64 64
                 }
Please login to merge, or discard this patch.
Adaptors/Jms/JmsValidatorSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
             throw new EntityProcessingException(
41 41
                 'Data for the entity is not valid',
42 42
                 array_map(
43
-                    function (ConstraintViolationInterface $violation) {
43
+                    function(ConstraintViolationInterface $violation) {
44 44
                         return $violation->getMessage();
45 45
                     },
46 46
                     iterator_to_array($list)
Please login to merge, or discard this patch.
DependencyInjection/CrudsEntitiesConfigurator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -191,6 +191,9 @@
 block discarded – undo
191 191
         return $this->container->getDefinition('cruds.api.router_loader');
192 192
     }
193 193
 
194
+    /**
195
+     * @param string $name
196
+     */
194 197
     private function normalize($name)
195 198
     {
196 199
         return str_replace('-', '_', $name);
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
             ->beforeNormalization()
65 65
             ->ifArray()
66 66
             ->then(
67
-                function (array $v) {
67
+                function(array $v) {
68 68
                     if (array_keys($v) !== range(0, count($v) - 1)) {
69 69
                         return $v;
70 70
                     }
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
             ->beforeNormalization()
118 118
             ->ifString()
119 119
             ->then(
120
-                function ($v) {
120
+                function($v) {
121 121
                     return [$v];
122 122
                 }
123 123
             )
Please login to merge, or discard this patch.
Routing/EntityRouteLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         return 'cruds' === $type;
37 37
     }
38 38
 
39
-    public function addRoute($name, $path, $controller,array $methods)
39
+    public function addRoute($name, $path, $controller, array $methods)
40 40
     {
41 41
         if ($this->loaded) {
42 42
             throw new \LogicException('Already loaded');
Please login to merge, or discard this patch.
Tests/AccessTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -19,6 +19,10 @@
 block discarded – undo
19 19
         $this->doRequest('/api/entity/my-entity/search', 'GET', []);
20 20
     }
21 21
 
22
+    /**
23
+     * @param string $path
24
+     * @param string $method
25
+     */
22 26
     private function doRequest($path, $method, array $args = [])
23 27
     {
24 28
         $client = self::createClient();
Please login to merge, or discard this patch.