Completed
Push — scalar-types/registry ( 38a5a0 )
by Kamil
75:54 queued 51:59
created
src/Sylius/Bundle/OrderBundle/DependencyInjection/SyliusOrderExtension.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Symfony\Component\Config\FileLocator;
16 16
 use Symfony\Component\DependencyInjection\ContainerBuilder;
17 17
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
18
-use Symfony\Component\DependencyInjection\Reference;
19 18
 
20 19
 /**
21 20
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 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\OrderBundle\DependencyInjection;
15 15
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function load(array $config, ContainerBuilder $container)
31 31
     {
32 32
         $config = $this->processConfiguration($this->getConfiguration([], $container), $config);
33
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
33
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
34 34
 
35 35
         $loader->load(sprintf('services/integrations/%s.xml', $config['driver']));
36 36
 
Please login to merge, or discard this patch.
Sylius/Bundle/OrderBundle/NumberAssigner/OrderNumberAssignerInterface.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 OrderInterface $order
23
+     * @return void
23 24
      */
24 25
     public function assignNumber(OrderInterface $order);
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\OrderBundle\NumberAssigner;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ProductBundle/Controller/ProductAttributeController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
17 17
 use Sylius\Component\Attribute\Model\AttributeInterface;
18 18
 use Symfony\Component\Form\FormView;
19
-use Symfony\Component\HttpFoundation\JsonResponse;
20 19
 use Symfony\Component\HttpFoundation\Request;
21 20
 use Symfony\Component\HttpFoundation\Response;
22 21
 use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
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\ProductBundle\Controller;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Validator/EnabledValidator.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @param mixed $value
43
+     * @param ToggleableInterface $value
44 44
      */
45 45
     private function ensureValueImplementsToggleableInterface($value)
46 46
     {
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\Validator;
15 15
 
Please login to merge, or discard this patch.
Bundle/ThemeBundle/Configuration/ConfigurationSourceFactoryInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
 {
24 24
     /**
25 25
      * @param ArrayNodeDefinition $node
26
+     * @return void
26 27
      */
27 28
     public function buildConfiguration(ArrayNodeDefinition $node);
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\ThemeBundle\Configuration;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Security/UserLoginInterface.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 UserInterface $user
23 23
      * @param string $firewallName
24
+     * @return void
24 25
      */
25 26
     public function login(UserInterface $user, $firewallName = 'main');
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\UserBundle\Security;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeInterface.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * @param string $type
36
+     * @return void
36 37
      */
37 38
     public function setType($type);
38 39
 
@@ -43,6 +44,7 @@  discard block
 block discarded – undo
43 44
 
44 45
     /**
45 46
      * @param array $configuration
47
+     * @return void
46 48
      */
47 49
     public function setConfiguration(array $configuration);
48 50
 
@@ -58,6 +60,7 @@  discard block
 block discarded – undo
58 60
 
59 61
     /**
60 62
      * @param string $storageType
63
+     * @return void
61 64
      */
62 65
     public function setStorageType($storageType);
63 66
 
@@ -68,6 +71,7 @@  discard block
 block discarded – undo
68 71
 
69 72
     /**
70 73
      * @param int $position
74
+     * @return void
71 75
      */
72 76
     public function setPosition($position);
73 77
 }
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\Component\Attribute\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeSubjectInterface.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -33,11 +33,13 @@
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * @param AttributeValueInterface $attribute
36
+     * @return void
36 37
      */
37 38
     public function addAttribute(AttributeValueInterface $attribute);
38 39
 
39 40
     /**
40 41
      * @param AttributeValueInterface $attribute
42
+     * @return void
41 43
      */
42 44
     public function removeAttribute(AttributeValueInterface $attribute);
43 45
 
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\Component\Attribute\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeTranslationInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * @param string $name
31
+     * @return void
31 32
      */
32 33
     public function setName($name);
33 34
 }
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\Component\Attribute\Model;
15 15
 
Please login to merge, or discard this patch.