As you see, the first require_once gives no weak warning. The latter one does, but I don't understand why. Is there any reason why this is happening? The file exists and contains a class. If its any useful, this is the file structure:
-| Project
-| Anomius
- Anomius.php (This is the included file)
-| Sites
-| Foo
- app.php (This is the file on the image)
Simply disable the setting in PhpStorm which produces the warning:
In Settings
search for 'unresolved include'
which is under Editor
> Inspections
; PHP
> General
> Unresolved include
and uncheck the box.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With