Commit 9bae54f1 authored by Patrick Barroca's avatar Patrick Barroca 😁
Browse files

Detect ZF Loader incompatible filename containing namespace marker.

phpunit 4 compatibility
parent 3f3c10b9
......@@ -79,8 +79,10 @@ class Zend_Loader
$file = basename($file);
self::loadFile($file, $dirs, true);
} else {
include_once $file;
if (false !== strpos($file, '\\'))
include_once $file;
if (!class_exists($class, false) && !interface_exists($class, false)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment