Fork me on GitHub
a Sensio Labs Product

I ate three cookies 🍪 (v3.40.2) edition

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