Open janedbal opened 2 years ago
This bug report is missing a link to reproduction at phpstan.org/try.
It will most likely be closed after manual review.
One could argue that it's your mistake to pass the same file twice :) Why are you doing that?
Yeah, it is my mistake. No big reason, I just analysed tens of files and added one file twice by mistake.
I just think it would be better behavior if phpstan would do some uniqueness check. If you disagree, feel free to close this.
Yes, FileFinder should definitely do it 😊 I was just worried you're not following this advice: https://phpstan.org/blog/why-you-should-always-analyse-whole-project
Bug report
As title states. Tested on 1.5.4
Code snippet that reproduces the problem
Expected output
Single error reported