Skip to content

Commit

Permalink
Merge 25de72c into 8809c2a
Browse files Browse the repository at this point in the history
  • Loading branch information
brettmc authored Oct 5, 2023
2 parents 8809c2a + 25de72c commit d9f8023
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ jobs:
strategy:
fail-fast: false
matrix:
php-version: ['7.4', '8.0', '8.1']
php-version: ['7.4', '8.0', '8.1', '8.2']
experimental: [false]
composer_args: [""]
include:
- php-version: 8.2
- php-version: 8.3
experimental: true
composer_args: "--ignore-platform-reqs"
dummy: true

steps:
- uses: actions/checkout@v3
Expand All @@ -44,22 +47,25 @@ jobs:
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest
run: composer install --prefer-dist --no-progress --no-suggest ${{ matrix.composer_args }}

- name: Check Style
continue-on-error: ${{ matrix.experimental }}
env:
PHP_CS_FIXER_IGNORE_ENV: 1
run: vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --dry-run --stop-on-violation --using-cache=no -vvv

- name: Check Dependencies
run: vendor/bin/deptrac --formatter=github-actions --report-uncovered

- name: Run Phan
env:
XDEBUG_MODE: off
PHAN_DISABLE_XDEBUG_WARN: 1
run: vendor/bin/phan

- name: Run Psalm
run: vendor/bin/psalm --output-format=github --php-version=${{ matrix.php-version }}
run: vendor/bin/psalm --output-format=github

- name: Run Phpstan
run: vendor/bin/phpstan analyse --error-format=github
Expand Down
2 changes: 0 additions & 2 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,3 @@
require_once __DIR__ . '/../vendor/autoload.php';

BypassFinals::enable();

assert_options(ASSERT_ACTIVE, true);

0 comments on commit d9f8023

Please sign in to comment.