Skip to content

Commit fd46493

Browse files
fix: update symfony/finder version compatibility for PHP 8.1
1 parent 0e13b13 commit fd46493

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@ on: ['push', 'pull_request']
44

55
jobs:
66
ci:
7-
runs-on: ${{ matrix.os }}
7+
runs-on: ubuntu-latest
88

99
strategy:
1010
fail-fast: false
1111
matrix:
12-
os: [ubuntu-latest, macos-latest, windows-latest]
1312
php: [8.1, 8.2, 8.3, 8.4]
1413
max-parallel: 4
1514

16-
name: Tests PHP${{ matrix.php }} - ${{ matrix.os }}
15+
name: Tests PHP${{ matrix.php }}
1716

1817
steps:
1918

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
/composer.lock
44

55
# PHPUnit
6-
/phpunit.xml
76
.phpunit.result.cache
87

98
# PHP CS Fixer

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
2121
"react/event-loop": "^1.5",
2222
"react/stream": "^1.4",
23-
"symfony/finder": "^7.2"
23+
"symfony/finder": "^6.4 || ^7.2"
2424
},
2525
"require-dev": {
2626
"friendsofphp/php-cs-fixer": "^3.75",

phpunit.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
>
7+
<testsuites>
8+
<testsuite name="Test Suite">
9+
<directory suffix="Test.php">./tests</directory>
10+
</testsuite>
11+
</testsuites>
12+
<source>
13+
<include>
14+
<directory>src</directory>
15+
</include>
16+
</source>
17+
</phpunit>

0 commit comments

Comments
 (0)