File tree Expand file tree Collapse file tree 3 files changed +7
-22
lines changed Expand file tree Collapse file tree 3 files changed +7
-22
lines changed Original file line number Diff line number Diff line change 35
35
"phan/phan" : " ^5.4.5" ,
36
36
"phpstan/phpstan" : " ^1.12" ,
37
37
"phpstan/phpstan-strict-rules" : " ^1.6" ,
38
- "phpunit/phpunit" : " ^8.5.36 || ^ 9.6.15" ,
38
+ "phpunit/phpunit" : " ^9.6.15" ,
39
39
"psalm/plugin-phpunit" : " ^0.19" ,
40
40
"sabre/event" : " >= 5.1.6" ,
41
41
"symfony/filesystem" : " >= 5.4.45" ,
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<phpunit
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd"
3
5
backupGlobals =" true"
4
6
beStrictAboutTestsThatDoNotTestAnything =" false"
5
7
bootstrap =" tests/bootstrap.php"
9
11
<file >vendor/squizlabs/php_codesniffer/tests/Standards/AllSniffs.php</file >
10
12
</testsuite >
11
13
</testsuites >
12
- <filter >
13
- <whitelist processUncoveredFilesFromWhitelist = " false " >
14
+ <coverage processUncoveredFiles = " false " >
15
+ <include >
14
16
<directory suffix =" .php" >./MO4/Sniffs</directory >
15
- </whitelist >
16
- </filter >
17
+ </include >
18
+ </coverage >
17
19
</phpunit >
Original file line number Diff line number Diff line change @@ -43,20 +43,3 @@ static function ($v) use ($myStandardName): bool {
43
43
);
44
44
45
45
putenv ("PHPCS_IGNORE_TESTS= {$ ignoredStandardsStr }" );
46
-
47
- /*
48
- * PHPUnit 9.3 is the first version which supports Xdebug 3, but we're using older versions.
49
- *
50
- * For now, until a fix is pulled into the whole stack, this will allow older PHPUnit
51
- * versions to run with Xdebug 3 for code coverage.
52
- */
53
-
54
- if ((true === extension_loaded ('xdebug ' )) && (true === version_compare ((string ) phpversion ('xdebug ' ), '3 ' , '>= ' ))) {
55
- if (false === defined ('XDEBUG_CC_UNUSED ' )) {
56
- define ('XDEBUG_CC_UNUSED ' , null );
57
- }
58
-
59
- if (false === defined ('XDEBUG_CC_DEAD_CODE ' )) {
60
- define ('XDEBUG_CC_DEAD_CODE ' , null );
61
- }
62
- }
You can’t perform that action at this time.
0 commit comments