-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Meta helper command broken in PHP 8.4 — Cannot make 'x': Class 'y' not found #1671
Comments
Hmm. The package is tested against 8.4. It rather seems your app doesn't work correctly TBH. |
Any idea where to start looking and debugging? The app itself works fine on PHP 8.4 and even ide-helper:meta on 8.3. |
same problem after upgrade sail version to php 8.4 PHP Fatal error: During class fetch: Uncaught ReflectionException: Class 'env' not found. in /var/www/html/vendor/barryvdh/laravel-ide-helper/src/Console/MetaCommand.php:196 |
I think the warnings itself are not the issue, those are caught. Not sure what is stopping the execution though. |
Confirming this issue. All deprecation warnings are causing this issue. |
Versions:
Description:
Trying to upgrade an app to PHP 8.4 and noticed the meta generation command seems broken. Without
-v
it doesn't output anything, in verbose mode you get all sorts of warning, no file is generated, and the command exits with an error code.Did not change any code, only upgraded some other packages and version number. Works on PHP 8.3 with all the same packages.
Did read this in the readme but no code was changed and we only use what we need atm.
Steps To Reproduce:
Upgrade from PHP 8.3 to 8.4. Package was already at 3.5.4.
The text was updated successfully, but these errors were encountered: