File tree Expand file tree Collapse file tree 3 files changed +19
-20
lines changed
Expand file tree Collapse file tree 3 files changed +19
-20
lines changed Original file line number Diff line number Diff line change 2323 },
2424 "require-dev" : {
2525 "phpstan/phpstan" : " ^2.0" ,
26- "phpunit/phpunit" : " ^8.5.14 || ^9 .0" ,
26+ "phpunit/phpunit" : " ^9.3 || ^10 .0" ,
2727 "squizlabs/php_codesniffer" : " ^3.5.0"
2828 },
2929 "autoload" : {
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2-
32<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
43<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
54 xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
65 bootstrap =" vendor/squizlabs/php_codesniffer/autoload.php"
76 colors =" true"
8- forceCoversAnnotation =" true"
9- >
10- <php >
11- <const name =" PHP_CODESNIFFER_IN_TESTS" value =" true" />
12- <const name =" PHP_CODESNIFFER_CBF" value =" false" />
13- <const name =" PHP_CODESNIFFER_VERBOSITY" value =" 0" />
14- </php >
7+ forceCoversAnnotation =" true" >
8+
9+ <php >
10+ <const name =" PHP_CODESNIFFER_IN_TESTS" value =" true" />
11+ <const name =" PHP_CODESNIFFER_CBF" value =" false" />
12+ <const name =" PHP_CODESNIFFER_VERBOSITY" value =" 0" />
13+ </php >
1514
16- <testsuites >
17- <testsuite name =" Project Test Suite" >
18- <directory >tests</directory >
19- </testsuite >
20- </testsuites >
15+ <testsuites >
16+ <testsuite name =" Project Test Suite" >
17+ <directory >tests</directory >
18+ </testsuite >
19+ </testsuites >
2120
22- < filter >
23- < whitelist processUncoveredFilesFromWhitelist = " true " >
24- <directory suffix =" .php" >src</directory >
25- </ whitelist >
26- </ filter >
21+ < coverage processUncoveredFiles = " true " >
22+ < include >
23+ <directory suffix =" .php" >src</directory >
24+ </ include >
25+ </ coverage >
2726</phpunit >
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public function testGenerateWithEmpty(): void
7070 /**
7171 * @return array<string, array<string>>
7272 */
73- public function violations (): array
73+ public static function violations (): array
7474 {
7575 return [
7676 'single ' => ['Single ' ],
You can’t perform that action at this time.
0 commit comments