Single-line whitespace before closing semicolon are prohibited.
--- Original
+++ New
-<?php $this->foo() ;
+<?php $this->foo();The rule is part of the following rule sets:
- Fixer class: PhpCsFixer\Fixer\Semicolon\NoSinglelineWhitespaceBeforeSemicolonsFixer
- Test class: PhpCsFixer\Tests\Fixer\Semicolon\NoSinglelineWhitespaceBeforeSemicolonsFixerTest
The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.