Skip to content

[dev] make git hooks executable in task command #265

[dev] make git hooks executable in task command

[dev] make git hooks executable in task command #265

Workflow file for this run

name: PHPCS
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
phpcs:
name: PHP CS Fixer
runs-on: ubuntu-latest
strategy:
matrix:
php-versions:
- '8.1'
- '8.2'
- '8.3'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Install Composer dependencies
uses: ramsey/composer-install@v3
- name: PHP CS Fixer
run: PHP_CS_FIXER_IGNORE_ENV=1 php vendor/bin/php-cs-fixer fix --dry-run -v --diff