Completed
Push — scalar-types/resource ( 4814fd )
by Kamil
23:02
created
src/Sylius/Component/Core/Model/Order.php 1 patch
Spacing   +3 added lines, -3 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\Component\Core\Model;
15 15
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     /**
128 128
      * {@inheritdoc}
129 129
      */
130
-    public function setCustomer(?BaseCustomerInterface $customer): void
130
+    public function setCustomer(?BaseCustomerInterface $customer) : void
131 131
     {
132 132
         $this->customer = $customer;
133 133
     }
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     /**
144 144
      * {@inheritdoc}
145 145
      */
146
-    public function setChannel(?BaseChannelInterface $channel): void
146
+    public function setChannel(?BaseChannelInterface $channel) : void
147 147
     {
148 148
         $this->channel = $channel;
149 149
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Review/Model/Reviewer.php 1 patch
Spacing   +4 added lines, -4 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\Component\Review\Model;
15 15
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * {@inheritdoc}
59 59
      */
60
-    public function setEmail(?string $email): void
60
+    public function setEmail(?string $email) : void
61 61
     {
62 62
         $this->email = $email;
63 63
     }
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * {@inheritdoc}
75 75
      */
76
-    public function setFirstName(?string $firstName): void
76
+    public function setFirstName(?string $firstName) : void
77 77
     {
78 78
         $this->firstName = $firstName;
79 79
     }
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     /**
90 90
      * {@inheritdoc}
91 91
      */
92
-    public function setLastName(?string $lastName): void
92
+    public function setLastName(?string $lastName) : void
93 93
     {
94 94
         $this->lastName = $lastName;
95 95
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Review/Model/ReviewerInterface.php 1 patch
Spacing   +4 added lines, -4 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\Component\Review\Model;
15 15
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * @param string|null $email
30 30
      */
31
-    public function setEmail(?string $email): void;
31
+    public function setEmail(?string $email) : void;
32 32
 
33 33
     /**
34 34
      * @return string|null
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * @param string|null $firstName
40 40
      */
41
-    public function setFirstName(?string $firstName): void;
41
+    public function setFirstName(?string $firstName) : void;
42 42
 
43 43
     /**
44 44
      * @return string|null
@@ -48,5 +48,5 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * @param string|null $lastName
50 50
      */
51
-    public function setLastName(?string $lastName): void;
51
+    public function setLastName(?string $lastName) : void;
52 52
 }
Please login to merge, or discard this patch.
Bundle/CustomerBundle/DependencyInjection/SyliusCustomerExtension.php 1 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\CustomerBundle\DependencyInjection;
15 15
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     public function load(array $config, ContainerBuilder $container): void
30 30
     {
31 31
         $config = $this->processConfiguration($this->getConfiguration([], $container), $config);
32
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
32
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
33 33
 
34 34
         $this->registerResources('sylius', $config['driver'], $config['resources'], $container);
35 35
 
Please login to merge, or discard this patch.
Sylius/Bundle/MailerBundle/spec/Renderer/Adapter/EmailTwigAdapterSpec.php 1 patch
Spacing   +3 added lines, -3 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 spec\Sylius\Bundle\MailerBundle\Renderer\Adapter;
15 15
 
@@ -49,8 +49,8 @@  discard block
 block discarded – undo
49 49
         $email->getTemplate()->shouldBeCalled()->willReturn('MyTemplate');
50 50
         $twig->loadTemplate('MyTemplate')->shouldBeCalled()->willReturn($template);
51 51
 
52
-        $template->renderBlock('subject', [])->willReturn('template');;
53
-        $template->renderBlock('body', [])->willReturn('body');;
52
+        $template->renderBlock('subject', [])->willReturn('template'); ;
53
+        $template->renderBlock('body', [])->willReturn('body'); ;
54 54
 
55 55
         $dispatcher->dispatch(
56 56
             SyliusMailerEvents::EMAIL_PRE_RENDER,
Please login to merge, or discard this patch.
src/Sylius/Bundle/MailerBundle/test/app/AppKernel.php 1 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
 use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer;
15 15
 use Symfony\Component\Config\Loader\LoaderInterface;
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function registerContainerConfiguration(LoaderInterface $loader): void
41 41
     {
42
-        $loader->load(__DIR__.'/config/config.yml');
42
+        $loader->load(__DIR__ . '/config/config.yml');
43 43
     }
44 44
 
45 45
     /**
Please login to merge, or discard this patch.
Sylius/Bundle/MailerBundle/DependencyInjection/SyliusMailerExtension.php 1 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\MailerBundle\DependencyInjection;
15 15
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function load(array $config, ContainerBuilder $container): void
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
         $configFiles = [
36 36
             'services.xml',
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/Address.php 1 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\Component\Core\Model;
15 15
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * {@inheritdoc}
39 39
      */
40
-    public function setCustomer(?BaseCustomerInterface $customer): void
40
+    public function setCustomer(?BaseCustomerInterface $customer) : void
41 41
     {
42 42
         $this->customer = $customer;
43 43
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/MoneyBundle/Formatter/MoneyFormatterInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
  * For the full copyright and license information, please view the LICENSE
9 9
  * file that was distributed with this source code.
10 10
  */
11
-declare(strict_types=1);
11
+declare(strict_types = 1);
12 12
 
13 13
 namespace Sylius\Bundle\MoneyBundle\Formatter;
14 14
 
@@ -26,5 +26,5 @@  discard block
 block discarded – undo
26 26
      *
27 27
      * @throws \InvalidArgumentException
28 28
      */
29
-    public function format(int $amount, string $currencyCode, ?string $locale = null): string;
29
+    public function format(int $amount, string $currencyCode, ?string $locale = null) : string;
30 30
 }
Please login to merge, or discard this patch.