Skip to content

Commit b42bf53

Browse files
committed
Update CS
1 parent bb64184 commit b42bf53

File tree

4 files changed

+331
-4
lines changed

4 files changed

+331
-4
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
/tests/tmp
22
/vendor
3-
composer.lock
3+
/composer.lock
44
.phpunit.result.cache

build-cs/.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
/composer.lock
21
/vendor

build-cs/composer.lock

+327
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpcs.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<ruleset name="PHPStan webmozart/assert extension">
2+
<ruleset name="PHPStan deprecation rules">
33
<config name="php_version" value="70100"/>
44
<arg name="colors"/>
55
<arg name="extensions" value="php"/>
@@ -33,6 +33,7 @@
3333
</rule>
3434
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint">
3535
<exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification"/>
36+
<exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint"/>
3637
</rule>
3738
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint.UselessAnnotation">
3839
<severity>10</severity>
@@ -46,6 +47,7 @@
4647
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint">
4748
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification"/>
4849
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingAnyTypeHint"/>
50+
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint"/>
4951
</rule>
5052
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessAnnotation">
5153
<severity>10</severity>
@@ -105,6 +107,5 @@
105107
</rule>
106108
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps"/>
107109
<rule ref="Consistence.NamingConventions.ValidVariableName.NotCamelCaps"/>
108-
<exclude-pattern>tests/tmp</exclude-pattern>
109110
<exclude-pattern>tests/*/data</exclude-pattern>
110111
</ruleset>

0 commit comments

Comments
 (0)