Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 3e9a15d

Browse files
authored
Resolves #44: Register lint:twig console command. (#297)
1 parent 25d78b8 commit 3e9a15d

File tree

3 files changed

+87
-3
lines changed

3 files changed

+87
-3
lines changed

bin/blt-console

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
use Acquia\Blt\Console\Command\ComposerMungeCommand;
55
use Acquia\Blt\Console\Command\YamlMungeCommand;
6+
use Symfony\Bridge\Twig\Command\LintCommand;
67
use Symfony\Component\Console\Application;
78

89
set_time_limit(0);
@@ -22,4 +23,5 @@ else {
2223
$application = new Application();
2324
$application->add(new ComposerMungeCommand());
2425
$application->add(new YamlMungeCommand());
26+
$application->add(new LintCommand());
2527
$application->run();

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"squizlabs/php_codesniffer": "^2.4",
1111
"symfony/yaml": "~2.7",
1212
"drupal/coder": "~8.2",
13-
"symfony/console": "~2"
13+
"symfony/console": "~2",
14+
"symfony/twig-bridge": "~2"
1415
},
1516
"autoload": {
1617
"psr-4": {

composer.lock

+83-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)