Completed
Push — trans-int ( b2e060 )
by Kamil
24:07
created
src/Sylius/Component/Registry/spec/ServiceRegistrySpec.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,11 +9,11 @@
 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\Component\Registry;
15 15
 
16
-require_once __DIR__.'/Fixture/SampleServiceInterface.php';
16
+require_once __DIR__ . '/Fixture/SampleServiceInterface.php';
17 17
 
18 18
 use PhpSpec\ObjectBehavior;
19 19
 use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Distributor/IntegerDistributor.php 1 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\Core\Distributor;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserOAuthInterface.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * @param string|null $provider
31
+     * @return void
31 32
      */
32 33
     public function setProvider(?string $provider): void;
33 34
 
@@ -38,6 +39,7 @@  discard block
 block discarded – undo
38 39
 
39 40
     /**
40 41
      * @param string|null $identifier
42
+     * @return void
41 43
      */
42 44
     public function setIdentifier(?string $identifier): void;
43 45
 
@@ -48,6 +50,7 @@  discard block
 block discarded – undo
48 50
 
49 51
     /**
50 52
      * @param string|null $accessToken
53
+     * @return void
51 54
      */
52 55
     public function setAccessToken(?string $accessToken): void;
53 56
 
@@ -58,6 +61,7 @@  discard block
 block discarded – undo
58 61
 
59 62
     /**
60 63
      * @param string|null $refreshToken
64
+     * @return void
61 65
      */
62 66
     public function setRefreshToken(?string $refreshToken): void;
63 67
 }
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 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\User\Model;
15 15
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * @param string|null $provider
31 31
      */
32
-    public function setProvider(?string $provider): void;
32
+    public function setProvider(?string $provider) : void;
33 33
 
34 34
     /**
35 35
      * @return string|null
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     /**
40 40
      * @param string|null $identifier
41 41
      */
42
-    public function setIdentifier(?string $identifier): void;
42
+    public function setIdentifier(?string $identifier) : void;
43 43
 
44 44
     /**
45 45
      * @return string|null
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * @param string|null $accessToken
51 51
      */
52
-    public function setAccessToken(?string $accessToken): void;
52
+    public function setAccessToken(?string $accessToken) : void;
53 53
 
54 54
     /**
55 55
      * @return string|null
@@ -59,5 +59,5 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * @param string|null $refreshToken
61 61
      */
62
-    public function setRefreshToken(?string $refreshToken): void;
62
+    public function setRefreshToken(?string $refreshToken) : void;
63 63
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/spec/Generator/RandomnessGeneratorSpec.php 1 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\Component\Resource\Generator;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/AdminBundle/Twig/ShopExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Sylius\Bundle\AdminBundle\Twig;
6 6
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Checkout/CheckoutStateUrlGenerator.php 1 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\CoreBundle\Checkout;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Tests/Functional/AssetTest.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\Bundle\ThemeBundle\Tests\Functional;
15 15
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     {
26 26
         parent::tearDown();
27 27
 
28
-        file_put_contents(__DIR__.'/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset'.PHP_EOL);
28
+        file_put_contents(__DIR__ . '/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset' . PHP_EOL);
29 29
     }
30 30
 
31 31
     /**
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         $client->getContainer()->get('sylius.theme.asset.assets_installer')->installAssets($webDirectory, $symlinkMask);
64 64
 
65 65
         sleep(1);
66
-        file_put_contents(__DIR__.'/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset modified');
66
+        file_put_contents(__DIR__ . '/../Fixtures/themes/FirstTestTheme/TestBundle/public/theme_asset.txt', 'Theme asset modified');
67 67
         clearstatcache();
68 68
 
69 69
         $client->getContainer()->get('sylius.theme.asset.assets_installer')->installAssets($webDirectory, $symlinkMask);
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 
117 117
             [$expectedText, $assetFile] = explode(': ', $line);
118 118
 
119
-            $contents = file_get_contents($webDirectory.$assetFile);
119
+            $contents = file_get_contents($webDirectory . $assetFile);
120 120
 
121 121
             $this->assertEquals($expectedText, trim($contents));
122 122
         }
Please login to merge, or discard this patch.
test/src/Tests/DependencyInjection/SyliusResourceExtensionTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
                     'translation' => [
41 41
                         'classes' => [
42 42
                             'model' => BookTranslation::class,
43
-                         ],
43
+                            ],
44 44
                     ],
45 45
                 ],
46 46
             ],
@@ -77,10 +77,10 @@  discard block
 block discarded – undo
77 77
         $this->setParameter('kernel.bundles', []);
78 78
 
79 79
         $this->load([
80
-             'translation' => [
81
-                 'locale_provider' => 'test.custom_locale_provider'
82
-             ]
83
-         ]);
80
+                'translation' => [
81
+                    'locale_provider' => 'test.custom_locale_provider'
82
+                ]
83
+            ]);
84 84
 
85 85
         $this->assertContainerBuilderHasAlias('sylius.translation_locale_provider', 'test.custom_locale_provider');
86 86
     }
Please login to merge, or discard this patch.
tests/Controller/ChannelApiTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
     }
108 108
 
109 109
     /**
110
-    * @param ChannelInterface $channel
110
+     * @param ChannelInterface $channel
111 111
      *
112 112
      * @return string
113 113
      */
Please login to merge, or discard this patch.