Completed
Push — unique-generators ( 1ea59d )
by Kamil
33:00 queued 11:19
created
src/Sylius/Bundle/FixturesBundle/Loader/FixtureLoaderInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
      * @param SuiteInterface $suite
24 24
      * @param FixtureInterface $fixture
25 25
      * @param array $options
26
+     * @return void
26 27
      */
27 28
     public function load(SuiteInterface $suite, FixtureInterface $fixture, array $options);
28 29
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\FixturesBundle\Loader;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/Loader/SuiteLoaderInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param SuiteInterface $suite
23
+     * @return void
23 24
      */
24 25
     public function load(SuiteInterface $suite);
25 26
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\FixturesBundle\Loader;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Loader/HookableFixtureLoaderSpec.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Bundle\FixturesBundle\Loader;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface;
17 16
 use Sylius\Bundle\FixturesBundle\Listener\AfterFixtureListenerInterface;
18 17
 use Sylius\Bundle\FixturesBundle\Listener\BeforeFixtureListenerInterface;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace spec\Sylius\Bundle\FixturesBundle\Loader;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Loader/HookableSuiteLoaderSpec.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Bundle\FixturesBundle\Loader;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Bundle\FixturesBundle\Listener\AfterSuiteListenerInterface;
17 16
 use Sylius\Bundle\FixturesBundle\Listener\BeforeSuiteListenerInterface;
18 17
 use Sylius\Bundle\FixturesBundle\Listener\SuiteEvent;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace spec\Sylius\Bundle\FixturesBundle\Loader;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Loader/SuiteLoaderSpec.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace spec\Sylius\Bundle\FixturesBundle\Loader;
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15
-use Prophecy\Argument;
16 15
 use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface;
17 16
 use Sylius\Bundle\FixturesBundle\Loader\FixtureLoaderInterface;
18 17
 use Sylius\Bundle\FixturesBundle\Loader\SuiteLoader;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace spec\Sylius\Bundle\FixturesBundle\Loader;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/GridBundle/Doctrine/ORM/ExpressionBuilder.php 3 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -187,6 +187,7 @@
 block discarded – undo
187 187
 
188 188
     /**
189 189
      * {@inheritdoc}
190
+     * @param string $field
190 191
      */
191 192
     private function getFieldName($field)
192 193
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\GridBundle\Doctrine\ORM;
13 13
 
14
-use Doctrine\ORM\Query\Expr\Comparison;
15 14
 use Doctrine\ORM\QueryBuilder;
15
+use Doctrine\ORM\Query\Expr\Comparison;
16 16
 use Sylius\Component\Grid\Data\ExpressionBuilderInterface;
17 17
 
18 18
 /**
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\GridBundle\Doctrine\ORM;
15 15
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         $parameterName = $this->getParameterName($field);
68 68
         $this->queryBuilder->setParameter($parameterName, $value);
69 69
 
70
-        return $this->queryBuilder->expr()->eq($this->getFieldName($field), ':'.$parameterName);
70
+        return $this->queryBuilder->expr()->eq($this->getFieldName($field), ':' . $parameterName);
71 71
     }
72 72
 
73 73
     /**
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $parameterName = $this->getParameterName($field);
79 79
         $this->queryBuilder->setParameter($parameterName, $value);
80 80
 
81
-        return $this->queryBuilder->expr()->neq($this->getFieldName($field), ':'.$parameterName);
81
+        return $this->queryBuilder->expr()->neq($this->getFieldName($field), ':' . $parameterName);
82 82
     }
83 83
 
84 84
     /**
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         $parameterName = $this->getParameterName($field);
90 90
         $this->queryBuilder->setParameter($parameterName, $value);
91 91
 
92
-        $this->queryBuilder->andWhere($this->getFieldName($field).' < :'.$parameterName);
92
+        $this->queryBuilder->andWhere($this->getFieldName($field) . ' < :' . $parameterName);
93 93
     }
94 94
 
95 95
     /**
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         $parameterName = $this->getParameterName($field);
101 101
         $this->queryBuilder->setParameter($parameterName, $value);
102 102
 
103
-        $this->queryBuilder->andWhere($this->getFieldName($field).' <= :'.$parameterName);
103
+        $this->queryBuilder->andWhere($this->getFieldName($field) . ' <= :' . $parameterName);
104 104
     }
105 105
 
106 106
     /**
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
         $parameterName = $this->getParameterName($field);
112 112
         $this->queryBuilder->setParameter($parameterName, $value);
113 113
 
114
-        $this->queryBuilder->andWhere($this->getFieldName($field).' > :'.$parameterName);
114
+        $this->queryBuilder->andWhere($this->getFieldName($field) . ' > :' . $parameterName);
115 115
     }
116 116
 
117 117
     /**
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
         $parameterName = $this->getParameterName($field);
123 123
         $this->queryBuilder->setParameter($parameterName, $value);
124 124
 
125
-        $this->queryBuilder->andWhere($this->getFieldName($field).' >= :'.$parameterName);
125
+        $this->queryBuilder->andWhere($this->getFieldName($field) . ' >= :' . $parameterName);
126 126
     }
127 127
 
128 128
     /**
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
     private function getFieldName($field)
196 196
     {
197 197
         if (false === strpos($field, '.')) {
198
-            return $this->queryBuilder->getRootAlias().'.'.$field;
198
+            return $this->queryBuilder->getRootAlias() . '.' . $field;
199 199
         }
200 200
 
201 201
         return $field;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/StateMachineInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -21,6 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * @param RequestConfiguration $configuration
23 23
      * @param ResourceInterface $resource
24
+     * @return void
24 25
      */
25 26
     public function apply(RequestConfiguration $configuration, ResourceInterface $resource);
26 27
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ResourceBundle\Controller;
15 15
 
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/DependencyInjection/Driver/DriverInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * @param ContainerBuilder $container
24 24
      * @param MetadataInterface $metadata
25
+     * @return void
25 26
      */
26 27
     public function load(ContainerBuilder $container, MetadataInterface $metadata);
27 28
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ResourceBundle\DependencyInjection\Driver;
15 15
 
Please login to merge, or discard this patch.
Bundle/ResourceBundle/EventListener/ORMMappedSuperClassSubscriber.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 
71 71
     /**
72 72
      * @param ClassMetadataInfo $metadata
73
-     * @param $configuration
73
+     * @param \Doctrine\ORM\Configuration $configuration
74 74
      */
75 75
     private function setAssociationMappings(ClassMetadataInfo $metadata, $configuration)
76 76
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ResourceBundle\EventListener;
15 15
 
Please login to merge, or discard this patch.