Skip to content

Add configuration export to backup #62

Add configuration export to backup

Add configuration export to backup #62

Workflow file for this run

name: PHP CS Fixer

Check failure on line 1 in .github/workflows/php-cs-fixer.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/php-cs-fixer.yml

Invalid workflow file

you may only define one of `paths` and `paths-ignore` for a single event
on:
push:
paths:
- '**/*.php'
paths-ignore:
- 'vendor/**'
pull_request:
paths:
- '**/*.php'
paths-ignore:
- 'vendor/**'
jobs:
php-cs-fixer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
- name: Download PHP CS Fixer
run: |
curl -LsS https://cs.symfony.com/download/php-cs-fixer-v3.phar -o php-cs-fixer.phar
php php-cs-fixer.phar --version
- name: Run PHP CS Fixer
run: |
php php-cs-fixer.phar fix --dry-run --diff --config=.php-cs-fixer.php