-
Notifications
You must be signed in to change notification settings - Fork 5
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
Throw exception if file not found #22
Comments
Hi @schlessera, not sure if this is the correct issue to attach to, but on PHP 8.1, we get this:
I haven't checked yet why the passed file is |
@tyrann0us Can you find where you might be calling |
Hi @schlessera it seems the warning is unrelated to the current issue but it's related to the https://github.com/brightnucleus/view/blob/275d9fc3eab6ade6c6e192a15d7a81d9aee95a8b/src/View/ViewBuilder.php#L330 So if you just run It's hard for me to get why cc @tyrann0us Small offtopic. We used Anyway, thanks a lot @schlessera for your excellent job! |
Some file operations silently fail if the file to act upon does not exist.
I should look into whether it makes sense to throw exceptions in that case. Or is the current behaviour of returning an empty array/Config the safer approach?
The text was updated successfully, but these errors were encountered: