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

Do not call TypeSpecifier::specifyTypesInCondition with a non-null context in case the original context is null #1275

Merged
merged 1 commit into from May 3, 2022

Conversation

herndlm
Copy link
Contributor

@herndlm herndlm commented May 3, 2022

Closes phpstan/phpstan#7166

The title is a bit cryptic, the problems are scope "negations" via Identical and Equal expression handling like e.g. https://github.com/phpstan/phpstan-src/blob/1.6.4/src/Analyser/TypeSpecifier.php#L183

@herndlm
Copy link
Contributor Author

herndlm commented May 3, 2022

weird, make phpstan && make phpstan-validate-stub-files is fine locally. did I break something? Looks like something pre 8.1 or so.

@ondrejmirtes
Copy link
Member

1.6.x please :)

@herndlm herndlm changed the base branch from 1.7.x to 1.6.x May 3, 2022 07:55
@ondrejmirtes
Copy link
Member

And no, you didn't break anything, the same failure is currently on 1.7.x.

@herndlm
Copy link
Contributor Author

herndlm commented May 3, 2022

Did I break something now? xD I think I didn't, but who knows. the strict mode and nette extension seem to be not happy

@ondrejmirtes
Copy link
Member

You didn't. It's challenging to keep all the CI checks in older 1.6.x branch happy because they already contain fixes for 1.7.x...

@ondrejmirtes ondrejmirtes merged commit 6865741 into phpstan:1.6.x May 3, 2022
@ondrejmirtes
Copy link
Member

Thank you!

@staabm
Copy link
Contributor

staabm commented May 3, 2022

Thx <3

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