LogicException: Class 'PHPUnit\Framework\TestCase' not found.

LogicException ("Class 'PHPUnit\Framework\TestCase' not found.")

87/usr/share/nginx/html/lib/Autoloader.php

85.         return false;
86.     }
87.     throw new LogicException ("Class '$orig' not found.");
88. }
89.

spl_autoload_call ("PHPUnit\Framework\TestCase")

74/usr/share/nginx/html/lib/AppTest.php

72.  *     ?>
73.  */
74. class AppTest extends TestCase {
75.     /**
76.      Prevent these from being reset between tests.

require_once ("/usr/share/nginx/html/lib/AppTest.php")

69/usr/share/nginx/html/lib/Autoloader.php

67.     } elseif (file_exists ('lib/' $class '.php')) {
68.         // No namespace, check in lib/ first
69.         require_once ('lib/' $class '.php');
70.         return true;
71.     } elseif (file_exists ('lib/vendor/' str_replace ('_''/'$class) . '.php')) {

ReflectionClass->__construct ("AppTest")

131/usr/share/nginx/html/apps/visor/lib/Visor.php

129.         self::$summaries = array ();
130.         foreach (self::$libs as $lib) {
131.             $ref = new ReflectionClass ($lib);
132.             self::$summaries[$lib] = array (
133.                 'class' => $lib,

Visor::get_class_summaries ()

8/usr/share/nginx/html/apps/visor/handlers/index.php

6. $page->title i18n_get ('API Documentation');
7.
8. $libs Visor::get_class_summaries ();
9.
10. echo $tpl->render ('visor/index', array ('libs' => $libs));

require ("/usr/share/nginx/html/apps/visor/handlers/index.php")

507/usr/share/nginx/html/lib/Controller.php

505.         // Run the handler and get its output
506.         ob_start ();
507.         $res = require ($handler);
508.         $out ob_get_clean ();
509.         if (is_string ($res) && strlen ($res) > 0) {

Controller->handle ("apps/visor/handlers/index.php", false)

225/usr/share/nginx/html/lib/FrontController.php

223.             $handler $controller->route ($_SERVER['REQUEST_URI']);
224.         }
225.         $page->body $controller->handle ($handlerfalse);
226.
227.         /**

FrontController::run ()

34/usr/share/nginx/html/index.php

32. $argc = isset ($argc) ? $argc null;
33. $argv = isset ($argv) ? $argv null;
34. return FrontController::run ($argv$argc);

Error Context

$_COOKIE = array ();

$_SERVER = array (
    
"USER" => "www-data"
    "HOME" 
=> "/var/www"
    "FCGI_ROLE" 
=> "RESPONDER"
    "SCRIPT_FILENAME" 
=> "/usr/share/nginx/html/index.php"
    "QUERY_STRING" 
=> ""
    "REQUEST_METHOD" 
=> "GET"
    "CONTENT_TYPE" 
=> ""
    "CONTENT_LENGTH" 
=> ""
    "SCRIPT_NAME" 
=> "/index.php"
    "REQUEST_URI" 
=> "/visor"
    "DOCUMENT_URI" 
=> "/index.php"
    "DOCUMENT_ROOT" 
=> "/usr/share/nginx/html"
    "SERVER_PROTOCOL" 
=> "HTTP/1.1"
    "GATEWAY_INTERFACE" 
=> "CGI/1.1"
    "SERVER_SOFTWARE" 
=> "nginx/1.4.6"
    "REMOTE_ADDR" 
=> "3.80.218.53"
    "REMOTE_PORT" 
=> 56216
    
"SERVER_ADDR" => "192.241.172.148"
    "SERVER_PORT" 
=> 443
    
"SERVER_NAME" => "elefantcms.com"
    "HTTPS" 
=> "on"
    "REDIRECT_STATUS" 
=> 200
    
"HTTP_USER_AGENT" => "CCBot/2.0 (https://commoncrawl.org/faq/)"
    "HTTP_ACCEPT" 
=> "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
    "HTTP_HOST" 
=> "www.elefantcms.com"
    "HTTP_CONNECTION" 
=> "Keep-Alive"
    "HTTP_ACCEPT_ENCODING" 
=> "gzip"
    "PHP_SELF" 
=> "/index.php"
    "REQUEST_TIME_FLOAT" 
=> 1544745449.8534
    
"REQUEST_TIME" => 1544745449
);