Completed
Push — fixtures/parameter-fix ( 1f3fd9...164a01 )
by Kamil
32:45
created
test/src/Tests/DependencyInjection/SyliusResourceExtensionTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
                             'form' => [
49 49
                                 'default' => BookTranslationType::class,
50 50
                             ],
51
-                         ],
51
+                            ],
52 52
                     ],
53 53
                 ],
54 54
             ],
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Command/DemoteUserCommand.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,13 +51,13 @@
 block discarded – undo
51 51
 
52 52
         foreach ($securityRoles as $securityRole) {
53 53
             if (!$user->hasRole($securityRole)) {
54
-                $output->writeln(sprintf('<error>User "%s" didn\'t have "%s" Security role.</error>', (string)$user, $securityRole));
54
+                $output->writeln(sprintf('<error>User "%s" didn\'t have "%s" Security role.</error>', (string) $user, $securityRole));
55 55
                 $error = true;
56 56
                 continue;
57 57
             }
58 58
 
59 59
             $user->removeRole($securityRole);
60
-            $output->writeln(sprintf('Security role <comment>%s</comment> has been removed from user <comment>%s</comment>', $securityRole, (string)$user));
60
+            $output->writeln(sprintf('Security role <comment>%s</comment> has been removed from user <comment>%s</comment>', $securityRole, (string) $user));
61 61
         }
62 62
 
63 63
         if (!$error) {
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
             ->setDescription('Initialize default permissions & roles in the application.')
31 31
             ->setHelp(<<<EOT
32 32
 The <info>%command.name%</info> command initializes default RBAC setup.
33
-EOT
33
+eot
34 34
             )
35 35
         ;
36 36
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingZonesContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
         Assert::eq(
233 233
             1,
234 234
             $this->updatePage->countMembers(),
235
-            sprintf('Zone %s should have only %s zone member',$zone->getName(), $zoneMember->getCode())
235
+            sprintf('Zone %s should have only %s zone member', $zone->getName(), $zoneMember->getCode())
236 236
         );
237 237
     }
238 238
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingCurrenciesContext.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
      */
201 201
     public function iChangeExchangeRateTo($exchangeRate)
202 202
     {
203
-       $this->updatePage->changeExchangeRate($exchangeRate);
203
+        $this->updatePage->changeExchangeRate($exchangeRate);
204 204
     }
205 205
 
206 206
     /**
Please login to merge, or discard this patch.
ResourceBundle/Form/EventSubscriber/ResourceTranslationsSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
         $translatable = $parent->getData();
70 70
 
71 71
         foreach ($data as $locale => $translation) {
72
-            if(null === $translation) {
72
+            if (null === $translation) {
73 73
                 unset($data[$locale]);
74 74
                 continue;
75 75
             }
Please login to merge, or discard this patch.
src/Sylius/Bundle/SettingsBundle/Twig/SettingsExtension.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     public function getFunctions()
38 38
     {
39 39
         return [
40
-             new \Twig_SimpleFunction('sylius_settings', [$this->helper, 'getSettings']),
40
+                new \Twig_SimpleFunction('sylius_settings', [$this->helper, 'getSettings']),
41 41
         ];
42 42
     }
43 43
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductAttribute/UpdatePage.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     protected function getCodeElement()
44 44
     {
45
-       return $this->getElement('code');
45
+        return $this->getElement('code');
46 46
     }
47 47
 
48 48
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/GridBundle/Doctrine/PHPCRODM/ExpressionBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
      */
164 164
     public function orderBy($field, $direction)
165 165
     {
166
-        $this->orderBys = [ $field => $direction ];
166
+        $this->orderBys = [$field => $direction];
167 167
     }
168 168
 
169 169
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/GridBundle/Doctrine/PHPCRODM/DataSource.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     function it_is_initializable()
33 33
     {
34 34
         $this->shouldHaveType('Sylius\Component\Inventory\Operator\BackordersHandler');
35
-   }
35
+    }
36 36
 
37 37
     function it_implements_Sylius_inventory_backorders_handler_interface()
38 38
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,13 +11,11 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\GridBundle\Doctrine\PHPCRODM;
13 13
 
14
-use Pagerfanta\Adapter\DoctrineORMAdapter;
14
+use Doctrine\ODM\PHPCR\Query\Builder\QueryBuilder;
15
+use Pagerfanta\Adapter\DoctrineODMPhpcrAdapter;
15 16
 use Pagerfanta\Pagerfanta;
16 17
 use Sylius\Component\Grid\Data\DataSourceInterface;
17
-use Sylius\Component\Grid\Data\ExpressionBuilderInterface;
18 18
 use Sylius\Component\Grid\Parameters;
19
-use Doctrine\ODM\PHPCR\Query\Builder\QueryBuilder;
20
-use Pagerfanta\Adapter\DoctrineODMPhpcrAdapter;
21 19
 
22 20
 class DataSource implements DataSourceInterface
23 21
 {
Please login to merge, or discard this patch.