12345678910111213141516171819202122232425262728 |
- ==========================
- Rule ``heredoc_to_nowdoc``
- ==========================
- Convert ``heredoc`` to ``nowdoc`` where possible.
- Examples
- --------
- Example #1
- ~~~~~~~~~~
- .. code-block:: diff
- --- Original
- +++ New
- -<?php $a = <<<"TEST"
- +<?php $a = <<<'TEST'
- Foo
- TEST;
- Rule sets
- ---------
- The rule is part of the following rule set:
- - `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
|