Skip to content

Commit 48aa15e

Browse files
committed
php 8.2 support added
1 parent 9a267f4 commit 48aa15e

File tree

4 files changed

+43
-44
lines changed

4 files changed

+43
-44
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
php: [7.4, 8.0, 8.1]
13-
laravel: [8.*, 9.*, 10.*]
14-
dependency-version: [prefer-lowest, prefer-stable]
15-
include:
16-
- laravel: 9.*
17-
testbench: 7.*
18-
- laravel: 8.*
19-
testbench: 6.*
12+
php: [7.4, '8.0', 8.1, 8.2]
13+
laravel: [8, 9, 10]
14+
exclude:
15+
- php: 7.4
16+
laravel: 9
17+
- php: 7.4
18+
laravel: 10
19+
- php: 8.0
20+
laravel: 10
21+
- php: 8.2
22+
laravel: 8
2023

2124
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
2225

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ All notable changes to `laravel-config` will be documented in this file.
33

44
## [Unreleased]
55

6+
## [4.7.0] - 2023-05-11
7+
8+
- PHP 8.2 support added.
9+
610
## [4.6.0] - 2023-02-16
711

812
- Laravel 10 support added.

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
}
3232
],
3333
"require": {
34-
"php": "^7.4|^8.0|^8.1",
34+
"php": "^7.4|^8.0|^8.1|^8.2",
3535
"illuminate/support": "^8.49|^9.0|^10.0",
3636
"laravel/legacy-factories": "^1.0"
3737
},
3838
"require-dev": {
39-
"orchestra/testbench": "^6.13|^7.0",
39+
"orchestra/testbench": "^6.13|^7.0|^8.0",
4040
"phpunit/phpunit": "^9.5.2"
4141
},
4242
"autoload": {

phpunit.xml.dist

Lines changed: 26 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,28 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="vendor/autoload.php"
3-
backupGlobals="false"
4-
backupStaticAttributes="false"
5-
colors="true"
6-
verbose="true"
7-
convertErrorsToExceptions="true"
8-
convertNoticesToExceptions="true"
9-
convertWarningsToExceptions="true"
10-
processIsolation="false"
11-
stopOnFailure="false">
12-
<testsuites>
13-
<testsuite name="Test Suite">
14-
<directory>tests</directory>
15-
</testsuite>
16-
</testsuites>
17-
<filter>
18-
<whitelist>
19-
<directory suffix=".php">src/</directory>
20-
</whitelist>
21-
</filter>
22-
<php>
23-
<env name="DB_CONNECTION" value="mysql"/>
24-
<env name="DB_USERNAME" value="root"/>
25-
<env name="DB_DATABASE" value="laravel_config"/>
26-
<env name="DB_HOST" value="127.0.0.1"/>
27-
<env name="DB_PORT" value="3306"/>
28-
</php>
29-
<logging>
30-
<log type="tap" target="build/report.tap"/>
31-
<log type="junit" target="build/report.junit.xml"/>
32-
<log type="coverage-html" target="build/coverage"/>
33-
<log type="coverage-text" target="build/coverage.txt"/>
34-
<log type="coverage-clover" target="build/logs/clover.xml"/>
35-
</logging>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage>
4+
<include>
5+
<directory suffix=".php">src/</directory>
6+
</include>
7+
<report>
8+
<clover outputFile="build/logs/clover.xml"/>
9+
<html outputDirectory="build/coverage"/>
10+
<text outputFile="build/coverage.txt"/>
11+
</report>
12+
</coverage>
13+
<testsuites>
14+
<testsuite name="Test Suite">
15+
<directory>tests</directory>
16+
</testsuite>
17+
</testsuites>
18+
<php>
19+
<env name="DB_CONNECTION" value="mysql"/>
20+
<env name="DB_USERNAME" value="root"/>
21+
<env name="DB_DATABASE" value="laravel_config"/>
22+
<env name="DB_HOST" value="127.0.0.1"/>
23+
<env name="DB_PORT" value="3306"/>
24+
</php>
25+
<logging>
26+
<junit outputFile="build/report.junit.xml"/>
27+
</logging>
3628
</phpunit>

0 commit comments

Comments
 (0)