We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 790a8a0 commit 008772dCopy full SHA for 008772d
composer.json
@@ -35,7 +35,7 @@
35
"phan/phan": "^5.4.5",
36
"phpstan/phpstan": "^1.12",
37
"phpstan/phpstan-strict-rules": "^1.6",
38
- "phpunit/phpunit": "^8.5.36 || ^9.6.15",
+ "phpunit/phpunit": "^9.6.15",
39
"psalm/plugin-phpunit": "^0.19",
40
"sabre/event": ">= 5.1.6",
41
"symfony/filesystem": ">= 5.4.45",
phpunit.xml.dist
@@ -1,5 +1,7 @@
1
<?xml version="1.0" encoding="UTF-8"?>
2
<phpunit
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
5
backupGlobals="true"
6
beStrictAboutTestsThatDoNotTestAnything="false"
7
bootstrap="tests/bootstrap.php"
@@ -9,9 +11,9 @@
9
11
<file>vendor/squizlabs/php_codesniffer/tests/Standards/AllSniffs.php</file>
10
12
</testsuite>
13
</testsuites>
- <filter>
- <whitelistprocessUncoveredFilesFromWhitelist="false">
14
+ <coverageprocessUncoveredFiles="false">
15
+ <include>
16
<directory suffix=".php">./MO4/Sniffs</directory>
- </whitelist>
- </filter>
17
+ </include>
18
+ </coverage>
19
</phpunit>
tests/bootstrap.php
@@ -43,20 +43,3 @@ static function ($v) use ($myStandardName): bool {
43
);
44
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
-}
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments