Completed
Push — locale-removal ( fb6ffb...cd2f0c )
by Kamil
55:40 queued 30:22
created
src/Sylius/Component/Grid/View/GridViewFactory.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\Grid\View;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Grid/Filter/ExistsFilter.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\Grid\Filter;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Grid/Filter/StringFilter.php 1 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\Grid\Filter;
15 15
 
@@ -99,13 +99,13 @@  discard block
 block discarded – undo
99 99
             case self::TYPE_NOT_EMPTY:
100 100
                 return $expressionBuilder->isNotNull($field);
101 101
             case self::TYPE_CONTAINS:
102
-                return $expressionBuilder->like($field, '%'.$value.'%');
102
+                return $expressionBuilder->like($field, '%' . $value . '%');
103 103
             case self::TYPE_NOT_CONTAINS:
104
-                return $expressionBuilder->notLike($field, '%'.$value.'%');
104
+                return $expressionBuilder->notLike($field, '%' . $value . '%');
105 105
             case self::TYPE_STARTS_WITH:
106
-                return $expressionBuilder->like($field, $value.'%');
106
+                return $expressionBuilder->like($field, $value . '%');
107 107
             case self::TYPE_ENDS_WITH:
108
-                return $expressionBuilder->like($field, '%'.$value);
108
+                return $expressionBuilder->like($field, '%' . $value);
109 109
             case self::TYPE_IN:
110 110
                 return $expressionBuilder->in($field, array_map('trim', explode(',', $value)));
111 111
             case self::TYPE_NOT_IN:
Please login to merge, or discard this patch.
src/Sylius/Component/Grid/Filter/DateFilter.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\Grid\Filter;
15 15
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
         $from = isset($data['from']) ? $this->getDateTime($data['from']) : null;
38 38
         if (null !== $from) {
39
-            $inclusive = (bool)$this->getOption($options, 'inclusive_from', self::DEFAULT_INCLUSIVE_FROM);
39
+            $inclusive = (bool) $this->getOption($options, 'inclusive_from', self::DEFAULT_INCLUSIVE_FROM);
40 40
             if (true === $inclusive) {
41 41
                 $expressionBuilder->greaterThanOrEqual($field, $from);
42 42
             } else {
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
         $to = isset($data['to']) ? $this->getDateTime($data['to']) : null;
48 48
         if (null !== $to) {
49
-            $inclusive = (bool)$this->getOption($options, 'inclusive_to', self::DEFAULT_INCLUSIVE_TO);
49
+            $inclusive = (bool) $this->getOption($options, 'inclusive_to', self::DEFAULT_INCLUSIVE_TO);
50 50
             if (true === $inclusive) {
51 51
                 $expressionBuilder->lessThanOrEqual($field, $to);
52 52
             } else {
@@ -83,6 +83,6 @@  discard block
 block discarded – undo
83 83
             return $data['date'];
84 84
         }
85 85
 
86
-        return $data['date'].' '.$data['time'];
86
+        return $data['date'] . ' ' . $data['time'];
87 87
     }
88 88
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Grid/Data/DataProvider.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\Grid\Data;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Grid/Parameters.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\Grid;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/spec/Factory/TranslatableFactorySpec.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\Factory;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/spec/Metadata/RegistrySpec.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\Metadata;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/spec/Exception/RaceConditionExceptionSpec.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\Exception;
15 15
 
Please login to merge, or discard this patch.