diff --git a/composer.json b/composer.json index fe80286..4e40562 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "require": { "phptransformers/phptransformer": "~1.0.0", - "dwoo/dwoo": "dev-beta" + "dwoo/dwoo": "^1.2.1" }, "require-dev": { "phpunit/phpunit": "~4.6", diff --git a/lib/DwooTransformer.php b/lib/DwooTransformer.php index d41ffe5..e9083cd 100644 --- a/lib/DwooTransformer.php +++ b/lib/DwooTransformer.php @@ -4,7 +4,6 @@ use Dwoo\Core; use Dwoo\Exception; -use Dwoo\Exception\CoreException; use Dwoo\Template\Str; use PhpTransformers\PhpTransformer\TransformerInterface; @@ -35,7 +34,7 @@ class DwooTransformer implements TransformerInterface * * @param array $options The DwooTransformer options * - * @throws CoreException + * @throws Exception */ public function __construct(array $options = array()) { @@ -61,7 +60,6 @@ public function __construct(array $options = array()) if (array_key_exists('template-dir', $options)) { $this->dwoo->setTemplateDir($options['template-dir']); } - } /** @@ -81,7 +79,6 @@ public function getName() * @param array $locals The variable to use in template * @return null|string * - * @throws CoreException * @throws Exception * @throws \Exception */ @@ -97,7 +94,6 @@ public function renderFile($file, array $locals = array()) * @param array $locals The variable to use in template * @return null|string * - * @throws CoreException * @throws Exception * @throws \Exception */