Skip to content

Commit

Permalink
Create php-cs-fixer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
theronakpatel authored Feb 22, 2024
1 parent 4d39558 commit 83c115f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: PHP CS Fixer

on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master

jobs:
php-cs-fixer:
name: PHP CS Fixer
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
run: composer install --no-progress --no-suggest --prefer-dist

- name: Run PHP CS Fixer
run: php vendor/bin/php-cs-fixer fix --verbose --diff --dry-run

0 comments on commit 83c115f

Please sign in to comment.