Skip to content

Commit ae9074f

Browse files
authored
Merge pull request #44 from assoconnect/phpunit_10
Upgrade PHPUnit configuration to version 10
2 parents d403f6b + bca6407 commit ae9074f

3 files changed

Lines changed: 44 additions & 44 deletions

File tree

composer.json

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
{
2-
"name": "assoconnect/php-date-bundle",
3-
"description": "Symfony bundle for assoconnect/php-date library",
4-
"type": "symfony-bundle",
5-
"license": "MIT",
6-
"autoload": {
7-
"psr-4": {
8-
"AssoConnect\\PHPDateBundle\\": "src/"
9-
}
10-
},
11-
"autoload-dev": {
12-
"psr-4": {
13-
"AssoConnect\\PHPDateBundle\\Tests\\": "tests/"
14-
}
15-
},
16-
"require-dev": {
17-
"symfony/contracts": "^2.4",
18-
"symfony/translation": "^7.0",
19-
"assoconnect/php-quality-config": "^2",
20-
"assoconnect/validator-bundle": "^2.39.2"
21-
},
22-
"require": {
23-
"ext-intl": "*",
24-
"php": "^8.3",
25-
"symfony/framework-bundle": "^7.0",
26-
"assoconnect/php-date": "^2.11",
27-
"doctrine/dbal": "^2.10|^3.0",
28-
"symfony/serializer": "^7.0",
29-
"twig/twig": "^3",
30-
"symfony/clock": "^7.3"
31-
},
32-
"config": {
33-
"allow-plugins": {
34-
"dealerdirect/phpcodesniffer-composer-installer": true
35-
}
36-
}
37-
}
1+
{
2+
"name": "assoconnect/php-date-bundle",
3+
"description": "Symfony bundle for assoconnect/php-date library",
4+
"type": "symfony-bundle",
5+
"license": "MIT",
6+
"autoload": {
7+
"psr-4": {
8+
"AssoConnect\\PHPDateBundle\\": "src/"
9+
}
10+
},
11+
"autoload-dev": {
12+
"psr-4": {
13+
"AssoConnect\\PHPDateBundle\\Tests\\": "tests/"
14+
}
15+
},
16+
"require-dev": {
17+
"symfony/contracts": "^2.4",
18+
"symfony/translation": "^7.0",
19+
"assoconnect/php-quality-config": "^2.2",
20+
"assoconnect/validator-bundle": "^2.39.2"
21+
},
22+
"require": {
23+
"ext-intl": "*",
24+
"php": "^8.3",
25+
"symfony/framework-bundle": "^7.0",
26+
"assoconnect/php-date": "^2.11",
27+
"doctrine/dbal": "^2.10|^3.0",
28+
"symfony/serializer": "^7.0",
29+
"twig/twig": "^3",
30+
"symfony/clock": "^7.3"
31+
},
32+
"config": {
33+
"allow-plugins": {
34+
"dealerdirect/phpcodesniffer-composer-installer": true
35+
}
36+
}
37+
}

phpunit.xml.dist

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3-
<coverage processUncoveredFiles="true">
4-
<include>
5-
<directory suffix=".php">./src</directory>
6-
</include>
7-
</coverage>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./vendor/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd">
83
<testsuites>
94
<testsuite name="main">
105
<directory>./tests/</directory>
116
</testsuite>
127
</testsuites>
8+
<source>
9+
<include>
10+
<directory suffix=".php">./src</directory>
11+
</include>
12+
</source>
1313
</phpunit>

tests/Doctrine/DBAL/Types/AbsoluteDateTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
use function date_default_timezone_set;
1616

17-
class DateTest extends TestCase
17+
class AbsoluteDateTypeTest extends TestCase
1818
{
1919
/** @var AbstractPlatform|MockObject */
2020
protected AbstractPlatform $platform;

0 commit comments

Comments
 (0)