Passed
Push — develop ( 6ae3da...c93a2f )
by Paul
02:03
created
src/Annotation/TokenConsumer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
                 // It is a string opening.
204 204
                 $this->openedStringToken = $type;
205 205
             } else {
206
-                if (! $this->currentlyEscaping && $type === $this->openedStringToken) {
206
+                if (!$this->currentlyEscaping && $type === $this->openedStringToken) {
207 207
                     // We are in a string, the token is not escaped and is the same as the string opening token.
208 208
                     // Close the string.
209 209
                     $this->openedStringToken = null;
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
     public function afterConsume(int $type): void
221 221
     {
222 222
         // Put in escaping mode if it were not escaping and there is a backslash token.
223
-        if (! $this->currentlyEscaping && $type === AnnotationLexer::T_BACKSLASH) {
223
+        if (!$this->currentlyEscaping && $type === AnnotationLexer::T_BACKSLASH) {
224 224
             $this->currentlyEscaping = true;
225 225
         } else {
226 226
             $this->currentlyEscaping = false;
Please login to merge, or discard this patch.
src/Parser/NodeParser/DocumentationNodeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
      */
48 48
     public function invoke($node, NodeInterface $parent): void
49 49
     {
50
-        if (! $node instanceof Doc || ! $parent instanceof DocumentationInterface) {
50
+        if (!$node instanceof Doc || !$parent instanceof DocumentationInterface) {
51 51
             throw new Exception('DocumentationNodeParser is made to parse a documentation node');
52 52
         }
53 53
 
Please login to merge, or discard this patch.