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

Add support and tests for $this type assertions #2609

Merged
merged 1 commit into from Sep 7, 2023

Conversation

ekisu
Copy link
Contributor

@ekisu ekisu commented Sep 7, 2023

Adds some tests for $this type assertion annotations.

As this depends on phpstan/phpdoc-parser#209, I've updated the dependency to point temporarily to that branch.

@phpstan-bot
Copy link
Collaborator

You've opened the pull request against the latest branch 1.11.x. If your code is relevant on 1.10.x and you want it to be released sooner, please rebase your pull request and change its target to 1.10.x.

@ondrejmirtes
Copy link
Member

Please rebase this without the Composer change and on top of 1.10.x. phpdoc-parser is already updated with your change :)

@ekisu ekisu changed the base branch from 1.11.x to 1.10.x September 7, 2023 21:03
@ekisu
Copy link
Contributor Author

ekisu commented Sep 7, 2023

@ondrejmirtes Done

@ondrejmirtes
Copy link
Member

Awesome, thank you!

@ondrejmirtes ondrejmirtes merged commit a44f10c into phpstan:1.10.x Sep 7, 2023
72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants