Skip to content

Commit be5d1b5

Browse files
committed
Add support for Laravel 11
1 parent e093f8d commit be5d1b5

File tree

3 files changed

+19
-16
lines changed

3 files changed

+19
-16
lines changed

.github/workflows/run-tests.yml

+14-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,19 @@ jobs:
4040
- laravel: 10.*
4141
php: 8.1
4242
testbench: 8.*
43+
- laravel: 11.*
44+
php: 8.2
45+
testbench: 9.*
46+
- laravel: 11.*
47+
php: 8.3
48+
testbench: 9.*
4349
exclude:
4450
- laravel: 10.*
4551
php: 8.0
52+
- laravel: 11.*
53+
php: 8.0
54+
- laravel: 11.*
55+
php: 8.1
4656

4757
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
4858

@@ -62,19 +72,12 @@ jobs:
6272
php-version: ${{ matrix.php }}
6373
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
6474
coverage: xdebug
65-
75+
6676
- name: Allow kylekatarnls/update-helper plugin to run
6777
run: composer config --no-plugins allow-plugins.kylekatarnls/update-helper true
6878

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

7282
- 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
83+
run: vendor/bin/phpunit

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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)
77
[![Code Coverage](https://img.shields.io/codacy/coverage/a5db8a1321664e67900c96eadc575ece/master?style=flat-square)](https://app.codacy.com/gh/codezero-be/laravel-stagefront)

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)