Skip to content

Allow to specify default location in a static Closure #25

Allow to specify default location in a static Closure

Allow to specify default location in a static Closure #25

name: Coding style
on:
pull_request:
paths:
- '**.php'
- '.composer.json'
- '.php_cs'
- '.github/workflows/php-coding-style.yml'
push:
paths:
- '**.php'
- '.composer.json'
- '.php_cs'
- '.github/workflows/php-coding-style.yml'
branches-ignore:
- main # protected
jobs:
style:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Fix style
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config=.php-cs-fixer.php --allow-risky=yes
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix coding style