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