Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Commit

Permalink
fix: allow single line doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Mar 19, 2021
1 parent 051da55 commit d1cb68e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CodeIgniter4/ruleset.xml
Expand Up @@ -74,7 +74,11 @@
<!--
Doc block comment format and spacing.
-->
<rule ref="Generic.Commenting.DocComment"/>
<rule ref="Generic.Commenting.DocComment">
<!-- Allow single-line doc comments. See https://github.com/squizlabs/PHP_CodeSniffer/issues/258. -->
<exclude name="Generic.Commenting.DocComment.ContentAfterOpen" />
<exclude name="Generic.Commenting.DocComment.ContentBeforeClose" />
</rule>
<!--
Tab width is 4 spaces (for phpcs)
-->
Expand Down

0 comments on commit d1cb68e

Please sign in to comment.