@@ -10,7 +10,7 @@ |
||
| 10 | 10 | public function test_object_to_xml_representation() |
| 11 | 11 | { |
| 12 | 12 | $this->markTestSkipped(); |
| 13 | - $SUT = new Immutable(require __DIR__ .'/fixtures/error-message.php'); |
|
| 13 | + $SUT = new Immutable(require __DIR__ . '/fixtures/error-message.php'); |
|
| 14 | 14 | $xml = $SUT->toXML('payload'); |
| 15 | 15 | |
| 16 | 16 | $this->assertXmlStringEqualsXmlFile(__DIR__ . '/fixtures/error-message.xml', $xml); |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | |
| 75 | 75 | public function test_rmdir_function() |
| 76 | 76 | { |
| 77 | - $dir = sys_get_temp_dir() . DIRECTORY_SEPARATOR. randomstring(9); |
|
| 77 | + $dir = sys_get_temp_dir() . DIRECTORY_SEPARATOR . randomstring(9); |
|
| 78 | 78 | $file = $dir . DIRECTORY_SEPARATOR . randomstring(9) . '.txt'; |
| 79 | 79 | |
| 80 | 80 | $this->assertTrue(mkdir($dir), 'Should create an empty directory'); |
@@ -168,9 +168,9 @@ discard block |
||
| 168 | 168 | |
| 169 | 169 | // None of the keys are valid or sane, but it "works" because PHP |
| 170 | 170 | |
| 171 | - [[null => 1], true], // NULL is converted to '' |
|
| 172 | - [[false => 1], false], // FALSE is converted to 0 |
|
| 173 | - [[true => 1], true], // TRUE is converted to 1 |
|
| 171 | + [[null => 1], true], // NULL is converted to '' |
|
| 172 | + [[false => 1], false], // FALSE is converted to 0 |
|
| 173 | + [[true => 1], true], // TRUE is converted to 1 |
|
| 174 | 174 | |
| 175 | 175 | [[2.7 => 'yes'], true], // FLOAT is a different level of weird (float-to-string) |
| 176 | 176 | ]; |