Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/Horde/Push/Factory/Push.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,17 +135,17 @@ private function _parsePhp($argument, $conf)
*/
private function _parseYaml($argument, $conf)
{
if (!class_exists('Horde_Yaml')) {
if (!class_exists(\Horde\Yaml\Yaml::class)) {
throw new Horde_Push_Exception(
'The Horde_Yaml package is missing!'
'The horde/yaml package is missing!'
);
}
if (!file_exists($argument)) {
throw new Horde_Push_Exception(
sprintf('Invalid file path: "%s"!', $argument)
);
}
return $this->_createFromData(Horde_Yaml::loadFile($argument));
return $this->_createFromData(\Horde\Yaml\Yaml::loadFile($argument));
}

/**
Expand Down
Loading