Completed
Pull Request — master (#34)
by Daniel
02:19
created
lib/ActionRegistry.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 Psi\Component\Grid\Cell;
6 6
 
Please login to merge, or discard this patch.
lib/Filter/NumberFilterData.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 Psi\Component\Grid\Cell;
6 6
 
Please login to merge, or discard this patch.
lib/View/Cell/SelectCell.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 Psi\Component\Grid\Cell;
6 6
 
Please login to merge, or discard this patch.
lib/View/Cell/ScalarCell.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 Psi\Component\Grid\Cell;
6 6
 
Please login to merge, or discard this patch.
lib/ColumnRegistry.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 Psi\Component\Grid\Cell;
6 6
 
Please login to merge, or discard this patch.
lib/Source/PropertySource.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Psi\Component\Grid\ColumnInterface;
9 9
 use Psi\Component\Grid\GridContext;
10 10
 use Psi\Component\Grid\RowData;
11
-use Psi\Component\Grid\View\Cell as Cell;
12 11
 use Psi\Component\Grid\View\Header;
13 12
 use Symfony\Component\OptionsResolver\OptionsResolver;
14 13
 use Symfony\Component\PropertyAccess\PropertyAccess;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Component\Grid\Cell;
6 6
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
         $options->setDefault('property', null);
28 28
         $options->setAllowedTypes('property', ['string', 'null']);
29
-        $options->setNormalizer('property', function (OptionsResolver $options, $value) {
29
+        $options->setNormalizer('property', function(OptionsResolver $options, $value) {
30 30
             if (null !== $value) {
31 31
                 return $value;
32 32
             }
Please login to merge, or discard this patch.
lib/Metadata/Driver/DriverUtil.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@
 block discarded – undo
24 24
     private static function resolveConfigurableReference($options)
25 25
     {
26 26
         if (is_string($options)) {
27
-            $options = [ 'type' => $options ];
27
+            $options = ['type' => $options];
28 28
         }
29 29
 
30 30
         $type = isset($options['type']) ? $options['type'] : null;
31 31
         unset($options['type']);
32 32
 
33
-        return [ $type, $options ];
33
+        return [$type, $options];
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
lib/Metadata/AbstractConfigurable.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
 
10 10
     public function __construct(string $type = null, array $options = [])
11 11
     {
12
-        $this->type = $type ? : 'property';
12
+        $this->type = $type ?: 'property';
13 13
         $this->options = $options;
14 14
     }
15 15
 
Please login to merge, or discard this patch.
lib/Metadata/SourceMetadata.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public function __construct(string $type = null, array $options = [])
8 8
     {
9
-        $type = $type ? : 'property';
9
+        $type = $type ?: 'property';
10 10
 
11 11
         parent::__construct($type, $options);
12 12
     }
Please login to merge, or discard this patch.