protected function setUp() { parent::setUp(); if (version_compare(\Twig_Environment::VERSION, '1.5.0', '<')) { $this->markTestSkipped('Requires Twig version to be at least 1.5.0.'); } }
protected function setUp() { parent::setUp(); if (!class_exists('Symfony\\Component\\Routing\\Route')) { $this->markTestSkipped('The "Routing" component is not available'); } }
protected function setUp() { parent::setUp(); if (!class_exists('Symfony\\Component\\HttpKernel\\HttpKernel')) { $this->markTestSkipped('The "HttpKernel" component is not available'); } if (!class_exists('Twig_Environment')) { $this->markTestSkipped('Twig is not available.'); } }
protected function setUp() { parent::setUp(); if (!class_exists('Symfony\\Component\\Translation\\Translator')) { $this->markTestSkipped('The "Translation" component is not available'); } if (!class_exists('Twig_Environment')) { $this->markTestSkipped('Twig is not available.'); } }