We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7db527 commit 28ca723Copy full SHA for 28ca723
README.md
@@ -89,6 +89,7 @@ This sniff provides the option:
89
<rule ref="Swivl.Commenting.FunctionComment">
90
<properties>
91
<property name="requiredPhpdoc" value="always"/>
92
+ <property name="minimumVisibility" value="private"/>
93
</properties>
94
</rule>
95
```
Swivl/Sniffs/Commenting/FunctionCommentSniff.php
@@ -21,6 +21,8 @@ class FunctionCommentSniff extends SquizFunctionCommentSniff
21
22
public $requiredPhpdoc = self::REQUIRED_PHPDOC_BY_MAP;
23
24
+ public $minimumVisibility = 'private';
25
+
26
/**
27
* @var DocCommentSniff
28
*/
0 commit comments