Skip to content

Commit

Permalink
Merge pull request #44 from tanhongit/develop
Browse files Browse the repository at this point in the history
Laravel 11.x Support
  • Loading branch information
mytruong-z authored Mar 18, 2024
2 parents fc35ada + 4252e92 commit ec671ba
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@ on: [push, pull_request]

jobs:
phpstan:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
name: PHPStan - P${{ matrix.php }}

strategy:
matrix:
os: [ ubuntu-latest ]
php: [ '8.1', '8.2', '8.3' ]

steps:
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@2.26.0
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: ${{ matrix.php }}

- name: Checkout code
uses: actions/checkout@v4
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/setup_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ jobs:
matrix:
os: [ ubuntu-latest ]
php: [ '8.1', '8.2', '8.3' ]
laravel: [ 10.*, 9.* ]
laravel: [ 11.*, 10.*, 9.* ]
include:
- laravel: 11.*
testbench: 9.*
- laravel: 10.*
testbench: 8.*
exclude:
- laravel: 11.*
php: 8.1
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
"php": "^8.1",
"eleirbag89/telegrambotphp": "^1.4",
"guzzlehttp/guzzle": "^7.8",
"symfony/http-foundation": "^6.3",
"vlucas/phpdotenv": "^5.5"
"symfony/http-foundation": "^6.4",
"vlucas/phpdotenv": "^5.6"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^v3.37.1",
"friendsofphp/php-cs-fixer": "^v3.0",
"pestphp/pest": "^2.24",
"phpstan/phpstan": "^1.10.39"
"phpstan/phpstan": "^1.0"
},
"scripts": {
"analyse": "vendor/bin/phpstan",
Expand Down

0 comments on commit ec671ba

Please sign in to comment.