Skip to content

Commit 0cb4e22

Browse files
committedJun 25, 2023
update dependencies
1 parent 00189de commit 0cb4e22

File tree

6 files changed

+313
-448
lines changed

6 files changed

+313
-448
lines changed
 

‎.github/workflows/phpunit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
configuration: test/phpunit.xml
2828
php_extensions: pcov
2929
php_version: ${{ matrix.php-versions }}
30-
version: 9.5
30+
version: 10.2
3131

3232
- name: coverage monitor
3333
uses: slavcodev/coverage-monitor-action@1.6.0

‎composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
"require": {
2222
"php": ">=8.1",
2323
"ext-json": "*",
24-
"symfony/dependency-injection": "^6.2",
25-
"symfony/yaml": "^6.2",
26-
"symfony/config": "^6.2"
24+
"symfony/dependency-injection": "^6.3",
25+
"symfony/yaml": "^6.3",
26+
"symfony/config": "^6.3"
2727
},
2828
"autoload": {
2929
"psr-4": {
@@ -36,7 +36,7 @@
3636
}
3737
},
3838
"require-dev": {
39-
"phpunit/phpunit": "^9.5",
39+
"phpunit/phpunit": "^10.2",
4040
"mikey179/vfsstream": "^1.6"
4141
},
4242
"scripts": {

‎composer.lock

+299-436
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎example/DemoService.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33

44
namespace Demo;
55

6-
76
class DemoService
87
{
9-
protected int $a = 1;
8+
protected int $a = 1;
109
}

‎test/phpunit.xml

+8-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
<phpunit
33
bootstrap="./../vendor/autoload.php"
44
colors="true"
5+
cacheDirectory=".phpunit.cache"
56
>
6-
<coverage processUncoveredFiles="true">
7-
<include>
8-
<directory suffix=".php">../src/</directory>
9-
</include>
7+
<coverage>
108
<report>
119
<clover outputFile="clover.xml"/>
1210
</report>
@@ -17,4 +15,10 @@
1715
<directory>./unit</directory>
1816
</testsuite>
1917
</testsuites>
18+
19+
<source>
20+
<include>
21+
<directory suffix=".php">../src/</directory>
22+
</include>
23+
</source>
2024
</phpunit>

‎test/unit/config/di.php

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
$configurator->parameters()
99
->set('php', 'php');
1010

11-
1211
$services = $configurator->services()
1312
->defaults()
1413
->autowire(true)

0 commit comments

Comments
 (0)
Please sign in to comment.