Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,22 @@ jobs:

strategy:
matrix:
php: ["8.1", "8.2"]
php: ["8.1", "8.2", "8.3", "8.4"]
composer_flags:
- '--prefer-lowest'
- ''

runs-on: ubuntu-latest
container:
image: eventjet/checks-${{ matrix.php }}:latest

steps:
- name: Checkout
uses: actions/checkout@v3

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

- name: Prepare environment
run: |
echo "COMPOSER_CACHE=$(composer config cache-dir)" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion tests/RulesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ final class RulesTest extends TestCase
private static function phpCsFixerCommand(string $file): string
{
return sprintf(
'%s/../vendor/bin/php-cs-fixer fix --dry-run --config %s/php-cs-fixer-config.php %s',
'PHP_CS_FIXER_IGNORE_ENV=1 %s/../vendor/bin/php-cs-fixer fix --dry-run --config %s/php-cs-fixer-config.php %s',
__DIR__,
__DIR__,
$file
Expand Down
Loading