Skip to content

Commit c44d811

Browse files
authored
bump laravel to latest (#17)
1 parent f6a8a73 commit c44d811

File tree

4 files changed

+34
-39
lines changed

4 files changed

+34
-39
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
extensions: '${{ env.php_extensions }}'
3535
key: '${{ env.key }}'
3636
- name: 'Cache extensions'
37-
uses: actions/cache@v1
37+
uses: actions/cache@v4
3838
with:
3939
path: '${{ steps.cache-env.outputs.dir }}'
4040
key: '${{ steps.cache-env.outputs.key }}'
@@ -65,18 +65,12 @@ jobs:
6565
operating_system:
6666
- ubuntu-latest
6767
redis_version:
68-
- '4.0'
6968
- '5.0'
7069
- '6.0'
7170
php_versions:
72-
- '8.0'
73-
laravel: ['^9.0']
71+
- '8.1'
72+
laravel: ['^10.0']
7473
include:
75-
- operating_system: ubuntu-latest
76-
redis_version: '6.0'
77-
php_versions: '8.1'
78-
laravel: '^9.0'
79-
experimental: false
8074
- operating_system: ubuntu-latest
8175
redis_version: '6.0'
8276
php_versions: '8.2'
@@ -86,6 +80,17 @@ jobs:
8680
redis_version: '6.0'
8781
php_versions: '8.3'
8882
laravel: '^11.0'
83+
experimental: false
84+
- operating_system: ubuntu-latest
85+
redis_version: '6.0'
86+
php_versions: '8.3'
87+
laravel: '^12.0'
88+
experimental: false
89+
- operating_system: ubuntu-latest
90+
redis_version: '6.0'
91+
php_versions: '8.4'
92+
laravel: '^12.0'
93+
experimental: false
8994
runs-on: '${{ matrix.operating_system }}'
9095
services:
9196
redis:
@@ -111,7 +116,7 @@ jobs:
111116
extensions: ${{ env.php_extensions }}
112117
key: '${{ env.key }}'
113118
- name: 'Cache extensions'
114-
uses: actions/cache@v1
119+
uses: actions/cache@v4
115120
with:
116121
path: '${{ steps.cache-env.outputs.dir }}'
117122
key: '${{ steps.cache-env.outputs.key }}'

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@
3434
"php": "^8.0",
3535
"ext-json": "*",
3636
"ext-redis": "*",
37-
"laravel/framework": "^9.0|^10.0|^11.0"
37+
"laravel/framework": "^9.0|^10.0|^11.0|^12.0"
3838
},
3939
"require-dev": {
4040
"umbrellio/code-style-php": "^1.0",
41-
"phpunit/phpunit": "^8.3|^9.0|^10.0",
41+
"phpunit/phpunit": "^9.0|^10.0|^11.0",
4242
"php-coveralls/php-coveralls": "^2.1",
4343
"symplify/easy-coding-standard": "^9.3.15",
44-
"orchestra/testbench": "^7.0|^8.0|^9.0"
44+
"orchestra/testbench": "^7.0|^8.0|^9.0|^10.0"
4545
},
4646
"scripts": {
4747
"lint": [

phpunit.github.xml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
bootstrap="vendor/autoload.php"
4-
colors="true"
5-
processIsolation="false"
6-
stopOnFailure="false"
7-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
8-
cacheDirectory=".phpunit.cache"
9-
>
10-
<coverage>
11-
<include>
12-
<directory suffix=".php">./src</directory>
13-
</include>
14-
</coverage>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true"
3+
processIsolation="false" stopOnFailure="false"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd" cacheDirectory=".phpunit.cache">
155
<testsuites>
166
<testsuite name="Test suite">
177
<directory suffix="Test.php">./tests</directory>
188
</testsuite>
199
</testsuites>
10+
<source>
11+
<include>
12+
<directory suffix=".php">./src</directory>
13+
</include>
14+
</source>
2015
</phpunit>

phpunit.xml.dist

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
bootstrap="vendor/autoload.php"
4-
colors="true"
5-
processIsolation="false"
6-
stopOnFailure="false"
7-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
8-
cacheDirectory=".phpunit.cache"
9-
>
10-
<coverage>
11-
<include>
12-
<directory suffix=".php">./src</directory>
13-
</include>
14-
</coverage>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true"
3+
processIsolation="false" stopOnFailure="false"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd" cacheDirectory=".phpunit.cache">
155
<testsuites>
166
<testsuite name="Test suite">
177
<directory suffix="Test.php">./tests</directory>
188
</testsuite>
199
</testsuites>
10+
<source>
11+
<include>
12+
<directory suffix=".php">./src</directory>
13+
</include>
14+
</source>
2015
</phpunit>

0 commit comments

Comments
 (0)