"README.md" did not exist on "282eb36c142acd377cec9aaef414843438ea9bd0"
Issue #3301239 by @immaculate.x : Check if the file is correctly opened before...
4 unresolved threads
Open
requested to merge issue/drupal-3301239:3301239-improve-error-message-and-exception-handling into 11.x
4 unresolved threads
Compare changes
Files
2@@ -150,13 +150,14 @@ public function setURI($uri) {
@@ -245,7 +246,7 @@ private function readHeader() {
When the file descriptor is not set we should make sure an error is logged in
$this->errors[]
and that we returnFALSE
.It would probably more readable if we check that
$this->fd
is set in a separate code block, something like this: