Skip to content

Commit 3485954

Browse files
feat: add PHP 8.3 to ci tests (#14)
* feat: add PHP 8.3 to ci tests * feat: add PHP 8.3 to ci tests
1 parent b3a6c25 commit 3485954

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/ci.yml

+14-3
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,19 @@ jobs:
1616
php: [ 8.1, 8.2 ]
1717
laravel: [ 8.*, 9.*, 10.* ]
1818
stability: [ prefer-stable ]
19+
experimental: [ false ]
1920
include:
2021
- laravel: 8.*
2122
testbench: 6.*
2223
- laravel: 9.*
2324
testbench: 7.*
2425
- laravel: 10.*
2526
testbench: 8.*
26-
exclude:
27-
- laravel: 10.*
28-
php: 8.0
27+
- php: 8.3
28+
laravel: 10.*
29+
testbench: 8.*
30+
stability: prefer-stable
31+
experimental: true
2932

3033
name: PHP ${{ matrix.php }} - L${{ matrix.laravel }}
3134
steps:
@@ -38,10 +41,17 @@ jobs:
3841
php-version: ${{ matrix.php }}
3942

4043
- name: Install dependencies
44+
if: "${{ matrix.experimental == false }}"
4145
run: |
4246
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update --dev
4347
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4448
49+
- name: Install dependencies (experimental)
50+
if: "${{ matrix.experimental == true }}"
51+
run: |
52+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update --dev --ignore-platform-reqs
53+
composer update --${{ matrix.stability }} --prefer-dist --no-interaction --ignore-platform-reqs
54+
4555
- name: Setup problem matchers for PHP
4656
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
4757

@@ -55,6 +65,7 @@ jobs:
5565
run: vendor/bin/phpstan analyse
5666

5767
- name: Static analysis with Psalm
68+
if: "${{ matrix.experimental == false }}"
5869
run: vendor/bin/psalm
5970

6071
- name: Coding style PSR12 Check

phpstan.neon

+2
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ parameters:
44
level: 8
55
excludePaths:
66
- src/BaseOpenIDConnectClient.php
7+
includes:
8+
- phar://phpstan.phar/conf/bleedingEdge.neon

0 commit comments

Comments
 (0)