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

Query: add test for some method calls #503

Merged
merged 3 commits into from
Jan 5, 2024

Conversation

janedbal
Copy link
Contributor

@janedbal janedbal commented Dec 4, 2023

No description provided.

@janedbal janedbal changed the base branch from 1.4.x to 1.3.x December 4, 2023 12:46
@janedbal
Copy link
Contributor Author

janedbal commented Dec 4, 2023

Hm, this is probably not a proper fix. This is more generic issue. Looks like it is related to all methods that are overwritten in Query and use {@inheritdoc}.

@janedbal
Copy link
Contributor Author

janedbal commented Dec 4, 2023

Changed to failing test till I find the issue.

@janedbal janedbal changed the title Query: do not lose type on ->setHint Query: failing test for type lost with setHint Dec 4, 2023
@janedbal
Copy link
Contributor Author

janedbal commented Dec 4, 2023

Looks like related to phpstan/phpstan#6462

@janedbal
Copy link
Contributor Author

janedbal commented Dec 5, 2023

This should fix it: phpstan/phpstan-src#2803

@ondrejmirtes
Copy link
Member

Please test this after your merged PR phpstan/phpstan-src#2803 is released :)

@janedbal janedbal changed the title Query: failing test for type lost with setHint Query: add test for some method calls Dec 11, 2023
@janedbal
Copy link
Contributor Author

It works, do you want to bump phpstan version in composer just to have this merged?

@ondrejmirtes ondrejmirtes merged commit 6fbf5ef into phpstan:1.3.x Jan 5, 2024
20 of 26 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

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.

None yet

2 participants