Skip to content

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Apr 19, 2025

before this PR

grafik

after this PR

grafik

@staabm staabm marked this pull request as ready for review April 19, 2025 09:58
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes
Copy link
Member

Green isn't the right choice when it's an error :)


if (
$error->getIdentifier() !== null
&& in_array($error->getIdentifier(), ['phpstan.type', 'phpstan.nativeType', 'phpstan.variable'], true)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also would make sense for phpstan.dumpType and phpstan.unknownExpectation.

@staabm
Copy link
Contributor Author

staabm commented Apr 19, 2025

Green isn't the right choice when it's an error :)

hehe.. I am too positive about my errors ;)

updated the impl and the screenshot

@staabm staabm force-pushed the color-types branch 2 times, most recently from 83c7eca to e7507f0 Compare April 20, 2025 06:25
@ondrejmirtes ondrejmirtes merged commit 97281a7 into phpstan:2.1.x Apr 21, 2025
415 of 417 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@staabm staabm deleted the color-types branch April 21, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants