Skip to content

winp

winp #8

Workflow file for this run

name: PHP CS Fixer
on:
push:
paths:
- '**/*.php'
pull_request:
paths:
- '**/*.php'
jobs:
php-cs-fixer:
name: PHP CS Fixer
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer
- name: Install dependencies
run: composer install --no-progress --prefer-dist
- name: Run PHP CS Fixer
run: vendor/bin/php-cs-fixer fix --dry-run --diff --allow-risky=yes