Exemplo n.º 1
0
 public function _before()
 {
     parent::_before();
     PhDI::reset();
     $di = new PhDI();
     PhTTag::setDI($di);
 }
Exemplo n.º 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();
 }
Exemplo n.º 3
0
 public function _before()
 {
     if (!extension_loaded('openssl')) {
         $this->markTestSkipped('Warning: openssl extension is not loaded');
         return;
     }
     parent::_before();
 }
Exemplo n.º 4
0
 public function _before()
 {
     parent::_before();
     $this->logPath = PATH_LOGS;
 }