Skip to content

Update dependency kubawerlos/php-cs-fixer-custom-fixers to v3.22.0 #36

Update dependency kubawerlos/php-cs-fixer-custom-fixers to v3.22.0

Update dependency kubawerlos/php-cs-fixer-custom-fixers to v3.22.0 #36

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: Setup PHP
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # 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