Fork me on GitHub
a Sensio Labs Product

Remote Void (v2.18.5) edition

Rule phpdoc_tag_casing

Fixes casing of PHPDoc tags.

Configuration

tags

List of tags to fix with their expected casing.

Allowed types: array

Default value: ['inheritDoc']

Examples

Example #1

Default configuration.

--- Original
+++ New
 <?php
 /**
- * @inheritdoc
+ * @inheritDoc
  */

Example #2

With configuration: ['tags' => ['foo']].

--- Original
+++ New
 <?php
 /**
  * @inheritdoc
- * @Foo
+ * @foo
  */
The logo is © 2010-2014 Sensio Labs