Skip to content

Commit

Permalink
PHPUnit 11 and Symfony 7 support (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
misantron authored Feb 3, 2025
1 parent 55637db commit 4e9ff02
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
php-version: '8.3'
coverage: none
- name: Install composer dependencies
uses: ramsey/composer-install@v3
Expand All @@ -37,6 +37,7 @@ jobs:
- '8.1'
- '8.2'
- '8.3'
- '8.4'
services:
mysql:
image: "mysql:${{ matrix.db-version }}"
Expand Down Expand Up @@ -75,7 +76,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
php-version: '8.3'
coverage: pcov
- name: Install composer dependencies
uses: ramsey/composer-install@v3
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "misantron/dbunit",
"description": "DbUnit fork supporting PHPUnit 9/10",
"description": "DbUnit fork supporting PHPUnit 9/10/11",
"type": "library",
"license": "MIT",
"keywords": [
Expand All @@ -18,13 +18,13 @@
"require": {
"php": "^7.4 || ^8.0",
"ext-pdo": "*",
"phpunit/phpunit": "^9.5 || ^10.2",
"phpunit/phpunit": "^9.5 || ^10.2 || ^11.1",
"symfony/polyfill-php80": "^1.27",
"symfony/yaml": "^5.4 || ^6.0 || ^7.0"
"symfony/yaml": "^5.4 || ^6.4 || ^7.0"
},
"require-dev": {
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan": "^1.10 || ^2.0",
"symplify/easy-coding-standard": "^12.0"
},
"autoload": {
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: 3.x

services:
mysql:
image: biarms/mysql:5.7
Expand Down
7 changes: 3 additions & 4 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@
colors="true">

<testsuites>
<testsuite name="all">
<directory>tests/</directory>
<exclude>tests/_files/*</exclude>
</testsuite>
<testsuite name="unit">
<directory>tests/</directory>
<exclude>tests/_files/*</exclude>
<exclude>tests/Operation/OperationsMySQLTest.php</exclude>
</testsuite>
<testsuite name="functional">
<file>tests/Operation/OperationsMySQLTest.php</file>
</testsuite>
</testsuites>

<php>
Expand Down

0 comments on commit 4e9ff02

Please sign in to comment.