Skip to content

Commit

Permalink
Update GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Oct 23, 2023
1 parent 2d40c0e commit 56bcddf
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: PHP-CS-Fixer

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:

jobs:
run:
Expand All @@ -9,10 +13,10 @@ jobs:
name: PER

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: xdebug
tools: php-cs-fixer, cs2pr
- run: php-cs-fixer fix . --dry-run --rules=@PER --format=checkstyle | cs2pr
- run: php-cs-fixer fix . --dry-run --rules=@PER-CS --format=checkstyle | cs2pr

0 comments on commit 56bcddf

Please sign in to comment.