Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix PHP 7.0 on prefixed - skip nullable till phpstan is downgraded #6221

Merged
merged 1 commit into from
Apr 23, 2021

Conversation

TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Apr 23, 2021

@samsonasik Just a note, current downgrade set for PHP 7.1 cannot be used with phpstan.phar.
It would create return type conflict, as it only downgraded our code but parent class is in phpstan.phar

image

The solution is to downgrade https://github.com/phpstan/phpstan-src or unwrap phpstan.phar and downgrade it too

@TomasVotruba TomasVotruba changed the title fix php70 Fix php70 on prefixed - skip nullable till phpstan is downgraded Apr 23, 2021
@TomasVotruba TomasVotruba merged commit 1a060aa into main Apr 23, 2021
@TomasVotruba TomasVotruba deleted the fix-php70 branch April 23, 2021 19:34
@TomasVotruba TomasVotruba changed the title Fix php70 on prefixed - skip nullable till phpstan is downgraded Fix PHP 7.0 on prefixed - skip nullable till phpstan is downgraded Apr 23, 2021
TomasVotruba added a commit that referenced this pull request Aug 6, 2024
rectorphp/rector-src@69a3e31  [CodeQuality] Skip Generator on SimplifyForeachToCoalescingRector  (#6221)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant