Skip to content

Commit 73ffeae

Browse files
authored
Merge pull request #79 from andrew-demb/update-deps
📦 Phpunit v11, phpstan v2, doctrine CS 12
2 parents 0a0363a + c73361c commit 73ffeae

File tree

3 files changed

+17
-21
lines changed

3 files changed

+17
-21
lines changed

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
"symfony/validator": "^7"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "^9.6.5 || ^10.0.0",
25+
"phpunit/phpunit": "^11",
2626
"mouf/picotainer": "^1.1",
27-
"phpstan/phpstan": "^1.8",
27+
"phpstan/phpstan": "^2",
2828
"php-coveralls/php-coveralls": "^2.1.0",
2929
"symfony/translation": "^7",
30-
"doctrine/coding-standard": "^11.1|^12.0"
30+
"doctrine/coding-standard": "^12"
3131
},
3232
"scripts": {
3333
"phpstan": "phpstan analyse --no-progress",

phpstan.neon

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ parameters:
88

99
excludePaths:
1010
- vendor
11-
- cache
12-
- .phpstan-cache
1311

1412
#includes:
1513
# - vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon

phpunit.xml.dist

+14-16
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3-
<phpunit backupGlobals="false"
4-
backupStaticAttributes="false"
3+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd"
55
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnFailure="false"
116
bootstrap="vendor/autoload.php"
127
>
138
<testsuites>
@@ -16,13 +11,16 @@
1611
</testsuite>
1712
</testsuites>
1813

19-
<filter>
20-
<whitelist>
21-
<directory>./src</directory>
22-
</whitelist>
23-
</filter>
24-
<logging>
25-
<log type="coverage-html" target="build/coverage"/>
26-
<log type="coverage-clover" target="build/logs/clover.xml"/>
27-
</logging>
14+
<source>
15+
<include>
16+
<directory>src</directory>
17+
</include>
18+
</source>
19+
20+
<coverage>
21+
<report>
22+
<clover outputFile="build/logs/clover.xml"/>
23+
<html outputDirectory="build/coverage"/>
24+
</report>
25+
</coverage>
2826
</phpunit>

0 commit comments

Comments
 (0)