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

Implement template default types #3457

Open
wants to merge 8 commits into
base: 1.12.x
Choose a base branch
from

Conversation

jiripudil
Copy link
Contributor

Closes phpstan/phpstan#4801

I've finally picked up where @rvanvelzen left off in #1835. I've mainly added checks that the default type is valid and within bounds.

@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.

@ondrejmirtes
Copy link
Member

Wow, what a thing to drop on Friday afternoon! :) Do you think you could base it on 1.12.x? IMHO you shouldn't have any conflicts doing that. If it'd be too difficult then I'm happy to get this in 2.0, but please try to rebase it back on 1.12.x :)

@jiripudil jiripudil changed the base branch from 2.0.x to 1.12.x September 20, 2024 13:54
@jiripudil
Copy link
Contributor Author

Sure, rebased on 1.12.x :)

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.

Add support for template default types
4 participants