Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 11.x Compatibility #70

Merged
merged 2 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
}
}
}