Skip to content

Commit f467259

Browse files
Feature/support laravel 11 (#18)
* Support Laravel 11
1 parent a0f8c9d commit f467259

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

.github/workflows/coverage.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
coverage: xdebug
2323

2424
- name: Install dependencies
25-
run: composer install --prefer-dist --no-progress
25+
run: |
26+
composer install --prefer-dist --no-progress
27+
composer require --dev scrutinizer/ocular
2628
2729
- name: Test coverage
2830
run: |

.github/workflows/run-tests.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
matrix:
1111
os: [ubuntu-latest]
1212
php: [8.1, 8.2, 8.3]
13-
laravel: [9.*, 10.*]
13+
laravel: [9.*, 10.*, 11.*]
1414
stability: [prefer-stable]
1515
include:
1616
- laravel: 9.*
@@ -22,12 +22,19 @@ jobs:
2222
testbench: 8.*
2323
illuminate-contracts: 10.*
2424
pestphp: 2.*
25+
- laravel: 11.*
26+
testbench: 9.*
27+
illuminate-contracts: 11.*
28+
pestphp: 2.*
29+
exclude:
30+
- laravel: 11.*
31+
php: 8.1
2532

2633
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
2734

2835
steps:
2936
- name: Checkout code
30-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3138

3239
- name: Setup PHP
3340
uses: shivammathur/setup-php@v2

bin/qa.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env bash
22
printf "\nRun PHPMD\n"
3-
# disabled for now @see: https://github.com/pdepend/pdepend/issues/695
4-
#./vendor/bin/phpmd src/ text phpmd-ruleset.xml
3+
./vendor/bin/phpmd src/ text phpmd-ruleset.xml
54

65
printf "\nRun PHPStan\n"
76
composer analyse

composer.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"require": {
2020
"php": "^8.1",
2121
"guzzlehttp/guzzle": "^7.4",
22-
"illuminate/contracts": "^9.0|^10.0",
23-
"nunomaduro/termwind": "^1.10",
22+
"illuminate/contracts": "^9.0|^10.0|^11.0",
23+
"nunomaduro/termwind": "^1.10|^2.0",
2424
"spatie/laravel-package-tools": "^1.9.2"
2525
},
2626
"require-dev": {
@@ -33,9 +33,8 @@
3333
"phpstan/phpstan": "^1.8",
3434
"phpstan/phpstan-deprecation-rules": "^1.0",
3535
"phpstan/phpstan-phpunit": "^1.0",
36-
"scrutinizer/ocular": "^1.9",
3736
"spatie/laravel-ray": "^1.26",
38-
"timacdonald/log-fake": "^2.0"
37+
"timacdonald/log-fake": "^2.2"
3938
},
4039
"autoload": {
4140
"psr-4": {

0 commit comments

Comments
 (0)