mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-09-06 05:25:33 +01:00
Fix CS issues
This commit is contained in:
parent
5eedcbb99e
commit
2f71ff8bda
5 changed files with 8 additions and 7 deletions
|
@ -39,8 +39,7 @@ class GenerateCommand extends Command
|
|||
|
||||
if (file_exists(__DIR__.'/'.$inputFile)) {
|
||||
$filters = require_once __DIR__.'/'.$inputFile;
|
||||
}
|
||||
elseif (file_exists(__DIR__.'/../../../../../../'.$inputFile)) {
|
||||
} elseif (file_exists(__DIR__.'/../../../../../../'.$inputFile)) {
|
||||
# Installed as a dependency within "vendor".
|
||||
$filters = require_once __DIR__.'/../../../../../../'.$inputFile;
|
||||
} else {
|
||||
|
|
|
@ -11,7 +11,8 @@ class CommandCompilerClass implements CompilerPassInterface
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function process(ContainerBuilder $container) {
|
||||
public function process(ContainerBuilder $container)
|
||||
{
|
||||
$definition = $container->findDefinition('app.cli');
|
||||
$taggedServices = $container->findTaggedServiceIds('ConsoleCommand');
|
||||
|
||||
|
|
|
@ -29,7 +29,8 @@ class Builder
|
|||
*/
|
||||
private $xml;
|
||||
|
||||
public function __construct(array $filters, $outputFile = 'filters.xml', $writeFile = true) {
|
||||
public function __construct(array $filters, $outputFile = 'filters.xml', $writeFile = true)
|
||||
{
|
||||
$this->filesystem = new Filesystem();
|
||||
$this->filters = $filters;
|
||||
$this->outputFile = $outputFile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue