@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | foreach ($this->tags as $tag) { |
51 | 51 | $e = new Element($tag); |
52 | 52 | if ($e->isVoid()) { |
53 | - $this->assertEquals('<' . $tag . '/>', $e->__toString()); |
|
53 | + $this->assertEquals('<'.$tag.'/>', $e->__toString()); |
|
54 | 54 | } else { |
55 | 55 | $this->assertEquals(sprintf('<%s></%s>', $tag, $tag), $e->__toString()); |
56 | 56 | } |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | $e = new Element($tag, $message); |
71 | 71 | |
72 | 72 | if ($e->isVoid()) { |
73 | - $this->assertEquals('<' . $tag . '/>', $e->__toString()); |
|
73 | + $this->assertEquals('<'.$tag.'/>', $e->__toString()); |
|
74 | 74 | } else { |
75 | 75 | $this->assertEquals(sprintf('<%s>%s</%s>', $tag, $expected, $tag), $e->__toString()); |
76 | 76 | } |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | $this->assertForAllHTMLTags($message, $attributes, $attributes_expected_string); |
120 | 120 | |
121 | 121 | |
122 | - $attributes = ['class' => 'test_class', 'style="color:red;"','id' => 'test_id']; |
|
122 | + $attributes = ['class' => 'test_class', 'style="color:red;"', 'id' => 'test_id']; |
|
123 | 123 | $attributes_expected_string = ' class="test_class" style="color:red;" id="test_id"'; |
124 | 124 | |
125 | 125 | // testing attributes string generator |
@@ -78,7 +78,7 @@ |
||
78 | 78 | $this->content = $content; |
79 | 79 | |
80 | 80 | foreach ($attributes as $name => $value) { |
81 | - if(is_int($name)) { |
|
81 | + if (is_int($name)) { |
|
82 | 82 | $name = $value; |
83 | 83 | } |
84 | 84 |