Library: Add missing shut-up operator to `file_get_contents` call
This commit is contained in:
parent
7c4488ddc7
commit
81c0613e68
|
@ -189,7 +189,7 @@ class Library
|
|||
protected function metaData()
|
||||
{
|
||||
if ($this->metaData === null) {
|
||||
$metaData = file_get_contents($this->path . DIRECTORY_SEPARATOR . 'composer.json');
|
||||
$metaData = @file_get_contents($this->path . DIRECTORY_SEPARATOR . 'composer.json');
|
||||
if ($metaData === false) {
|
||||
throw new ConfigurationError('Library at "%s" is not a composerized project', $this->path);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue