Skip to content

Commit

Permalink
Merge pull request #4891 from nanasess/require-phpstan
Browse files Browse the repository at this point in the history
PHPStan を require-dev に入れる
  • Loading branch information
okazy committed Feb 17, 2021
2 parents a97461b + ec46750 commit 7e1cf17
Show file tree
Hide file tree
Showing 6 changed files with 294 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,4 @@ jobs:
sudo composer selfupdate --1
composer install --dev --no-interaction -o --apcu-autoloader
- name: PHPStan
run: |
composer require phpstan/phpstan --dev
vendor/bin/phpstan analyze src/ --error-format=github
run: vendor/bin/phpstan analyze src/ --error-format=github
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
"fzaninotto/faker": "^1.7",
"mikey179/vfsstream": "^1.6",
"php-coveralls/php-coveralls": "^2.1",
"phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^6.5",
"symfony/browser-kit": "^3.4",
"symfony/phpunit-bridge": "^3.4"
Expand Down

0 comments on commit 7e1cf17

Please sign in to comment.