File tree Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 16
16
"nikic/php-parser": "^5"
17
17
},
18
18
"require-dev": {
19
- "phpunit/phpunit": "^9.6 ",
19
+ "phpunit/phpunit": "^10.4 ",
20
20
"php-coveralls/php-coveralls": "^2.1",
21
21
"squizlabs/php_codesniffer": "^3.4"
22
22
},
Original file line number Diff line number Diff line change 1
1
<?xml version="1.0"?>
2
2
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
- xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3 /phpunit.xsd"
3
+ xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5 /phpunit.xsd"
4
4
bootstrap="vendor/autoload.php"
5
5
colors="true"
6
6
backupGlobals="false"
7
- backupStaticAttributes="false"
8
7
beStrictAboutChangesToGlobalState="true"
9
8
beStrictAboutOutputDuringTests="true"
10
9
beStrictAboutTestsThatDoNotTestAnything="true"
11
- beStrictAboutTodoAnnotatedTests="true"
12
10
failOnRisky="true"
13
11
failOnWarning="true"
14
- convertErrorsToExceptions="true"
15
- convertNoticesToExceptions="true"
16
- convertWarningsToExceptions="true"
17
- >
12
+ cacheDirectory=".phpunit.cache"
13
+ backupStaticProperties="false">
18
14
<testsuites>
19
15
<testsuite name="Test suite">
20
16
<directory>./tests/</directory>
21
17
</testsuite>
22
18
</testsuites>
23
19
<coverage>
24
- <include>
25
- <directory suffix=".php">./src</directory>
26
- </include>
27
- <exclude>
28
- <file>src/Type/Php/ReplaceSafeFunctionsDynamicReturnTypeExtension.php</file>
29
- </exclude>
30
20
<report>
31
21
<clover outputFile="build/logs/clover.xml"/>
32
22
<html outputDirectory="build/coverage"/>
33
23
<text outputFile="php://stdout" showUncoveredFiles="true" showOnlySummary="true"/>
34
24
</report>
35
25
</coverage>
26
+ <source>
27
+ <include>
28
+ <directory suffix=".php">./src</directory>
29
+ </include>
30
+ <exclude>
31
+ <!-- type checking doesn't count towards coverage for some reason -->
32
+ <directory>src/Type/Php/</directory>
33
+ </exclude>
34
+ </source>
36
35
</phpunit>
You can’t perform that action at this time.
0 commit comments