Fork me on GitHub
a Sensio Labs Product

Remote Void (v2.18.5) 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:

@PhpCsFixer

Using the @PhpCsFixer rule set will enable the phpdoc_summary rule.

@Symfony

Using the @Symfony rule set will enable the phpdoc_summary rule.

The logo is © 2010-2014 Sensio Labs