File tree Expand file tree Collapse file tree 5 files changed +49
-60
lines changed Expand file tree Collapse file tree 5 files changed +49
-60
lines changed Original file line number Diff line number Diff line change 2525 - name : Setup PHP
2626 uses : shivammathur/setup-php@v2
2727 with :
28- php-version : 7.4
28+ php-version : 8.x
2929 coverage : none
3030 tools : composer, cs2pr
3131
Original file line number Diff line number Diff line change 1515 ],
1616 "require-dev" : {
1717 "squizlabs/php_codesniffer" : " ^3.4" ,
18- "dms/coding-standard" : " ^8 "
18+ "dms/coding-standard" : " ^9 "
1919 },
2020 "autoload" : {
2121 "files" : [" assertarraysubset-autoload.php" ]
Original file line number Diff line number Diff line change 1313
1414 <rule ref =" DMS" >
1515 <exclude name =" SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingNativeTypeHint" />
16+ <exclude name =" SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint" />
17+ <exclude name =" SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint" />
1618 </rule >
1719
1820 <rule ref =" SlevomatCodingStandard.Operators.DisallowEqualOperators.DisallowedEqualOperator" >
3638 <exclude-pattern >assertarraysubset-autoload\.php</exclude-pattern >
3739 <exclude-pattern >tests/Availability/*\.php</exclude-pattern >
3840 </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 >
4841
4942</ruleset >
Original file line number Diff line number Diff line change 66use ArrayAccess ;
77use ArrayIterator ;
88use IteratorAggregate ;
9- use ReturnTypeWillChange ; // phpcs:ignore SlevomatCodingStandard.Namespaces.UnusedUses.UnusedUse
9+ use ReturnTypeWillChange ;
1010use Traversable ;
1111
1212use function array_key_exists ;
You can’t perform that action at this time.
0 commit comments