Completed
Push — symfony3 ( 8912ef...405d0c )
by Kamil
29:17 queued 09:55
created
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 1 patch
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.
src/Sylius/Bundle/GridBundle/spec/Doctrine/PHPCRODM/DataSourceSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     {
77 77
         $this->shouldThrow(
78 78
             new \RuntimeException('Unknown restrict condition "foo"')
79
-        )->during('restrict', [ $comparison, 'foo' ]);
79
+        )->during('restrict', [$comparison, 'foo']);
80 80
     }
81 81
 
82 82
     function it_should_return_the_expression_builder(
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingProductAttributesContext.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
      */
152 152
     public function theTypeFieldShouldBeDisabled()
153 153
     {
154
-       $currentPage = $this->currentPageResolver->getCurrentPageWithForm([$this->createPage, $this->updatePage]);
154
+        $currentPage = $this->currentPageResolver->getCurrentPageWithForm([$this->createPage, $this->updatePage]);
155 155
 
156 156
         Assert::true(
157 157
             $currentPage->isTypeDisabled(),
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Command/PromoteUserCommand.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" did already have "%s" security role.</error>', (string)$user, $securityRole));
54
+                $output->writeln(sprintf('<error>User "%s" did already have "%s" security role.</error>', (string) $user, $securityRole));
55 55
                 $error = true;
56 56
                 continue;
57 57
             }
58 58
 
59 59
             $user->addRole($securityRole);
60
-            $output->writeln(sprintf('Security role <comment>%s</comment> has been added to user <comment>%s</comment>', $securityRole, (string)$user));
60
+            $output->writeln(sprintf('Security role <comment>%s</comment> has been added to 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/Shop/CartContext.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
         $this->summaryPage->open();
83 83
 
84 84
         Assert::true(
85
-             $this->summaryPage->isEmpty(),
85
+                $this->summaryPage->isEmpty(),
86 86
             'There should appear information about empty cart, but it does not.'
87 87
         );
88 88
     }
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 use Behat\Mink\Exception\ElementNotFoundException;
15 15
 use Sylius\Behat\Page\PageInterface;
16
-use Sylius\Component\Product\Model\ProductOptionInterface;
17 16
 use Sylius\Component\Product\Model\ProductInterface;
17
+use Sylius\Component\Product\Model\ProductOptionInterface;
18 18
 
19 19
 /**
20 20
  * @author Łukasz Chruściel <[email protected]>
Please login to merge, or discard this patch.
spec/Doctrine/ODM/PHPCR/EventListener/NameFilterListenerSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
         $documentManager->getClassMetadata('stdClass')->willReturn($metadata);
50 50
         $metadata->nodename = null;
51 51
 
52
-        $this->shouldThrow(new \RuntimeException('In order to use the node name filter on "stdClass" it is necessary to map a field as the "nodename"'))->during('onEvent', [ $event ]);
52
+        $this->shouldThrow(new \RuntimeException('In order to use the node name filter on "stdClass" it is necessary to map a field as the "nodename"'))->during('onEvent', [$event]);
53 53
     }
54 54
 
55 55
     function it_should_clean_the_name(
Please login to merge, or discard this patch.
spec/Doctrine/ODM/PHPCR/EventListener/NameResolverListenerSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $metadata->idGenerator = 'foo';
51 51
 
52 52
         $this->shouldThrow(new \RuntimeException('Document of class "stdClass" must be using the GENERATOR_TYPE_PARENT identificatio strategy (value 3), it is current using "foo" (this may be an automatic configuration: be sure to map both the `nodename` and the `parentDocument`).'))->during(
53
-            'onEvent', [ $event ]
53
+            'onEvent', [$event]
54 54
         );
55 55
     }
56 56
 
Please login to merge, or discard this patch.