Skip to content

Commit 83ec71a

Browse files
committed
update php, laravel & phpunit versions
1 parent 0ab0e64 commit 83ec71a

File tree

5 files changed

+22
-20
lines changed

5 files changed

+22
-20
lines changed

.github/workflows/phpstan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: phpstan
22

3-
on: [ push, pull_request ]
3+
on: [push, pull_request]
44

55
jobs:
66
analyze:
@@ -15,7 +15,7 @@ jobs:
1515
- name: 🏗 Setup PHP
1616
uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: '8.3'
18+
php-version: "8.4"
1919
coverage: none
2020
tools: phpstan
2121

.github/workflows/pint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: pint
22

3-
on: [ push, pull_request ]
3+
on: [push, pull_request]
44

55
jobs:
66
analyze:
@@ -15,7 +15,7 @@ jobs:
1515
- name: 🏗 Setup PHP
1616
uses: shivammathur/setup-php@v2
1717
with:
18-
php-version: '8.3'
18+
php-version: "8.4"
1919
coverage: none
2020
tools: laravel/pint
2121

.github/workflows/tests.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,15 @@ jobs:
1010
fail-fast: true
1111
matrix:
1212
os: [ubuntu-latest]
13-
php: [8.1, 8.2, 8.3]
13+
php: [8.2, 8.3, 8.4]
1414
stability: [prefer-stable]
15-
laravel: [10.*, 11.*]
15+
laravel: [11.*, 12.*]
1616
include:
17-
- laravel: 10.*
18-
testbench: 8.*
19-
2017
- laravel: 11.*
2118
testbench: 9.*
22-
exclude:
23-
- php: 8.1
24-
laravel: 11.*
19+
20+
- laravel: 12.*
21+
testbench: 10.*
2522

2623
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2724

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
}
2020
],
2121
"require": {
22-
"php": "^8.1"
22+
"php": "^8.2"
2323
},
2424
"require-dev": {
25-
"larastan/larastan": "^2.0",
26-
"orchestra/testbench": "^8.0 || ^9.0",
27-
"phpstan/phpstan": "^1.0",
28-
"phpunit/phpunit": "^10.0"
25+
"larastan/larastan": "^3.0",
26+
"orchestra/testbench": "^9.0 || ^10.0",
27+
"phpstan/phpstan": "^2.0",
28+
"phpunit/phpunit": "^11.0"
2929
},
3030
"minimum-stability": "stable",
3131
"prefer-stable": true,
@@ -49,4 +49,4 @@
4949
]
5050
}
5151
}
52-
}
52+
}

phpunit.coverage.dist.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd"
44
bootstrap="vendor/autoload.php"
55
backupGlobals="false"
66
colors="true"
77
stopOnFailure="false"
88
cacheDirectory=".phpunit.cache"
99
backupStaticProperties="false"
1010
>
11-
<coverage>
11+
<source>
1212
<include>
1313
<directory suffix=".php">src</directory>
1414
</include>
15+
</source>
16+
<coverage includeUncoveredFiles="true"
17+
pathCoverage="false"
18+
ignoreDeprecatedCodeUnits="true"
19+
disableCodeCoverageIgnore="true">
1520
<report>
1621
<clover outputFile="clover.xml"/>
1722
</report>

0 commit comments

Comments
 (0)