@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | |
| 170 | 170 | public function __construct() |
| 171 | 171 | { |
| 172 | - $this->data = [1,2,3,4,5]; |
|
| 172 | + $this->data = [1, 2, 3, 4, 5]; |
|
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | public function __toString() |
@@ -373,7 +373,7 @@ discard block |
||
| 373 | 373 | public function concatObjectValue() |
| 374 | 374 | { |
| 375 | 375 | $this->assertSame( |
| 376 | - 'prefix' . __FILE__ . 'suffix', |
|
| 376 | + 'prefix'.__FILE__.'suffix', |
|
| 377 | 377 | Strings::concat(new \SplFileInfo(__FILE__), 'prefix', 'suffix') |
| 378 | 378 | ); |
| 379 | 379 | } |
@@ -489,7 +489,7 @@ discard block |
||
| 489 | 489 | ], |
| 490 | 490 | 'closure provides words' => [ |
| 491 | 491 | 'value' => 'doe a deer, a female deer', |
| 492 | - 'words' => function () { |
|
| 492 | + 'words' => function() { |
|
| 493 | 493 | return ['doe', 'deer']; |
| 494 | 494 | }, |
| 495 | 495 | 'replacement' => '-', |
@@ -528,7 +528,7 @@ discard block |
||
| 528 | 528 | 'words' => [], |
| 529 | 529 | 'replacement' => '', |
| 530 | 530 | 'exception' => FilterException::class, |
| 531 | - 'message' => "Value '" . var_export(['bad', 'input'], true) . "' is not a string", |
|
| 531 | + 'message' => "Value '".var_export(['bad', 'input'], true)."' is not a string", |
|
| 532 | 532 | ], |
| 533 | 533 | 'invalid words argument' => [ |
| 534 | 534 | 'value' => 'some string', |
@@ -539,7 +539,7 @@ discard block |
||
| 539 | 539 | ], |
| 540 | 540 | 'invalid return from callable words argument' => [ |
| 541 | 541 | 'value' => 'some string', |
| 542 | - 'words' => function () { |
|
| 542 | + 'words' => function() { |
|
| 543 | 543 | return 'this is also not valid'; |
| 544 | 544 | }, |
| 545 | 545 | 'replacement' => '', |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | public function validate() |
| 101 | 101 | { |
| 102 | 102 | $xml = self::FULL_XML; |
| 103 | - $xsdFile = __DIR__ . '/_files/books.xsd'; |
|
| 103 | + $xsdFile = __DIR__.'/_files/books.xsd'; |
|
| 104 | 104 | $validatedXml = XmlFilter::validate($xml, $xsdFile); |
| 105 | 105 | $this->assertSame($xml, $validatedXml); |
| 106 | 106 | } |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | |
| 127 | 127 | $this->expectException(FilterException::class); |
| 128 | 128 | $this->expectExceptionMessage("Element 'book': The attribute 'id' is required but missing"); |
| 129 | - $xsdFile = __DIR__ . '/_files/books.xsd'; |
|
| 129 | + $xsdFile = __DIR__.'/_files/books.xsd'; |
|
| 130 | 130 | XmlFilter::validate($xmlMissingTitle, $xsdFile); |
| 131 | 131 | } |
| 132 | 132 | } |