Skip to content

Commit c1d776b

Browse files
committed
PHPCS: minor ruleset clean up
These haven't been necessary since support for PHP < 7.0 was dropped in PR 192.
1 parent 59b3f8f commit c1d776b

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

.phpcs.xml.dist

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,6 @@
102102
#############################################################################
103103
-->
104104

105-
<!-- The polyfills for the PHP native exceptions can not have a namespace
106-
and making those the only files with a file comment would create more,
107-
not less inconsistency. -->
108-
<rule ref="Yoast.Commenting.FileComment">
109-
<exclude-pattern>/src/Exceptions/*Error\.php$</exclude-pattern>
110-
</rule>
111-
112105
<!-- For named parameter support, the parameters in the polyfilled assertions *must*
113106
mirror the parameter name as used in PHPUnit itself.
114107
These cannot be changed until PHPUnit itself changes the names. -->
@@ -139,16 +132,6 @@
139132
<exclude-pattern>/src/TestListeners/TestListenerDefaultImplementationPHPUnitGte7\.php$</exclude-pattern>
140133
</rule>
141134

142-
<!-- The TestListenerDefaultImplementation for PHPUnit 7+ will only ever be loaded on PHP 7.1+. -->
143-
<rule ref="PHPCompatibility.Interfaces.NewInterfaces.throwableFound">
144-
<exclude-pattern>/src/TestListeners/TestListenerDefaultImplementationPHPUnitGte7\.php$</exclude-pattern>
145-
</rule>
146-
147-
<!-- The TestListenerDefaultImplementation for PHPUnit 7+ will only ever be loaded on PHP 7.1+. -->
148-
<rule ref="PHPCompatibility.FunctionDeclarations.NewParamTypeDeclarations.floatFound">
149-
<exclude-pattern>/src/TestListeners/TestListenerDefaultImplementationPHPUnitGte7\.php$</exclude-pattern>
150-
</rule>
151-
152135
<!-- TEST CODE -->
153136

154137
<!-- Final classes is irrelevant for test fixtures. -->

0 commit comments

Comments
 (0)