Skip to content

Commit c2c6b1d

Browse files
authored
feat: add laravel 10 support (#2569)
1 parent a8861b2 commit c2c6b1d

File tree

4 files changed

+11
-22
lines changed

4 files changed

+11
-22
lines changed

.github/workflows/phpstan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: '8.0'
19+
php-version: '8.1'
2020
coverage: none
2121

2222
- name: Install composer dependencies

.github/workflows/run-tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest, windows-latest]
12-
php: [8.0, 8.1]
13-
laravel: [^9.0]
12+
php: [8.1]
13+
laravel: [^10.0]
1414
stability: [prefer-stable]
1515
include:
16-
- laravel: ^9.0
17-
testbench: ^7.0
16+
- laravel: ^10.0
17+
testbench: ^8.0
1818

1919
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2020

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
}
1818
],
1919
"require": {
20-
"php": "^8.0",
21-
"illuminate/support": "^9.0",
20+
"php": "^8.0|^8.1",
21+
"illuminate/support": "^9.0|^10.0",
2222
"opis/closure": "^3.6"
2323
},
2424
"require-dev": {
25-
"brianium/paratest": "^6.2",
26-
"nunomaduro/collision": "^6.0",
25+
"brianium/paratest": "^6.2|^7.0.6",
26+
"nunomaduro/collision": "^5.3|^6.1|^7.0",
2727
"nunomaduro/larastan": "^2.0",
28-
"orchestra/testbench": "^7.0",
28+
"orchestra/testbench": "^8.0",
2929
"phpstan/extension-installer": "^1.1",
30-
"phpunit/phpunit": "^9.5",
30+
"phpunit/phpunit": "^10.0",
3131
"spatie/laravel-ray": "^1.9",
3232
"spatie/test-time": "^1.2"
3333
},

phpunit.xml.dist

-11
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit bootstrap="vendor/autoload.php"
33
backupGlobals="false"
4-
backupStaticAttributes="false"
54
colors="true"
6-
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
115
stopOnFailure="false">
126
<testsuites>
137
<testsuite name="BinarCode Test Suite">
148
<directory>tests</directory>
159
</testsuite>
1610
</testsuites>
17-
<filter>
18-
<whitelist>
19-
<directory suffix=".php">src/</directory>
20-
</whitelist>
21-
</filter>
2211
</phpunit>

0 commit comments

Comments
 (0)