mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-03 03:54:25 +02:00
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()
|
protected function metaData()
|
||||||
{
|
{
|
||||||
if ($this->metaData === null) {
|
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) {
|
if ($metaData === false) {
|
||||||
throw new ConfigurationError('Library at "%s" is not a composerized project', $this->path);
|
throw new ConfigurationError('Library at "%s" is not a composerized project', $this->path);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user