Completed
Push — component-bundle ( 0f1f3e )
by Kamil
35:06
created
app/TestAppKernel.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
-require_once __DIR__.'/AppKernel.php';
12
+require_once __DIR__ . '/AppKernel.php';
13 13
 
14 14
 use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer;
15 15
 use Symfony\Component\DependencyInjection\ContainerInterface;
Please login to merge, or discard this patch.
app/config/router_test_cached.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,12 +26,12 @@
 block discarded – undo
26 26
     require ini_get('auto_prepend_file');
27 27
 }
28 28
 
29
-if (is_file($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.$_SERVER['SCRIPT_NAME'])) {
29
+if (is_file($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $_SERVER['SCRIPT_NAME'])) {
30 30
     return false;
31 31
 }
32 32
 
33 33
 $_SERVER = array_merge($_SERVER, $_ENV);
34
-$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.'app_test_cached.php';
34
+$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'app_test_cached.php';
35 35
 
36 36
 require 'app_test_cached.php';
37 37
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Country/UpdatePage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     {
41 41
         $provinces = $this->getElement('provinces');
42 42
 
43
-        return $provinces->has('css', '[value = "'.$provinceName.'"]');
43
+        return $provinces->has('css', '[value = "' . $provinceName . '"]');
44 44
     }
45 45
 
46 46
     /**
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     {
51 51
         $provinces = $this->getElement('provinces');
52 52
 
53
-        return $provinces->has('css', '[value = "'.$provinceCode.'"]');
53
+        return $provinces->has('css', '[value = "' . $provinceCode . '"]');
54 54
     }
55 55
 
56 56
     /**
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
         if ($this->isThereProvince($provinceName)) {
138 138
             $provinces = $this->getElement('provinces');
139 139
 
140
-            $item = $provinces->find('css', 'div[data-form-collection="item"] input[value="'.$provinceName.'"]')->getParent();
140
+            $item = $provinces->find('css', 'div[data-form-collection="item"] input[value="' . $provinceName . '"]')->getParent();
141 141
             $item->fillField('Name', '');
142 142
         }
143 143
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/ShowPage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -385,7 +385,7 @@  discard block
 block discarded – undo
385 385
             (stripos($elementText, $customerName) !== false) &&
386 386
             (stripos($elementText, $street) !== false) &&
387 387
             (stripos($elementText, $city) !== false) &&
388
-            (stripos($elementText, $countryName.' '.$postcode) !== false)
388
+            (stripos($elementText, $countryName . ' ' . $postcode) !== false)
389 389
         ;
390 390
     }
391 391
 
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
             ['item' => $itemName]
403 403
         );
404 404
 
405
-        return $rows[0]->find('css', '.'.$property)->getText();
405
+        return $rows[0]->find('css', '.' . $property)->getText();
406 406
     }
407 407
 
408 408
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/SymfonyPage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@
 block discarded – undo
75 75
      */
76 76
     final protected function makePathAbsolute($path)
77 77
     {
78
-        $baseUrl = rtrim($this->getParameter('base_url'), '/').'/';
78
+        $baseUrl = rtrim($this->getParameter('base_url'), '/') . '/';
79 79
 
80
-        return 0 !== strpos($path, 'http') ? $baseUrl.ltrim($path, '/') : $path;
80
+        return 0 !== strpos($path, 'http') ? $baseUrl . ltrim($path, '/') : $path;
81 81
     }
82 82
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/GridBundle/Doctrine/DBAL/ExpressionBuilder.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     {
77 77
         $this->queryBuilder->setParameter($field, $value);
78 78
 
79
-        return $this->queryBuilder->expr()->eq($field, ':'.$field);
79
+        return $this->queryBuilder->expr()->eq($field, ':' . $field);
80 80
     }
81 81
 
82 82
     /**
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     {
87 87
         $this->queryBuilder->setParameter($field, $value);
88 88
 
89
-        return $this->queryBuilder->expr()->neq($field, ':'.$field);
89
+        return $this->queryBuilder->expr()->neq($field, ':' . $field);
90 90
     }
91 91
 
92 92
     /**
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     public function lessThan($field, $value)
96 96
     {
97
-        $this->queryBuilder->andWhere($field.' < :'.$field)->setParameter($field, $value);
97
+        $this->queryBuilder->andWhere($field . ' < :' . $field)->setParameter($field, $value);
98 98
     }
99 99
 
100 100
     /**
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      */
103 103
     public function lessThanOrEqual($field, $value)
104 104
     {
105
-        $this->queryBuilder->andWhere($field.' =< :'.$field)->setParameter($field, $value);
105
+        $this->queryBuilder->andWhere($field . ' =< :' . $field)->setParameter($field, $value);
106 106
     }
107 107
 
108 108
     /**
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     public function greaterThan($field, $value)
112 112
     {
113
-        $this->queryBuilder->andWhere($field.' > :'.$field)->setParameter($field, $value);
113
+        $this->queryBuilder->andWhere($field . ' > :' . $field)->setParameter($field, $value);
114 114
     }
115 115
 
116 116
     /**
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      */
119 119
     public function greaterThanOrEqual($field, $value)
120 120
     {
121
-        $this->queryBuilder->andWhere($field.' => :%s'.$field)->setParameter($field, $value);
121
+        $this->queryBuilder->andWhere($field . ' => :%s' . $field)->setParameter($field, $value);
122 122
     }
123 123
 
124 124
     /**
Please login to merge, or discard this patch.
Bundle/CoreBundle/Validator/Constraints/HasEnabledEntityValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     public function validate($entity, Constraint $constraint)
56 56
     {
57 57
         if (!$constraint instanceof HasEnabledEntity) {
58
-            throw new UnexpectedTypeException($constraint, __NAMESPACE__.'\HasEnabledEntity');
58
+            throw new UnexpectedTypeException($constraint, __NAMESPACE__ . '\HasEnabledEntity');
59 59
         }
60 60
 
61 61
         $enabled = $this->accessor->getValue($entity, $constraint->enabledPath);
Please login to merge, or discard this patch.
src/Sylius/Bundle/ApiBundle/Command/CreateClientCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
             ->setHelp(<<<EOT
47 47
 The <info>%command.name%</info>command creates a new client.
48 48
 <info>php %command.full_name% [--redirect-uri=...] [--grant-type=...] name</info>
49
-EOT
49
+eot
50 50
             );
51 51
     }
52 52
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ShippingBundle/Form/Type/ShippingMethodType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
         $view->vars['prototypes'] = [];
118 118
         foreach ($form->getConfig()->getAttribute('prototypes') as $group => $prototypes) {
119 119
             foreach ($prototypes as $type => $prototype) {
120
-                $view->vars['prototypes'][$group.'_'.$type] = $prototype->createView($view);
120
+                $view->vars['prototypes'][$group . '_' . $type] = $prototype->createView($view);
121 121
             }
122 122
         }
123 123
     }
Please login to merge, or discard this patch.