Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Helpers/LocalMachineHelper.php
Original file line number Diff line number Diff line change
@@ -177,7 +177,9 @@ public function getFinder(): Finder {
* @throws \Safe\Exceptions\FilesystemException
*/
public function readFile(string $filename): string {
return file_get_contents($this->getLocalFilepath($filename));
// @todo remove this blasphemy once upstream issue is fixed
// @ see https://github.com/thecodingmachine/safe/issues/120
return @file_get_contents($this->getLocalFilepath($filename));
}

/**

0 comments on commit 4c7edce

Please sign in to comment.