123456789101112131415161718192021222324252627 |
- ===================================================
- Rule ``no_singleline_whitespace_before_semicolons``
- ===================================================
- Single-line whitespace before closing semicolon are prohibited.
- Examples
- --------
- Example #1
- ~~~~~~~~~~
- .. code-block:: diff
- --- Original
- +++ New
- -<?php $this->foo() ;
- +<?php $this->foo();
- Rule sets
- ---------
- The rule is part of the following rule sets:
- - `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
- - `@Symfony <./../../ruleSets/Symfony.rst>`_
|