-
-
Notifications
You must be signed in to change notification settings - Fork 916
$_ENV['CI']
not nullable since v2.1.9
#12776
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
Comments
This bug report is missing a link to reproduction at phpstan.org/try. It will most likely be closed after manual review. |
I have the same issue. Tried to reproduce it on phpstan.org/try but there it does not fail. I assume in my project, it's because I have
|
high change that this is related to / a duplicate of #12771, but no need to close yet, this info might be relevant later |
Bug report
repro: https://github.com/atk4/ui/blob/235416b31066827226e462f1916d9fc99c0d14b4/demos/init-db.php#L556
Looking into the release notes - maybe caused by phpstan/phpstan-src@d4d7e11, not sure. Environment variables passed into PHPStan must however not be assumed on runtime.Code snippet that reproduces the problem
n/a
Expected output
no PHPStan error
The text was updated successfully, but these errors were encountered: