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

Fix wrong and inconsistent PHP native types in atomic #10960

Open
wants to merge 1 commit into
base: 5.x
Choose a base branch
from

Conversation

kkmuffme
Copy link
Contributor

@kkmuffme kkmuffme commented May 5, 2024

@kkmuffme kkmuffme force-pushed the fix-inconsistencies-in-atomic-php-types branch from b3c9047 to 611e6f8 Compare May 5, 2024 19:50
@kkmuffme kkmuffme force-pushed the fix-inconsistencies-in-atomic-php-types branch from 611e6f8 to 4b855a8 Compare May 5, 2024 20:10
@kkmuffme kkmuffme marked this pull request as ready for review May 5, 2024 20:18
@kkmuffme
Copy link
Contributor Author

kkmuffme commented Jun 5, 2024

@orklah could you please merge this

@@ -101,7 +101,9 @@ public function toPhpString(

public function canBeFullyExpressedInPhp(int $analysis_php_version_id): bool
{
return $this->type_params[0]->isMixed() && $this->type_params[1]->isMixed();
return $analysis_php_version_id >= 7_01_00
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does 7.1 actually should be supported?

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.

2 participants