Skip to content

Commit 4739687

Browse files
authored
bump PHP version (#37)
* bump PHP version * update PHPUnit config
1 parent dd65554 commit 4739687

3 files changed

Lines changed: 26 additions & 31 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Version 3.0.1
2+
3+
* Bump minimum PHP version to PHP 7.3 like code-rhapsodie/dataflow-bundle dependency.
4+
* Allow PHP 8.x.
5+
* Add GitHub Action to run tests.
6+
17
# Version 3.0.0
28

39
* Add compatibility with Ibexa Content 3.3

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242
},
4343
"require": {
44-
"php": "^7.1",
44+
"php": "^7.3||^8.0",
4545
"code-rhapsodie/dataflow-bundle": "^3.0",
4646
"ezsystems/ezplatform-admin-ui": "^2.3",
4747
"ezsystems/ezplatform-kernel": "^1.3"

phpunit.xml

Lines changed: 19 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,21 @@
1-
<?xml version = '1.0' encoding = 'UTF-8'?>
2-
1+
<?xml version="1.0" encoding="UTF-8"?>
32
<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
4-
<phpunit
5-
backupGlobals="false"
6-
backupStaticAttributes="false"
7-
bootstrap="tests/bootstrap.php"
8-
convertErrorsToExceptions="true"
9-
convertNoticesToExceptions="true"
10-
convertWarningsToExceptions="true"
11-
colors="false"
12-
>
13-
<php>
14-
<ini name="error_reporting" value="-1" />
15-
</php>
16-
<testsuites>
17-
<testsuite name="EzDataflow tests suite">
18-
<directory suffix="Test.php">./tests</directory>
19-
</testsuite>
20-
</testsuites>
21-
22-
<filter>
23-
<whitelist>
24-
<directory>./src/</directory>
25-
<exclude>
26-
<directory>tests/</directory>
27-
<directory>vendor/</directory>
28-
</exclude>
29-
</whitelist>
30-
</filter>
31-
3+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="tests/bootstrap.php" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" colors="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
4+
<coverage>
5+
<include>
6+
<directory>./src/</directory>
7+
</include>
8+
<exclude>
9+
<directory>tests/</directory>
10+
<directory>vendor/</directory>
11+
</exclude>
12+
</coverage>
13+
<php>
14+
<ini name="error_reporting" value="-1"/>
15+
</php>
16+
<testsuites>
17+
<testsuite name="EzDataflow tests suite">
18+
<directory suffix="Test.php">./tests</directory>
19+
</testsuite>
20+
</testsuites>
3221
</phpunit>

0 commit comments

Comments
 (0)