Skip to content

Commit

Permalink
Adds cs-fixer dry run.
Browse files Browse the repository at this point in the history
  • Loading branch information
aidan-casey committed Feb 21, 2024
1 parent eda17b5 commit f14323c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: PHP-CS-Fixer

on: [push, pull_request]

jobs:
style:
runs-on: ubuntu-latest

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

- name: Check Styling
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config=.php-cs-fixer.php --allow-risky=yes -v --dry-run
5 changes: 5 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
paths:
- '**.php'
- 'phpstan.neon.dist'
pull_request:
paths:
- '**.php'
- 'phpstan.neon.dist'
branches: [main]


jobs:
Expand Down

0 comments on commit f14323c

Please sign in to comment.