Skip to content

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

Development

Successfully merging this pull request may close these issues.

Phpstan thinks string is not empty when running strpos

3 participants