Skip to content

Files

Latest commit

 

History

History
36 lines (26 loc) · 652 Bytes

phpdoc_summary.rst

File metadata and controls

36 lines (26 loc) · 652 Bytes

Rule phpdoc_summary

PHPDoc summary should end in either a full stop, exclamation mark, or question mark.

Examples

Example #1

--- Original
+++ New
 <?php
 /**
- * Foo function is great
+ * Foo function is great.
  */
 function foo () {}

Rule sets

The rule is part of the following rule sets:

Source class

PhpCsFixer\Fixer\Phpdoc\PhpdocSummaryFixer