<?php //////////////////////////////////////////////////////////////////////////////// // ___________ __ __ _____ // \_ _____/______ __ __ _____/ |_|__|/ ____\__ __ // | __) \_ __ \ | \_/ ___\ __\ \ __< | | // | \ | | \/ | /\ \___| | | || | \___ | // \___ / |__| |____/ \___ >__| |__||__| / ____| // \/ \/ \/ // ----------------------------------------------------------------------------- // https://github.com/fructify // // Designed and Developed by Brad Jones <brad @="bjc.id.au" /> // ----------------------------------------------------------------------------- //////////////////////////////////////////////////////////////////////////////// return Psr7Middlewares\Middleware::responseTime();
<?php error_reporting(E_ALL); include_once dirname(__DIR__) . '/vendor/autoload.php'; include_once __DIR__ . '/Base.php'; use Zend\Diactoros\Stream; Psr7Middlewares\Middleware::setStreamFactory(function ($file, $mode) { return new Stream($file, $mode); }); PHPUnit_Framework_Error_Notice::$enabled = true;