Skip to content

Merge pull request #148 from TeamEver/codex/add-sql-export-for-config… #77

Merge pull request #148 from TeamEver/codex/add-sql-export-for-config…

Merge pull request #148 from TeamEver/codex/add-sql-export-for-config… #77

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

(Line: 7, Col: 5): you may only define one of `paths` and `paths-ignore` for a single event, (Line: 12, Col: 5): 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