Skip to content

Commit 7dcf9b9

Browse files
committed
Add rule to ignore capital-first docblocks
1 parent 7c24787 commit 7dcf9b9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

php/class-cli.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function __construct( $plugin ) {
6161
* Syncs assets with Cloudinary.
6262
* ## EXAMPLES
6363
*
64-
* Wp cloudinary sync
64+
* wp cloudinary sync
6565
*
6666
* @when after_wp_load
6767
* @since 2.5.1
@@ -102,7 +102,7 @@ public function sync( $args, $assoc_args ) {
102102
* Analyze assets with Cloudinary.
103103
* ## EXAMPLES
104104
*
105-
* Wp cloudinary analyze
105+
* wp cloudinary analyze
106106
*
107107
* @when after_wp_load
108108
* @since 2.5.1

phpcs.xml.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
</properties>
2222
</rule>
2323

24+
<rule ref="Generic.Commenting.DocComment.LongNotCapital">
25+
<exclude-pattern>php/class-cli.php</exclude-pattern>
26+
</rule>
27+
2428
<!-- Include WP VIP coding standard checks -->
2529
<rule ref="WordPress-VIP-Go" />
2630
<rule ref="WordPressVIPMinimum" />

0 commit comments

Comments
 (0)