Skip to content

Updated PHP-CS-fixer and PHP-Stan configurations. #14

Updated PHP-CS-fixer and PHP-Stan configurations.

Updated PHP-CS-fixer and PHP-Stan configurations. #14

name: Twig-CS-Fixer
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
coverage: none
- name: Install dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Run Twig-CS-Fixer
run: vendor/bin/twig-cs-fixer lint --config=.twig-cs-fixer.php