Passed
Push — master ( 3cca7b...cad016 )
by Tarmo
02:38
created
src/Rest/Traits/RestResourceDelete.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      * @param string          $id
24 24
      * @param EntityInterface $entity
25 25
      */
26
-    public function beforeDelete(string &$id, EntityInterface $entity): void
26
+    public function beforeDelete(string&$id, EntityInterface $entity): void
27 27
     {
28 28
     }
29 29
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      * @param string          $id
34 34
      * @param EntityInterface $entity
35 35
      */
36
-    public function afterDelete(string &$id, EntityInterface $entity): void
36
+    public function afterDelete(string&$id, EntityInterface $entity): void
37 37
     {
38 38
     }
39 39
 }
Please login to merge, or discard this patch.
src/Rest/Traits/RestResourceFindOne.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      *
23 23
      * @param string $id
24 24
      */
25
-    public function beforeFindOne(string &$id): void
25
+    public function beforeFindOne(string&$id): void
26 26
     {
27 27
     }
28 28
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      * @param string               $id
33 33
      * @param null|EntityInterface $entity
34 34
      */
35
-    public function afterFindOne(string &$id, EntityInterface $entity = null): void
35
+    public function afterFindOne(string&$id, EntityInterface $entity = null): void
36 36
     {
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
config/packages/dev/monolog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 use EasyCorp\EasyLog\EasyLogHandler;
5 5
 use Symfony\Component\Config\Resource\ClassExistenceResource;
Please login to merge, or discard this patch.
config/packages/prod/monolog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 use EasyCorp\EasyLog\EasyLogHandler;
5 5
 use Symfony\Component\Config\Resource\ClassExistenceResource;
Please login to merge, or discard this patch.
src/Doctrine/DBAL/Types/EnumType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             return "'" . $value . "'";
43 43
         };
44 44
 
45
-        return 'ENUM(' . \implode(', ', \array_map($iterator, static::$values)). ')';
45
+        return 'ENUM(' . \implode(', ', \array_map($iterator, static::$values)) . ')';
46 46
     }
47 47
 
48 48
     /**
Please login to merge, or discard this patch.
src/Form/DataTransformer/UserGroupTransformer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      *
43 43
      * @return array
44 44
      */
45
-    public function transform($userGroups): ?array
45
+    public function transform($userGroups): ? array
46 46
     {
47 47
         $output = [];
48 48
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      *
72 72
      * @throws TransformationFailedException if object (issue) is not found.
73 73
      */
74
-    public function reverseTransform($userGroups): ?array
74
+    public function reverseTransform($userGroups): ? array
75 75
     {
76 76
         $output = null;
77 77
 
Please login to merge, or discard this patch.
src/Rest/SearchTerm.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      *
27 27
      * @return array|null
28 28
      */
29
-    public static function getCriteria($column, $search, string $operand = null, int $mode = null): ?array
29
+    public static function getCriteria($column, $search, string $operand = null, int $mode = null): ? array
30 30
     {
31 31
         $operand = $operand ?? self::OPERAND_OR;
32 32
         $mode = $mode ?? self::MODE_FULL;
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      *
74 74
      * @return array|null
75 75
      */
76
-    private static function createCriteria(array $columns, array $searchTerms, string $operand, int $mode): ?array
76
+    private static function createCriteria(array $columns, array $searchTerms, string $operand, int $mode): ? array
77 77
     {
78 78
         /**
79 79
          * Lambda function to process each search term to specified search columns.
Please login to merge, or discard this patch.
src/Rest/RequestHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
          * @param   string          $value
96 96
          * @param   integer|string  $key
97 97
          */
98
-        $iterator = function (string &$value, $key) use (&$output) {
98
+        $iterator = function (string&$value, $key) use (&$output) {
99 99
             $order = 'ASC';
100 100
 
101 101
             if (\is_string($key)) {
Please login to merge, or discard this patch.