Passed
Pull Request — master (#5)
by
unknown
08:17
created
vendor/theseer/tokenizer/src/TokenCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 namespace TheSeer\Tokenizer;
3 3
 
4 4
 class TokenCollection implements \ArrayAccess, \Iterator, \Countable {
Please login to merge, or discard this patch.
vendor/theseer/tokenizer/src/Tokenizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 namespace TheSeer\Tokenizer;
3 3
 
4 4
 class Tokenizer {
Please login to merge, or discard this patch.
vendor/theseer/tokenizer/src/NamespaceUriException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 namespace TheSeer\Tokenizer;
3 3
 
4 4
 class NamespaceUriException extends Exception {
Please login to merge, or discard this patch.
vendor/theseer/tokenizer/src/XMLSerializer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 namespace TheSeer\Tokenizer;
3 3
 
4 4
 use DOMDocument;
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
             $this->writer->endElement();
84 84
 
85 85
             $this->writer->startElement('line');
86
-            $this->writer->writeAttribute('no', (string)$token->getLine());
86
+            $this->writer->writeAttribute('no', (string) $token->getLine());
87 87
             $this->previousToken = $token;
88 88
         }
89 89
 
Please login to merge, or discard this patch.
vendor/theseer/tokenizer/src/TokenCollectionException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 namespace TheSeer\Tokenizer;
3 3
 
4 4
 class TokenCollectionException extends Exception {
Please login to merge, or discard this patch.
vendor/theseer/tokenizer/src/NamespaceUri.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 namespace TheSeer\Tokenizer;
3 3
 
4 4
 class NamespaceUri {
Please login to merge, or discard this patch.
vendor/theseer/tokenizer/src/Exception.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 namespace TheSeer\Tokenizer;
3 3
 
4 4
 class Exception extends \Exception {
Please login to merge, or discard this patch.
vendor/theseer/tokenizer/tests/_files/test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 namespace foo;
3 3
 
4 4
 class bar {
@@ -20,6 +20,6 @@  discard block
 block discarded – undo
20 20
     }
21 21
 
22 22
     public function some(bar $b): string {
23
-        return $b->getSomeX() . '-def';
23
+        return $b->getSomeX().'-def';
24 24
     }
25 25
 }
Please login to merge, or discard this patch.
vendor/theseer/tokenizer/tests/TokenCollectionTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types = 1);
1
+<?php declare(strict_types=1);
2 2
 namespace TheSeer\Tokenizer;
3 3
 
4 4
 use PHPUnit\Framework\TestCase;
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
         $this->collection->addToken($token);
33 33
         $this->collection->addToken($token);
34 34
 
35
-        foreach($this->collection as $position => $current) {
35
+        foreach ($this->collection as $position => $current) {
36 36
             $this->assertInternalType('integer', $position);
37 37
             $this->assertSame($token, $current);
38 38
         }
Please login to merge, or discard this patch.