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

Merge 1.12.x into 2.0.x #3560

Merged
merged 4 commits into from
Oct 9, 2024

Conversation

jiripudil
Copy link
Contributor

As requested in #3457 (comment)

I hope this is all. The make-optional-parameters-required.php script didn't produce any changes in the code that I'd touched.

jiripudil and others added 4 commits October 9, 2024 09:35
Co-authored-by: Richard van Velzen <richard@frank.nl>
Co-authored-by: Richard van Velzen <rvanvelzen1@gmail.com>
The functionality was introduced in phpstan#1628. It works. But as soon as you use an inline assign
expression it breaks. Let's support this case too.

Sometimes, you want to call something inline and also use the callback later.
@ondrejmirtes ondrejmirtes merged commit 5d59d11 into phpstan:2.0.x Oct 9, 2024
396 of 450 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@jiripudil jiripudil deleted the merge-template-default-types branch October 10, 2024 11:34
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.

4 participants