larastan: phpstan forces larastan to use --errorFormat

  • Larastan Version: 0.2.4
  • --level used: not important in this case

Description:

phpstan forces larastan now, if you want to check something this whole command php artisan code:analyse --level=max --error-format json as example

Laravel code where the issue was found:

php artisan code:analyse --level=max --errorFormat json
Note: Using the option --errorFormat is deprecated. Use --error-format instead.

if you want to use php artisan code:analyse --level=max --error-format json, then the result is the following

php artisan code:analyse --level=max --error-format json
Note: Using the option --errorFormat is deprecated. Use --error-format instead.
Error formatter "" not found. Available error formatters are: checkstyle, raw, table, json, prettyJson

@ondrejmirtes check the result, if you use json as error format. You get stuck in the line of the result.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (10 by maintainers)

Most upvoted comments

I believe that everything is fixed. Can you install Larastan using this and verify it?

composer require --dev "nunomaduro/larastan:dev-master#51e671a66d9ae2411a64810fd6ce0c314d3f3b04"