Skip to content

Build(deps-dev): Bump friendsofphp/php-cs-fixer from 3.59.3 to 3.65.0 #6303

Build(deps-dev): Bump friendsofphp/php-cs-fixer from 3.59.3 to 3.65.0

Build(deps-dev): Bump friendsofphp/php-cs-fixer from 3.59.3 to 3.65.0 #6303

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
env:
REQUIRED_PHP_EXTENSIONS: redis
permissions:
contents: read
jobs:
test:
name: PHP ${{ matrix.php-version }}
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- '8.1'
- '8.2'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: ${{ env.REQUIRED_PHP_EXTENSIONS }}
coverage: pcov
tools: composer:v2
- name: Add PHPUnit matcher
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Install Composer dependencies (locked)
uses: ramsey/composer-install@v3
- name: Run Tests with coverage
run: make coverage
- name: Send coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: build/logs/clover.xml
twig:
name: Check Twig syntax
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: ${{ env.REQUIRED_PHP_EXTENSIONS }}
coverage: pcov
tools: composer:v2
- name: Install Composer dependencies (locked)
uses: ramsey/composer-install@v3
- name: Validate Twig syntax
run: bin/console lint:twig templates/