diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad3f5c4..b38e843 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,11 +12,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] + php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -25,6 +25,10 @@ jobs: tools: composer:v2 coverage: none + - name: Emulate PHP 8.3 + run: composer config platform.php 8.3.999 + if: matrix.php == '8.4' + - name: Install dependencies run: composer update --prefer-dist --no-interaction --no-progress @@ -36,11 +40,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: ['7.1', '7.4', '8.0', '8.1', '8.2'] + php: ['7.1', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -49,6 +53,10 @@ jobs: tools: composer:v2 coverage: none + - name: Emulate PHP 8.3 + run: composer config platform.php 8.3.999 + if: matrix.php == '8.4' + - name: Install dependencies run: | composer require "sebastian/comparator:^3.0.2" --no-interaction --no-update @@ -63,12 +71,12 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 7.4 + php-version: '7.4' tools: composer:v2 coverage: xdebug diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 83809c2..eead1b7 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -9,6 +9,7 @@ ->setRiskyAllowed(true) ->setRules([ '@Symfony' => true, + 'trailing_comma_in_multiline' => false, ]) ->setFinder($finder) ;