Skip to content

Commit

Permalink
Add Laravel 11 support (#60)
Browse files Browse the repository at this point in the history
* Update composer.json

* bump up symfony/finder to v7

* update composer

* Update run-tests.yml

* Update run-tests.yml

* Update run-tests.yml

* test push to pr

* Update run-tests.yml

* Update run-tests.yml

* remove php from include

* Update run-tests.yml

* Update run-tests.yml

* Update run-tests.yml

* Update run-tests.yml

* carbon

---------

Co-authored-by: Mark van Eijk <[email protected]>
  • Loading branch information
atmonshi and markvaneijk authored Mar 1, 2024
1 parent 4cc38ea commit 847ca2a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2, 8.1]
laravel: [10.*]
php: [8.1, 8.2]
laravel: [10.*, 11.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
carbon: ^2.63
- laravel: 11.*
testbench: 9.*
carbon: ^2.72.2
exclude:
- laravel: 11.*
php: 8.1

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

Expand All @@ -44,8 +50,5 @@ jobs:
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: List Installed Dependencies
run: composer show -D

- name: Execute tests
run: vendor/bin/pest --ci
run: vendor/bin/pest --ci
15 changes: 7 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,26 @@
"require": {
"php": "^8.1",
"guzzlehttp/guzzle": "^7.5",
"illuminate/contracts": "^9.0|^10.0",
"illuminate/contracts": "^9.0|^10.0|^11.0",
"j0k3r/php-readability": "^2.0",
"jeremykendall/php-domain-parser": "^6.3",
"spatie/browsershot": "^3.0|^4.0",
"spatie/laravel-package-tools": "^1.13",
"symfony/dom-crawler": "^6.2",
"symfony/finder": "^6.2",
"symfony/finder": "^6.2|^7.0",
"vipnytt/robotstxtparser": "^2.1"
},
"require-dev": {
"laravel/pint": "^1.0",
"nunomaduro/collision": "^6.0",
"nunomaduro/collision": "^6.0|^7.0|^8.0",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^7.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.1",
"pestphp/pest-plugin-parallel": "^1.2",
"orchestra/testbench": "^7.0|^8.0|^9.0",
"pestphp/pest": "^1.0|^2.34",
"pestphp/pest-plugin-laravel": "^1.0|^2.3",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^9.5"
"phpunit/phpunit": "^9.5|^10.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 847ca2a

Please sign in to comment.