Skip to content

Commit

Permalink
create PR for CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
othillo committed Jul 12, 2022
1 parent e16d86b commit ca28954
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ jobs:
uses: "ramsey/composer-install@v1"
- name: "Check coding standards"
run: "make php-cs-fixer-ci"
- name: Create Pull Request
if: github.ref == 'refs/heads/master'
uses: peter-evans/create-pull-request@v4
with:
commit-message: Apply coding standards
branch: php-cs-fixer
delete-branch: true
title: 'Apply coding standards'
draft: false
base: master

static-analysis:
name: "Static analysis"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ php-cs-fixer:

.PHONY: php-cs-fixer-ci
php-cs-fixer-ci:
vendor/bin/php-cs-fixer fix --dry-run --no-interaction --allow-risky=yes --diff --verbose
vendor/bin/php-cs-fixer fix --no-interaction --allow-risky=yes --diff --verbose

PHONY: phpstan
phpstan:
Expand Down

0 comments on commit ca28954

Please sign in to comment.