Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report precise offsets in errors #3504

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

ruudk
Copy link
Contributor

@ruudk ruudk commented Sep 27, 2024

@phpstan-bot
Copy link
Collaborator

You've opened the pull request against the latest branch 2.0.x. PHPStan 2.0 is not going to be released for months. If your code is relevant on 1.12.x and you want it to be released sooner, please rebase your pull request and change its target to 1.12.x.

Copy link
Member

@ondrejmirtes ondrejmirtes left a comment

Choose a reason for hiding this comment

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

@ruudk ruudk force-pushed the v2-precise-offset branch 2 times, most recently from 15139f4 to 09a22e8 Compare September 27, 2024 17:17
@ruudk
Copy link
Contributor Author

ruudk commented Sep 27, 2024

Fixed!

💡 TIL: make cs + make cs-fix

@ruudk
Copy link
Contributor Author

ruudk commented Sep 27, 2024

I believe the 71 failing tests are unrelated to my change. Is that correct?

@ruudk ruudk requested a review from ondrejmirtes September 27, 2024 17:24
@ruudk
Copy link
Contributor Author

ruudk commented Sep 28, 2024

I'm wondering. Shouldn't we also port this to 1.12 under bleeding edge? You say that 1.12 + bleeding edge == 2.0, right?

@ruudk ruudk force-pushed the v2-precise-offset branch from 09a22e8 to 1650518 Compare October 3, 2024 12:23
@ondrejmirtes
Copy link
Member

2.0 is close enough :)

@ondrejmirtes ondrejmirtes merged commit ce3c893 into phpstan:2.0.x Oct 4, 2024
365 of 448 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

@ruudk ruudk deleted the v2-precise-offset branch October 4, 2024 08:51
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.

Feature toggle for precise offsets in errors
3 participants