There was an error while loading. Please reload this page.
1 parent 6e0b6f9 commit 9eb28f6Copy full SHA for 9eb28f6
README.md
@@ -455,9 +455,9 @@ Configuration options:
455
```diff
456
<?php
457
-$foo = new Foo();
458
--echo$foo->__toString();
+-echo$foo->bar();
459
+$foo = new Foo();
460
-+echo $foo->__toString();
++echo $foo->bar();
461
```
462
463
#### SingleSpaceBeforeStatementFixer
src/Fixer/SingleSpaceAfterStatementFixer.php
@@ -88,7 +88,7 @@ public function getDefinition(): FixerDefinitionInterface
88
{
89
return new FixerDefinition(
90
'Single space must follow - not followed by semicolon - statement.',
91
- [new CodeSample("<?php\n\$foo = new Foo();\necho\$foo->__toString();\n")]
+ [new CodeSample("<?php\n\$foo = new Foo();\necho\$foo->bar();\n")]
92
);
93
}
94
0 commit comments