1234567891011121314151617181920212223242526272829303132333435 |
- =======================
- Rule ``phpdoc_summary``
- =======================
- PHPDoc summary should end in either a full stop, exclamation mark, or question
- mark.
- Examples
- --------
- Example #1
- ~~~~~~~~~~
- .. code-block:: diff
- --- Original
- +++ New
- @@ -1,5 +1,5 @@
- <?php
- /**
- - * Foo function is great
- + * Foo function is great.
- */
- function foo () {}
- Rule sets
- ---------
- The rule is part of the following rule sets:
- @PhpCsFixer
- Using the `@PhpCsFixer <./../../ruleSets/PhpCsFixer.rst>`_ rule set will enable the ``phpdoc_summary`` rule.
- @Symfony
- Using the `@Symfony <./../../ruleSets/Symfony.rst>`_ rule set will enable the ``phpdoc_summary`` rule.
|