Skip to content

Update dependency friendsofphp/php-cs-fixer to v3.64.0 #26

Update dependency friendsofphp/php-cs-fixer to v3.64.0

Update dependency friendsofphp/php-cs-fixer to v3.64.0 #26

Workflow file for this run

name: Code Style
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
php-cs-fixer:
runs-on: ubuntu-latest
timeout-minutes: 10
if: github.event.pull_request.draft == false
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Setup PHP
uses: shivammathur/setup-php@c665c7a15b5295c2488ac8a87af9cb806cd72198 # v2
with:
php-version: 8.1
coverage: none # disable xdebug, pcov
tools: cs2pr
- name: Composer install
uses: ramsey/composer-install@v3
- name: Run php-cs-fixer
run: vendor/bin/php-cs-fixer check --ansi --diff --format=checkstyle | cs2pr