Skip to content

Commit

Permalink
Merge pull request #70 from laravel-shift/l11-compatibility
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
lepikhinb committed Mar 13, 2024
2 parents a23ae2f + 7b253a0 commit bb37602
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 48 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -8,30 +8,46 @@ env:
on:
push:
pull_request:
branches: [master]
branches:
- master

jobs:
pest:
name: Tests (Pest) L${{ matrix.laravel }}


runs-on: ubuntu-latest

strategy:
matrix:
laravel: [8, 9]
laravel: [8, 9, '11']


steps:
- uses: actions/checkout@v2


- name: Install composer dependencies
run: composer require "illuminate/support:^${{ matrix.laravel }}.0"


- name: Run tests
run: vendor/bin/pest

phpstan:
name: Static analysis (PHPStan)


runs-on: ubuntu-latest


steps:
- uses: actions/checkout@v2


- name: Install composer dependencies
run: composer install


- name: Run phpstan
run: vendor/bin/phpstan analyse
92 changes: 46 additions & 46 deletions composer.json
@@ -1,49 +1,49 @@
{
"name": "based/momentum-modal",
"description": "Build dynamic modal dialogs for your Inertia-powered Laravel apps",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Boris Lepikhin",
"email": "[email protected]"
"name": "based/momentum-modal",
"description": "Build dynamic modal dialogs for your Inertia-powered Laravel apps",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Boris Lepikhin",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Momentum\\Modal\\": "src/",
"Momentum\\Modal\\Tests\\": "tests/"
}
},
"autoload-dev": {
"psr-4": {
"Momentum\\Modal\\Tests\\": "tests/"
}
},
"require": {
"php": "^8.0",
"illuminate/support": "^8.24|^9.0|^10.0|^11.0",
"inertiajs/inertia-laravel": "^0.6"
},
"require-dev": {
"orchestra/testbench": "^6.9|^7.0|^9.0",
"nunomaduro/larastan": "^1.0|^2.0",
"pestphp/pest": "^1.2|^2.34",
"pestphp/pest-plugin-laravel": "^1.0|^2.3",
"laravel/pint": "^0.1.3|^1.13"
},
"extra": {
"laravel": {
"providers": [
"Momentum\\Modal\\ModalServiceProvider"
]
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
}
],
"autoload": {
"psr-4": {
"Momentum\\Modal\\": "src/",
"Momentum\\Modal\\Tests\\": "tests/"
}
},
"autoload-dev": {
"psr-4": {
"Momentum\\Modal\\Tests\\": "tests/"
}
},
"require": {
"php": "^8.0",
"illuminate/support": "^8.24|^9.0|^10.0",
"inertiajs/inertia-laravel": "^0.6"
},
"require-dev": {
"orchestra/testbench": "^6.9|^7.0",
"nunomaduro/larastan": "^1.0|^2.0",
"pestphp/pest": "^1.2",
"pestphp/pest-plugin-laravel": "^1.0",
"laravel/pint": "^0.1.3"
},
"extra": {
"laravel": {
"providers": [
"Momentum\\Modal\\ModalServiceProvider"
]
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
}
}

0 comments on commit bb37602

Please sign in to comment.