Skip to content

Commit

Permalink
Updating outdated config file for php-cs-fixer and php-cs
Browse files Browse the repository at this point in the history
  • Loading branch information
KaseyCantu committed May 4, 2021
1 parent 874fdc5 commit 6b0f364
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/shipengine-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
extensions: xdebug
runner_github_workspace_path: ${{ github.workspace }}
- run: composer install
- run: php-cs-fixer fix -vvv --config=.php_cs.dist
- run: php-cs-fixer fix -vvv --config=.php-cs-fixer.dist.php
- run: phpcs --standard=PSR2 src
- run: phpstan analyse src --level 5
- run: phpunit
Expand Down
2 changes: 1 addition & 1 deletion .php_cs.dist → .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
'strict_param' => true
])
->setRiskyAllowed(true)
->setFinder($finder);
->setFinder($finder);
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ repos:
args: [ analyse src --level 5 ]
- id: php-cs-fixer
files: \.(php)$
args: [ -vv --config=.php_cs.dist ]
args: [ -vv --config=.php-cs-fixer.dist.php ]

0 comments on commit 6b0f364

Please sign in to comment.