Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit 6ad915a

Browse files
committed
Updated CS for PHP 7.1
1 parent ae0df14 commit 6ad915a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

phpcs.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<exclude name="Squiz.Functions.GlobalFunction.Found"/>
55
</rule>
66
<rule ref="vendor/slevomat/coding-standard/SlevomatCodingStandard/ruleset.xml">
7-
<exclude name="SlevomatCodingStandard.Classes.ClassConstantVisibility.MissingConstantVisibility"/>
87
<exclude name="SlevomatCodingStandard.Files.TypeNameMatchesFileName"/>
98
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword"/>
109
<exclude name="SlevomatCodingStandard.Namespaces.UseOnlyWhitelistedNamespaces"/>
@@ -32,8 +31,6 @@
3231
@dataProvider,
3332
@requires
3433
"/>
35-
<property name="enableNullableTypeHints" type="false" />
36-
<property name="enableVoidTypeHint" type="false" />
3734
</properties>
3835
</rule>
3936
</ruleset>

tests/Reflection/PHPParser/PhpParserNameClassReflectionExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testHasProperty(
4646
bool $expectedHas,
4747
string $className,
4848
string $propertyName
49-
)
49+
): void
5050
{
5151
$broker = $this->createBroker();
5252
$classReflection = $broker->getClass($className);

0 commit comments

Comments
 (0)