semicolon_after_instruction.rst 460 B

123456789101112131415161718192021222324252627
  1. ====================================
  2. Rule ``semicolon_after_instruction``
  3. ====================================
  4. Instructions must be terminated with a semicolon.
  5. Examples
  6. --------
  7. Example #1
  8. ~~~~~~~~~~
  9. .. code-block:: diff
  10. --- Original
  11. +++ New
  12. -<?php echo 1 ?>
  13. +<?php echo 1; ?>
  14. Rule sets
  15. ---------
  16. The rule is part of the following rule sets:
  17. - `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_
  18. - `@Symfony <./../../ruleSets/Symfony.rst>`_