Skip to content

Rename php-cs-fixer.yml to php-cs-fixer.yml_bkp #2

Rename php-cs-fixer.yml to php-cs-fixer.yml_bkp

Rename php-cs-fixer.yml to php-cs-fixer.yml_bkp #2

Workflow file for this run

name: fix-style
on:
push:
pull_request:
paths:
- '**.php'
jobs:
php-cs-fixer:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: '7.4'
extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv
- name: Install Dependencies
run: composer install --prefer-dist
- name: Fix Style
run: ./vendor/bin/php-cs-fixer fix --diff --allow-risky=yes
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Fix styling changes