Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5bf593d

Browse files
Add support for Laravel 11
1 parent 58561ce commit 5bf593d

File tree

6 files changed

+42
-39
lines changed

6 files changed

+42
-39
lines changed

‎.github/workflows/coverage.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/cache@v4
2323
with:
2424
path: ~/.composer/cache/files
25-
key: dependencies-php-8.3-illuminate-10.*-composer-${{ hashFiles('composer.json') }}
25+
key: dependencies-php-8.3-illuminate-11.*-composer-${{ hashFiles('composer.json') }}
2626

2727
- name: Setup PHP
2828
uses: shivammathur/setup-php@v2

‎.github/workflows/tests.yml‎

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,17 @@ jobs:
1616
strategy:
1717
fail-fast: true
1818
matrix:
19-
php: [ 8.0, 8.1, 8.2, 8.3 ]
20-
illuminate: [ 7.*, ~8.74, ^9.0, ^10.0 ]
19+
php: [ 8.1, 8.2, 8.3 ]
20+
illuminate: [ ^10.0, ^11.0 ]
2121
stability: [ prefer-lowest, prefer-stable ]
2222
include:
23-
- illuminate: 7.*
24-
testbench: 5.*
25-
- illuminate: ~8.74
26-
testbench: 6.*
27-
- illuminate: ^9.0
28-
testbench: 7.*
2923
- illuminate: ^10.0
3024
testbench: 8.*
25+
- illuminate: ^11.0
26+
testbench: 9.*
3127
exclude:
3228
- php: 8.1
33-
illuminate: 7.*
34-
- php: 8.0
35-
illuminate: ^10.0
36-
- php: 8.2
37-
illuminate: 7.*
38-
- php: 8.2
39-
illuminate: ~8.74
40-
- php: 8.3
41-
illuminate: 7.*
42-
- php: 8.3
43-
illuminate: ~8.74
29+
illuminate: ^11.0
4430

4531
name: P${{ matrix.php }} - I${{ matrix.illuminate }} - ${{ matrix.stability }}
4632

‎.gitignore‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
/.idea
22
vendor
3-
/composer.lock
3+
composer.lock
44
composer.phar
55
clover.json
66
clover.xml
77
.phpunit.result.cache
8+
.phpunit.cache/

‎CHANGELOG.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
## [Unreleased](https://github.com/markwalet/laravel-changelog/compare/v1.9.0...master)
44

5+
### Added
6+
- Added support for Laravel 11
7+
8+
### Removed
9+
- Removed support for PHP 8.0
10+
- Removed support for Laravel 7
11+
- Removed support for Laravel 8
12+
- Removed support for Laravel 9
13+
14+
### Changed
15+
- Upgraded to PHPUnit 10.
16+
517
## [v1.9.0 (2023年12月02日)](https://github.com/markwalet/laravel-changelog/compare/v1.8.0...v1.9.0)
618

719
### Added

‎composer.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
],
1212
"require": {
1313
"php": "8.*",
14-
"laravel/framework": "7.*|~8.74|^9.0|^10.0|^11.0",
14+
"laravel/framework": "^10.0|^11.0",
1515
"markwalet/laravel-git-state": "~1.0",
1616
"ext-simplexml": "*",
1717
"ext-dom": "*"
1818
},
1919
"require-dev": {
20-
"phpunit/phpunit": "~9.3",
20+
"phpunit/phpunit": "^10.5",
2121
"mockery/mockery": "~1.4",
22-
"orchestra/testbench": "5.*|6.*|7.*|8.*"
22+
"orchestra/testbench": "8.*|9.*"
2323
},
2424
"autoload": {
2525
"psr-4": {

‎phpunit.xml‎

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
bootstrap="vendor/autoload.php"
4+
backupGlobals="false"
45
colors="true"
5-
verbose="true"
6-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
7-
<coverage processUncoveredFiles="true">
8-
<include>
9-
<directory suffix=".php">./src</directory>
10-
</include>
11-
<exclude>
12-
<directory suffix=".php">./src/Exceptions/*</directory>
13-
</exclude>
14-
</coverage>
15-
<testsuites>
16-
<testsuite name="Changelog Test Suite">
17-
<directory>./tests/</directory>
18-
</testsuite>
19-
</testsuites>
6+
processIsolation="false"
7+
stopOnFailure="false"
8+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
9+
cacheDirectory=".phpunit.cache"
10+
backupStaticProperties="false">
11+
<testsuites>
12+
<testsuite name="Changelog Test Suite">
13+
<directory suffix="Test.php">./tests/</directory>
14+
</testsuite>
15+
</testsuites>
16+
<source>
17+
<include>
18+
<directory suffix=".php">./src</directory>
19+
</include>
20+
<exclude>
21+
<directory suffix=".php">./src/Exceptions/*</directory>
22+
</exclude>
23+
</source>
2024
</phpunit>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /