Skip to content

Commit 1020e5e

Browse files
committed
feat: check class constant native typehints in php 8.3+
1 parent 2c55f93 commit 1020e5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Kleinweb/ruleset.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ them to our own mu-plugin or standard library.
219219
<rule ref="SlevomatCodingStandard.PHP.RequireNowdoc"/>
220220
<rule ref="SlevomatCodingStandard.PHP.TypeCast"/>
221221
<rule ref="SlevomatCodingStandard.PHP.OptimizedFunctionsWithoutUnpacking"/>
222+
<rule ref="SlevomatCodingStandard.TypeHints.ClassConstantTypeHint"/>
222223
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
223224
<properties>
224225
<property name="linesCountBeforeDeclare" value="1"/>

0 commit comments

Comments
 (0)