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

Resource to Object migration in PHP 8.1 #7017

Closed
Furgas opened this issue Apr 11, 2022 · 3 comments
Closed

Resource to Object migration in PHP 8.1 #7017

Furgas opened this issue Apr 11, 2022 · 3 comments
Labels

Comments

@Furgas
Copy link

Furgas commented Apr 11, 2022

In PHP 8.1 several resources have been migrated to objects. It changed some functions/methods signatures. I didn't find any mention about supporting it in PhpStan, also there is no resources/functionMap_php81delta.php file in the source code.

https://phpstan.org/r/a0134809-5c85-449b-8c2c-257278d9df53
https://3v4l.org/oZPVJ

@ondrejmirtes
Copy link
Member

The technical background: phpstan/php-8-stubs#6

@ondrejmirtes
Copy link
Member

Fixed by: phpstan/phpstan-src@0bc6afc

@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants