示例#1
0
 public function _before()
 {
     parent::_before();
     PhDI::reset();
     $di = new PhDI();
     PhTTag::setDI($di);
 }
示例#2
0
 public function _before()
 {
     if (!extension_loaded('openssl') && !extension_loaded('libsodium') && !file_exists("/dev/urandom")) {
         $this->markTestSkipped('Warning: libsodium or openssl extensions is not loaded and /dev/urandom file does not exists');
         return;
     }
     parent::_before();
 }
示例#3
0
 public function _before()
 {
     if (!extension_loaded('openssl')) {
         $this->markTestSkipped('Warning: openssl extension is not loaded');
         return;
     }
     parent::_before();
 }
示例#4
0
 public function _before()
 {
     parent::_before();
     $this->logPath = PATH_LOGS;
 }