Skip to content

Commit a76fc90

Browse files
authored
Add support for Laravel 11 (#12)
1 parent e093f8d commit a76fc90

File tree

3 files changed

+25
-17
lines changed

3 files changed

+25
-17
lines changed

Diff for: .github/workflows/run-tests.yml

+20-11
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
php: [ 8.0, 8.1 ]
12-
laravel: [ 8.*, 9.*, 10.* ]
11+
php: [ 8.0, 8.1, 8.2, 8.3 ]
12+
laravel: [ 8.*, 9.*, 10.*, 11.* ]
1313
dependency-version: [ prefer-stable ]
1414
include:
1515
- laravel: 5.7.*
@@ -40,9 +40,25 @@ jobs:
4040
- laravel: 10.*
4141
php: 8.1
4242
testbench: 8.*
43+
- laravel: 10.*
44+
php: 8.2
45+
testbench: 8.*
46+
- laravel: 10.*
47+
php: 8.3
48+
testbench: 8.*
49+
- laravel: 11.*
50+
php: 8.2
51+
testbench: 9.*
52+
- laravel: 11.*
53+
php: 8.3
54+
testbench: 9.*
4355
exclude:
4456
- laravel: 10.*
4557
php: 8.0
58+
- laravel: 11.*
59+
php: 8.0
60+
- laravel: 11.*
61+
php: 8.1
4662

4763
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
4864

@@ -62,19 +78,12 @@ jobs:
6278
php-version: ${{ matrix.php }}
6379
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
6480
coverage: xdebug
65-
81+
6682
- name: Allow kylekatarnls/update-helper plugin to run
6783
run: composer config --no-plugins allow-plugins.kylekatarnls/update-helper true
6884

6985
- name: Install dependencies
7086
run: composer update --with="illuminate/support:${{ matrix.laravel }}" --with="orchestra/testbench:${{ matrix.testbench }}" --prefer-dist --no-interaction --no-progress
7187

7288
- name: Execute tests
73-
run: vendor/bin/phpunit --coverage-clover=coverage.xml
74-
75-
- if: github.event_name == 'push'
76-
name: Run Codacy Coverage Reporter
77-
uses: codacy/codacy-coverage-reporter-action@master
78-
with:
79-
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
80-
coverage-reports: coverage.xml
89+
run: vendor/bin/phpunit

Diff for: README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
# Laravel StageFront
22

33
[![GitHub release](https://img.shields.io/github/release/codezero-be/laravel-stagefront.svg?style=flat-square)](https://github.com/codezero-be/laravel-stagefront/releases)
4-
[![Laravel](https://img.shields.io/badge/laravel-10-red?style=flat-square&logo=laravel&logoColor=white)](https://laravel.com)
4+
[![Laravel](https://img.shields.io/badge/laravel-11-red?style=flat-square&logo=laravel&logoColor=white)](https://laravel.com)
55
[![License](https://img.shields.io/packagist/l/codezero/laravel-stagefront.svg?style=flat-square)](LICENSE.md)
66
[![Build Status](https://img.shields.io/github/actions/workflow/status/codezero-be/laravel-stagefront/run-tests.yml?style=flat-square&logo=github&logoColor=white&label=tests)](https://github.com/codezero-be/laravel-stagefront/actions)
7-
[![Code Coverage](https://img.shields.io/codacy/coverage/a5db8a1321664e67900c96eadc575ece/master?style=flat-square)](https://app.codacy.com/gh/codezero-be/laravel-stagefront)
87
[![Code Quality](https://img.shields.io/codacy/grade/a5db8a1321664e67900c96eadc575ece/master?style=flat-square)](https://app.codacy.com/gh/codezero-be/laravel-stagefront)
98
[![Total Downloads](https://img.shields.io/packagist/dt/codezero/laravel-stagefront.svg?style=flat-square)](https://packagist.org/packages/codezero/laravel-stagefront)
109

Diff for: composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
],
1717
"require": {
1818
"php": "^7.1|^8.0",
19-
"codezero/dotenv-updater": "^1.1",
20-
"illuminate/support": "^5.7|^6.0|^7.0|^8.0|^9.0|^10.0"
19+
"codezero/dotenv-updater": "^1.1|^2.0",
20+
"illuminate/support": "^5.7|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0"
2121
},
2222
"require-dev": {
23-
"orchestra/testbench": "^3.7|^4.0|^5.0|^6.0|^7.0|^8.0",
24-
"phpunit/phpunit": "^7.0|^8.0|^9.0"
23+
"orchestra/testbench": "^3.7|^4.0|^5.0|^6.0|^7.0|^8.0|^9.0",
24+
"phpunit/phpunit": "^7.0|^8.0|^9.0|^10.0"
2525
},
2626
"scripts": {
2727
"test": "phpunit"

0 commit comments

Comments
 (0)