mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-11-25 13:15:21 +00:00
Update support Guzzle 8 and PSR-7 3
This commit is contained in:
+16
-10
@@ -6,8 +6,15 @@ jobs:
|
||||
|
||||
phpstan:
|
||||
|
||||
name: phpstan
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
stack:
|
||||
- { laravel: "^12.0", guzzle: "^7.0" }
|
||||
- { laravel: "^13.0", guzzle: "^7.0" }
|
||||
- { laravel: "^13.0", guzzle: "^8.0" }
|
||||
name: phpstan / Laravel ${{ matrix.stack.laravel }} / Guzzle ${{ matrix.stack.guzzle }}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -20,7 +27,7 @@ jobs:
|
||||
coverage: none
|
||||
|
||||
- name: Install composer dependencies
|
||||
run: composer install --prefer-dist --no-interaction
|
||||
run: composer update --prefer-dist --no-interaction --with "guzzlehttp/guzzle:${{ matrix.stack.guzzle }}" --with "laravel/framework:${{ matrix.stack.laravel }}"
|
||||
|
||||
- name: Run Static Analysis
|
||||
run: ./vendor/bin/phpstan analyse -c phpstan.neon --error-format=github
|
||||
@@ -29,15 +36,14 @@ jobs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php-versions: [ "8.3", "8.4", "8.5" ]
|
||||
guzzle-versions: [ "^7.0", "^8.0" ]
|
||||
include:
|
||||
- guzzle-versions: "^7.0"
|
||||
laravel-version: "^12.0"
|
||||
- guzzle-versions: "^8.0"
|
||||
laravel-version: "^13.0"
|
||||
name: PHP ${{ matrix.php-versions }} / Guzzle ${{ matrix.guzzle-versions }}
|
||||
stack:
|
||||
- { laravel: "^12.0", guzzle: "^7.0" }
|
||||
- { laravel: "^13.0", guzzle: "^7.0" }
|
||||
- { laravel: "^13.0", guzzle: "^8.0" }
|
||||
name: PHP ${{ matrix.php-versions }} / Laravel ${{ matrix.stack.laravel }} / Guzzle ${{ matrix.stack.guzzle }}
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -50,7 +56,7 @@ jobs:
|
||||
coverage: xdebug
|
||||
|
||||
- name: Install composer dependencies
|
||||
run: composer update --prefer-dist --no-interaction --with "guzzlehttp/guzzle:${{ matrix.guzzle-versions }}" --with "laravel/framework:${{ matrix.laravel-version }}"
|
||||
run: composer update --prefer-dist --no-interaction --with "guzzlehttp/guzzle:${{ matrix.stack.guzzle }}" --with "laravel/framework:${{ matrix.stack.laravel }}"
|
||||
|
||||
- name: PHPUnit
|
||||
run: ./vendor/bin/phpunit --configuration=phpunit.xml --coverage-text
|
||||
|
||||
Reference in New Issue
Block a user