Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

PHPStan errors still shown after PHPStan config change #40

Closed
InvisibleSmiley opened this issue May 4, 2020 · 0 comments
Closed

PHPStan errors still shown after PHPStan config change #40

InvisibleSmiley opened this issue May 4, 2020 · 0 comments

Comments

@InvisibleSmiley
Copy link

I guess the below is a caching issue?

Initial situation:

  • everything set up for PHPStan (Quality Tools, Inspections)
  • some ignoreErrors entries in PHPStan config file
  • no reported errors running vendor/bin/phpstan analyse
  • no errors shown in PhpStorm editor

Steps to reproduce:

  1. Remove an entry from ignoreErrors affecting a test file
  2. Open the test file
  3. Undo the ignoreErrors change
  4. Revisit/reopen test file
  5. Compare PHPStan errors reported in PhpStorm editor vs vendor/bin/phpstan analyse (latter reports none)

Expected: Errors disappear from PhpStorm editor (at least after reopening the file)

Actual: PhpStorm editor still shows PHPStan errors

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants