Skip to content

Commit 5721d24

Browse files
author
Yaroslav Voronoy
committed
Fixed composer.json
1 parent 3c5fc17 commit 5721d24

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

composer.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
11
{
2+
"name": "yvoronoy/magento2-bash-completion",
3+
"description": "Magento2 Bash Completion Generator",
4+
"type": "magento2-module",
25
"require": {
6+
"php": "~5.5.0|~5.6.0|~7.0.0",
37
"phpspec/phpspec": "^2.5",
48
"magento/framework": "^100.0",
59
"phpmd/phpmd": "2.3.*"
610
},
11+
"license": "MIT",
12+
"authors": [
13+
{
14+
"name": "Yaroslav Voronoy",
15+
"email": "yvoronoy@gmail.com"
16+
}
17+
],
718
"minimum-stability": "stable",
819
"autoload": {
920
"psr-4": {
1021
"Voronoy\\BashCompletion\\":"src"
11-
}
22+
},
23+
"files": [
24+
"src/registration.php"
25+
]
1226
},
1327
"repositories": {
1428
"magento": {

src/Console/Command/BashCompletionCommand.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
4646
$description = new ApplicationDescription($this->getApplication());
4747
$this->commandCollection->setItems($description->getCommands());
4848
$result = $this->bashCompletion->generateCompletionList(
49-
$input->getArgument(self::INPUT_ARG_NAME));
49+
$input->getArgument(self::INPUT_ARG_NAME)
50+
);
5051

5152
return $output->writeln($result);
5253
}
53-
}
54+
}

0 commit comments

Comments
 (0)