Skip to content

Commit 9d75c92

Browse files
committed
Fix up new dependency.
1 parent ad3db4a commit 9d75c92

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

PSR2R/Sniffs/Namespaces/NoInlineFullyQualifiedClassNameSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class NoInlineFullyQualifiedClassNameSniff extends AbstractSniff {
4545
/**
4646
* @var \PHP_CodeSniffer\Files\File|null
4747
*/
48-
protected ?\PHP_CodeSniffer\Files\File $sentinelFile = null;
48+
protected ?File $sentinelFile = null;
4949

5050
/**
5151
* @inheritDoc

PSR2R/ruleset.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@
102102
</properties>
103103
</rule>
104104

105-
<rule ref="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly.ReferenceViaFullyQualifiedName">
106-
<severity>0</severity>
107-
</rule>
108-
109105
<rule ref="SlevomatCodingStandard.Exceptions.DeadCatch"/>
110106

111107
<rule ref="SlevomatCodingStandard.Commenting.EmptyComment"/>
@@ -142,7 +138,7 @@
142138
<rule ref="PhpCollective.Commenting.DocBlockReturnNull"/>
143139
<rule ref="PhpCollective.Commenting.DocBlockParamAllowDefaultValue"/>
144140
<rule ref="PhpCollective.Commenting.InlineDocBlock"/>
145-
<rule ref="PhpCollective.Commenting.Attributes"/>
141+
<rule ref="PhpCollective.Commenting.DocBlockParamTypeMismatch"/>
146142
<rule ref="PhpCollective.Commenting.FullyQualifiedClassNameInDocBlock"/>
147143

148144
<rule ref="PhpCollective.ControlStructures.NoInlineAssignment"/>

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"require": {
1515
"php": ">=8.1",
16-
"php-collective/code-sniffer": "^0.4.2",
16+
"php-collective/code-sniffer": "dev-master",
1717
"squizlabs/php_codesniffer": "^4.0.0"
1818
},
1919
"require-dev": {

0 commit comments

Comments
 (0)