Skip to content

Commit

Permalink
Upgrade PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
ob-stripe committed Mar 24, 2020
1 parent a6bbc39 commit 918d772
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export PHPDOCUMENTOR_VERSION := v3.0.0-rc
export PHPSTAN_VERSION := 0.12.8
export PHPSTAN_VERSION := 0.12.18

vendor: composer.json
composer install
Expand Down Expand Up @@ -28,9 +28,9 @@ phpdoc: vendor/bin/phpdoc
vendor/bin/phpdoc

phpstan: vendor/bin/phpstan
vendor/bin/phpstan analyse lib tests
php -d memory_limit=512M vendor/bin/phpstan analyse lib tests
.PHONY: phpstan

phpstan-baseline: vendor/bin/phpstan
vendor/bin/phpstan analyse --error-format baselineNeon lib tests > phpstan-baseline.neon
php -d memory_limit=512M vendor/bin/phpstan analyse lib tests --generate-baseline
.PHONY: phpstan-baseline
3 changes: 0 additions & 3 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


parameters:
ignoreErrors:
-
Expand All @@ -12,4 +10,3 @@ parameters:
count: 1
path: lib/SingletonApiResource.php


0 comments on commit 918d772

Please sign in to comment.