mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Disabled CS rule enforcing native type declarations where @param or @return are used instead
We can't use this rule for now, since changing interface type declarations is a major BC break that is not worth introducing for now.
This commit is contained in:
committed by
Ben Ramsey
parent
ba419f9715
commit
17b390cc9c
@@ -333,7 +333,12 @@
|
||||
<properties>
|
||||
<property name="enableObjectTypeHint" value="true"/>
|
||||
</properties>
|
||||
|
||||
<!-- some native type hints cannot be added, because declaring them on pre-existing interfaces leads
|
||||
to a major downstream BC break -->
|
||||
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint"/>
|
||||
</rule>
|
||||
|
||||
<rule ref="SlevomatCodingStandard.Commenting.UselessFunctionDocComment"/>
|
||||
|
||||
<!-- Require the return type hint to have one space (i.e. function foo(): ?int) -->
|
||||
|
||||
Reference in New Issue
Block a user