@@ -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' => '', |