@@ -18,7 +18,6 @@ |
||
18 | 18 | |
19 | 19 | namespace JMS\TwigJsBundle\DependencyInjection; |
20 | 20 | |
21 | -use Symfony\Component\Process\ExecutableFinder; |
|
22 | 21 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
23 | 22 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
24 | 23 |
@@ -18,6 +18,9 @@ |
||
18 | 18 | */ |
19 | 19 | protected $compiler; |
20 | 20 | |
21 | + /** |
|
22 | + * @param string $source |
|
23 | + */ |
|
21 | 24 | protected function compile($source, $name = null) |
22 | 25 | { |
23 | 26 | return $this->env->compileSource($source, $name); |
@@ -2,9 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace JMS\TwigJsBundle\Tests\TwigJs\Compiler; |
4 | 4 | |
5 | -use JMS\TwigJsBundle\TwigJs\Compiler\TransFilterCompiler; |
|
6 | 5 | use TwigJs\JsCompiler; |
7 | -use Symfony\Bundle\TwigBundle\Extension\AssetsExtension; |
|
8 | 6 | |
9 | 7 | abstract class BaseTestCase extends \PHPUnit_Framework_TestCase |
10 | 8 | { |
@@ -6,8 +6,6 @@ |
||
6 | 6 | use Symfony\Component\Translation\Translator; |
7 | 7 | use Symfony\Bridge\Twig\Extension\TranslationExtension; |
8 | 8 | use JMS\TwigJsBundle\TwigJs\Compiler\TransFilterCompiler; |
9 | -use Symfony\Component\Translation\MessageSelector; |
|
10 | -use Symfony\Component\Translation\IdentityTranslator; |
|
11 | 9 | |
12 | 10 | class TransFilterCompilerTest extends BaseTestCase |
13 | 11 | { |