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.
Completed
Pull Request — master (#22)
by Rik
02:02
created
src/Condition/Comparison.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
      */
43 43
     public function __construct($operator, $field, $value, $dqlAlias = null)
44 44
     {
45
-        if (! in_array($operator, self::$operators, true)) {
45
+        if (!in_array($operator, self::$operators, true)) {
46 46
             throw new InvalidArgumentException(
47 47
                 sprintf(
48 48
                     '"%s" is not a valid operator. Valid operators: %s',
Please login to merge, or discard this patch.
src/AbstractSpecification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
             return $value;
51 51
         }
52 52
 
53
-        if (! empty($this->dqlAlias)) {
53
+        if (!empty($this->dqlAlias)) {
54 54
             $dqlAlias = $this->dqlAlias;
55 55
         }
56 56
 
Please login to merge, or discard this patch.
src/Specification.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function add($value)
41 41
     {
42
-        if (! $value instanceof SpecificationInterface) {
42
+        if (!$value instanceof SpecificationInterface) {
43 43
             throw new InvalidArgumentException(sprintf(
44 44
                 '"%s" does not implement "%s"!',
45 45
                 (is_object($value)) ? get_class($value) : $value,
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     public function modify(QueryBuilder $queryBuilder, $dqlAlias)
57 57
     {
58
-        $match = function (SpecificationInterface $specification) use ($queryBuilder, $dqlAlias) {
58
+        $match = function(SpecificationInterface $specification) use ($queryBuilder, $dqlAlias) {
59 59
             return $specification->modify($queryBuilder, $dqlAlias);
60 60
         };
61 61
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      */
112 112
     protected function setType($type)
113 113
     {
114
-        if (! in_array($type, self::$types, true)) {
114
+        if (!in_array($type, self::$types, true)) {
115 115
             $message = sprintf('"%s" is not a valid type! Valid types: %s', $type, implode(', ', self::$types));
116 116
             throw new InvalidArgumentException($message);
117 117
         }
Please login to merge, or discard this patch.
src/Result/ModifierCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      */
31 31
     public function add($value)
32 32
     {
33
-        if (! $value instanceof ModifierInterface) {
33
+        if (!$value instanceof ModifierInterface) {
34 34
             throw new InvalidArgumentException(sprintf(
35 35
                 '"%s" does not implement "%s"!',
36 36
                 (is_object($value)) ? get_class($value) : $value,
Please login to merge, or discard this patch.
src/Query/Select.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     public function setType($type)
53 53
     {
54
-        if (! in_array($type, self::$types, true)) {
54
+        if (!in_array($type, self::$types, true)) {
55 55
             throw new InvalidArgumentException(sprintf(
56 56
                 '"%s" is not a valid type! Valid types: %s',
57 57
                 $type,
Please login to merge, or discard this patch.
src/Query/Join.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      */
65 65
     public function setType($type)
66 66
     {
67
-        if (! in_array($type, self::$types, true)) {
67
+        if (!in_array($type, self::$types, true)) {
68 68
             throw new InvalidArgumentException(sprintf(
69 69
                 '"%s" is not a valid type! Valid types: %s',
70 70
                 $type,
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     public function modify(QueryBuilder $queryBuilder, $dqlAlias)
82 82
     {
83
-        if (! is_null($this->dqlAlias)) {
83
+        if (!is_null($this->dqlAlias)) {
84 84
             $dqlAlias = $this->dqlAlias;
85 85
         }
86 86
 
Please login to merge, or discard this patch.
src/Query/OrderBy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@
 block discarded – undo
30 30
      */
31 31
     public function __construct($field, $order = null, $dqlAlias = null)
32 32
     {
33
-        $order = ! $order ? self::ASC : strtoupper($order);
33
+        $order = !$order ? self::ASC : strtoupper($order);
34 34
 
35
-        if (! in_array($order, self::$validOrder, true)) {
35
+        if (!in_array($order, self::$validOrder, true)) {
36 36
             throw new InvalidArgumentException();
37 37
         }
38 38
 
Please login to merge, or discard this patch.
src/Query/Having.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
     public function setType($type)
48 48
     {
49
-        if (! in_array($type, self::$types, true)) {
49
+        if (!in_array($type, self::$types, true)) {
50 50
             throw new InvalidArgumentException(sprintf(
51 51
                 '"%s" is not a valid type! Valid types: %s',
52 52
                 $type,
Please login to merge, or discard this patch.
src/Query/GroupBy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      */
52 52
     public function setType($type)
53 53
     {
54
-        if (! in_array($type, self::$types, true)) {
54
+        if (!in_array($type, self::$types, true)) {
55 55
             throw new InvalidArgumentException(sprintf(
56 56
                 '"%s" is not a valid type! Valid types: %s',
57 57
                 $type,
Please login to merge, or discard this patch.