GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Pull Request — 2.2 (#156)
by Simone
07:46 queued 03:48
created
src/Mado/QueryBundle/Services/StringParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
     public static function dotNotationFor(string $class)
34 34
     {
35
-        $dottedFullyQualifiedClassName = str_replace( '\\', '.', $class);
35
+        $dottedFullyQualifiedClassName = str_replace('\\', '.', $class);
36 36
         return strtolower($dottedFullyQualifiedClassName);
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
src/Mado/QueryBundle/Component/Sherlock/CurrentMetaData.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function justEntitiesMetadata() : array
34 34
     {
35
-        return array_map(function ($item) {
35
+        return array_map(function($item) {
36 36
             return $item->rootEntityName;
37 37
         }, $this->metadata);
38 38
     }
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     {
42 42
         return $this->extraction(
43 43
             $entityClass,
44
-            function ($item) {
44
+            function($item) {
45 45
                 return Dictionary::getOperatorsFromDoctrineType($item);
46 46
             }
47 47
         );
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     {
52 52
         return $this->extraction(
53 53
             $entityClass,
54
-            function ($item) {
54
+            function($item) {
55 55
                 return $item;
56 56
             }
57 57
         );
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     {
62 62
         $this->currentMetadata = $this->manager->getClassMetadata($entityClass);
63 63
 
64
-        return array_map(function ($item) use ($step) {
64
+        return array_map(function($item) use ($step) {
65 65
             return $step($item['type']);
66 66
         }, $this->currentMetadata->fieldMappings);
67 67
     }
Please login to merge, or discard this patch.
src/Mado/QueryBundle/Dictionary.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -66,21 +66,21 @@  discard block
 block discarded – undo
66 66
 
67 67
     private static $operatorMap = [
68 68
 
69
-        self::NUMBER_EQUAL         => [ 'meta' => ' =' ],
70
-        self::NUMBER_NOT_EQUAL     => [ 'meta' => '!=' ],
71
-        self::NUMBER_GREATER       => [ 'meta' => '>'  ],
72
-        self::NUMBER_GREATER_EQUAL => [ 'meta' => '>=' ],
73
-        self::NUMBER_LITTLE        => [ 'meta' => '<'  ],
74
-        self::NUMBER_LITTLE_EQUAL  => [ 'meta' => '<=' ],
75
-
76
-        self::STRING_STARTS_WITH  => [ 'meta' => 'LIKE', 'substitution_pattern' => '{string}%' ],
77
-        self::STRING_CONTAINS     => [ 'meta' => 'LIKE', 'substitution_pattern'     => '%{string}%' ],
78
-        self::STRING_NOT_CONTAINS => [ 'meta' => 'NOT LIKE', 'substitution_pattern' => '%{string}%' ],
79
-        self::STRING_ENDS_WITH    => [ 'meta' => 'LIKE', 'substitution_pattern' => '%{string}' ],
80
-
81
-        self::FIELD_LIST        => [ 'meta' => 'IN', 'substitution_pattern'     => '({string})' ],
82
-        self::FIELD_NOT_IN_LIST => [ 'meta' => 'NOT IN', 'substitution_pattern' => '({string})' ],
83
-        self::FIELD_EQUALITY    => [ 'meta' => '=' ],
69
+        self::NUMBER_EQUAL         => ['meta' => ' ='],
70
+        self::NUMBER_NOT_EQUAL     => ['meta' => '!='],
71
+        self::NUMBER_GREATER       => ['meta' => '>'],
72
+        self::NUMBER_GREATER_EQUAL => ['meta' => '>='],
73
+        self::NUMBER_LITTLE        => ['meta' => '<'],
74
+        self::NUMBER_LITTLE_EQUAL  => ['meta' => '<='],
75
+
76
+        self::STRING_STARTS_WITH  => ['meta' => 'LIKE', 'substitution_pattern' => '{string}%'],
77
+        self::STRING_CONTAINS     => ['meta' => 'LIKE', 'substitution_pattern'     => '%{string}%'],
78
+        self::STRING_NOT_CONTAINS => ['meta' => 'NOT LIKE', 'substitution_pattern' => '%{string}%'],
79
+        self::STRING_ENDS_WITH    => ['meta' => 'LIKE', 'substitution_pattern' => '%{string}'],
80
+
81
+        self::FIELD_LIST        => ['meta' => 'IN', 'substitution_pattern'     => '({string})'],
82
+        self::FIELD_NOT_IN_LIST => ['meta' => 'NOT IN', 'substitution_pattern' => '({string})'],
83
+        self::FIELD_EQUALITY    => ['meta' => '='],
84 84
 
85 85
     ];
86 86
 
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     {
101 101
         if (!isset(self::$doctrineTypeToOperatorsMap[$type])) {
102 102
             throw new \RuntimeException(
103
-                'Oops! Type "'.$type.'" is not yet defined.'
103
+                'Oops! Type "' . $type . '" is not yet defined.'
104 104
             );
105 105
         }
106 106
     }
Please login to merge, or discard this patch.
src/Mado/QueryBundle/Component/Sherlock/Sherlock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
 
102 102
         foreach ($raw['_embedded'] as $em => $bedded) {
103 103
             foreach ($raw['_embedded'][$em] as $foo => $bar) {
104
-                $ultimateListOfSearchableFields[$em .'.'. $foo] = $bar;
104
+                $ultimateListOfSearchableFields[$em . '.' . $foo] = $bar;
105 105
             }
106 106
         }
107 107
 
Please login to merge, or discard this patch.