-
Notifications
You must be signed in to change notification settings - Fork 394
Fixes #1543: Twig Lint is not maintained and fails valid twig code. #2151
Conversation
src/Robo/Commands/Git/GitCommand.php
Outdated
$this->invokeCommands([ | ||
// Passing a file list to be PHPCS will cause all specified files to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to add this comment back :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I refactored and removed all the changes to this class.
src/Robo/Blt.php
Outdated
* | ||
* @param \Acquia\Blt\Robo\Application $application | ||
*/ | ||
protected function addSymfonyCommands(Application $application) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do wish we could move this out of the Blt.php file. It feels like it doesn't belong here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, so I refactored and put everything in the TwigCommand class. I think it's cleaner now.
Fixes #1543.
Changes proposed: