File tree 5 files changed +49
-60
lines changed
5 files changed +49
-60
lines changed Original file line number Diff line number Diff line change 25
25
- name : Setup PHP
26
26
uses : shivammathur/setup-php@v2
27
27
with :
28
- php-version : 7.4
28
+ php-version : 8.x
29
29
coverage : none
30
30
tools : composer, cs2pr
31
31
Original file line number Diff line number Diff line change 15
15
],
16
16
"require-dev" : {
17
17
"squizlabs/php_codesniffer" : " ^3.4" ,
18
- "dms/coding-standard" : " ^8 "
18
+ "dms/coding-standard" : " ^9 "
19
19
},
20
20
"autoload" : {
21
21
"files" : [" assertarraysubset-autoload.php" ]
Original file line number Diff line number Diff line change 13
13
14
14
<rule ref =" DMS" >
15
15
<exclude name =" SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingNativeTypeHint" />
16
+ <exclude name =" SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint" />
17
+ <exclude name =" SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint" />
16
18
</rule >
17
19
18
20
<rule ref =" SlevomatCodingStandard.Operators.DisallowEqualOperators.DisallowedEqualOperator" >
36
38
<exclude-pattern >assertarraysubset-autoload\.php</exclude-pattern >
37
39
<exclude-pattern >tests/Availability/*\.php</exclude-pattern >
38
40
</rule >
39
- <rule ref =" SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint" >
40
- <exclude-pattern >assertarraysubset-autoload\.php</exclude-pattern >
41
- <exclude-pattern >src/AssertFallThrough\.php</exclude-pattern >
42
- </rule >
43
- <rule ref =" SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint" >
44
- <exclude-pattern >assertarraysubset-autoload\.php</exclude-pattern >
45
- <exclude-pattern >src/AssertFallThrough\.php</exclude-pattern >
46
- <exclude-pattern >tests/Availability/*\.php</exclude-pattern >
47
- </rule >
48
41
49
42
</ruleset >
Original file line number Diff line number Diff line change 6
6
use ArrayAccess ;
7
7
use ArrayIterator ;
8
8
use IteratorAggregate ;
9
- use ReturnTypeWillChange ; // phpcs:ignore SlevomatCodingStandard.Namespaces.UnusedUses.UnusedUse
9
+ use ReturnTypeWillChange ;
10
10
use Traversable ;
11
11
12
12
use function array_key_exists ;
You can’t perform that action at this time.
0 commit comments