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
03:17 queued 14s
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/Dictionary.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -50,21 +50,21 @@  discard block
 block discarded – undo
50 50
 
51 51
     private static $operatorMap = [
52 52
 
53
-        self::NUMBER_EQUAL         => [ 'meta' => ' =' ],
54
-        self::NUMBER_NOT_EQUAL     => [ 'meta' => '!=' ],
55
-        self::NUMBER_GREATER       => [ 'meta' => '>'  ],
56
-        self::NUMBER_GREATER_EQUAL => [ 'meta' => '>=' ],
57
-        self::NUMBER_LITTLE        => [ 'meta' => '<'  ],
58
-        self::NUMBER_LITTLE_EQUAL  => [ 'meta' => '<=' ],
59
-
60
-        self::STRING_STARTS_WITH  => [ 'meta' => 'LIKE', 'substitution_pattern' => '{string}%' ],
61
-        self::STRING_CONTAINS     => [ 'meta' => 'LIKE', 'substitution_pattern'     => '%{string}%' ],
62
-        self::STRING_NOT_CONTAINS => [ 'meta' => 'NOT LIKE', 'substitution_pattern' => '%{string}%' ],
63
-        self::STRING_ENDS_WITH    => [ 'meta' => 'LIKE', 'substitution_pattern' => '%{string}' ],
64
-
65
-        self::FIELD_LIST        => [ 'meta' => 'IN', 'substitution_pattern'     => '({string})' ],
66
-        self::FIELD_NOT_IN_LIST => [ 'meta' => 'NOT IN', 'substitution_pattern' => '({string})' ],
67
-        self::FIELD_EQUALITY    => [ 'meta' => '=' ],
53
+        self::NUMBER_EQUAL         => ['meta' => ' ='],
54
+        self::NUMBER_NOT_EQUAL     => ['meta' => '!='],
55
+        self::NUMBER_GREATER       => ['meta' => '>'],
56
+        self::NUMBER_GREATER_EQUAL => ['meta' => '>='],
57
+        self::NUMBER_LITTLE        => ['meta' => '<'],
58
+        self::NUMBER_LITTLE_EQUAL  => ['meta' => '<='],
59
+
60
+        self::STRING_STARTS_WITH  => ['meta' => 'LIKE', 'substitution_pattern' => '{string}%'],
61
+        self::STRING_CONTAINS     => ['meta' => 'LIKE', 'substitution_pattern'     => '%{string}%'],
62
+        self::STRING_NOT_CONTAINS => ['meta' => 'NOT LIKE', 'substitution_pattern' => '%{string}%'],
63
+        self::STRING_ENDS_WITH    => ['meta' => 'LIKE', 'substitution_pattern' => '%{string}'],
64
+
65
+        self::FIELD_LIST        => ['meta' => 'IN', 'substitution_pattern'     => '({string})'],
66
+        self::FIELD_NOT_IN_LIST => ['meta' => 'NOT IN', 'substitution_pattern' => '({string})'],
67
+        self::FIELD_EQUALITY    => ['meta' => '='],
68 68
 
69 69
     ];
70 70
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     {
78 78
         if (!isset(self::$doctrineTypeToOperatorsMap[$type])) {
79 79
             throw new \RuntimeException(
80
-                'Oops! Type "'.$type.'" is not yet defined.'
80
+                'Oops! Type "' . $type . '" is not yet defined.'
81 81
             );
82 82
         }
83 83
 
Please login to merge, or discard this patch.
src/Mado/QueryBundle/Component/Sherlock/CurrentMetaData.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     public function justEntitiesMetadata() : array
33 33
     {
34
-        return array_map(function ($item) {
34
+        return array_map(function($item) {
35 35
             return $item->rootEntityName;
36 36
         }, $this->metadata);
37 37
     }
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     {
41 41
         $this->currentMetadata = $this->manager->getClassMetadata($entityClass);
42 42
 
43
-        return array_map(function ($item) {
43
+        return array_map(function($item) {
44 44
             return Dictionary::getOperatorsFromDoctrineType($item['type']);
45 45
         }, $this->currentMetadata->fieldMappings);
46 46
     }
Please login to merge, or discard this patch.