Completed
Pull Request — master (#5)
by Steve
02:04
created
tests/Tag/TagSaxDiffOutput.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -86,8 +86,8 @@  discard block
 block discarded – undo
86 86
     {
87 87
         $attrs = [
88 88
             'class' => 'diff-tag-removed',
89
-            'id'    => 'removed' . $this->removedId,
90
-            'title' => '#removed' . $this->removedId,
89
+            'id'    => 'removed'.$this->removedId,
90
+            'title' => '#removed'.$this->removedId,
91 91
         ];
92 92
         $this->removedId++;
93 93
 
@@ -103,8 +103,8 @@  discard block
 block discarded – undo
103 103
     {
104 104
         $attrs = [
105 105
             'class' => 'diff-tag-added',
106
-            'id'    => 'removed' . $this->addedId,
107
-            'title' => '#removed' . $this->addedId,
106
+            'id'    => 'removed'.$this->addedId,
107
+            'title' => '#removed'.$this->addedId,
108 108
         ];
109 109
         $this->addedId++;
110 110
 
Please login to merge, or discard this patch.
tests/Tag/ArgumentComparator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,9 +46,9 @@  discard block
 block discarded – undo
46 46
                     $this->atoms[] = new TextAtom($currentWord);
47 47
                 }
48 48
 
49
-                $this->atoms[] = new TextAtom('' . $c);
49
+                $this->atoms[] = new TextAtom(''.$c);
50 50
                 $currentWord   = '';
51
-            } else if (DelimiterAtom::isValidDelimiter('' . $c)) {
51
+            } else if (DelimiterAtom::isValidDelimiter(''.$c)) {
52 52
                 // A delimiter.
53 53
                 if (mb_strlen($currentWord) > 0) {
54 54
                     $this->atoms[] = new TextAtom($currentWord);
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     public function getAtom(int $i): AtomInterface
75 75
     {
76 76
         if ($i < 0 || $i >= count($this->atoms)) {
77
-            throw new OutOfBoundsException('There is no Atom with index ' . $i);
77
+            throw new OutOfBoundsException('There is no Atom with index '.$i);
78 78
         }
79 79
 
80 80
         return $this->atoms[$i];
Please login to merge, or discard this patch.