Set PHP 7.2
This commit is contained in:
parent
51bb9927ff
commit
eb5ee10f70
|
@ -3,17 +3,17 @@
|
||||||
"description": "Generates boilerplate code for Drupal modules.",
|
"description": "Generates boilerplate code for Drupal modules.",
|
||||||
"type": "project",
|
"type": "project",
|
||||||
"require": {
|
"require": {
|
||||||
"symfony/console": "^3.0 || ^4.0 || ^5.0",
|
"php": "^7.2",
|
||||||
"symfony/dependency-injection": "^3.0 || ^4.0 || ^5.0",
|
"symfony/console": "^4.0 || ^5.0",
|
||||||
"symfony/filesystem": "^3.0 || ^4.0 || ^5.0",
|
"symfony/dependency-injection": "^4.0 || ^5.0",
|
||||||
"symfony/finder": "^3.0 || ^4.0 || ^5.0",
|
"symfony/filesystem": "^4.0 || ^5.0",
|
||||||
|
"symfony/finder": "^4.0 || ^5.0",
|
||||||
"tightenco/collect": "^6.14"
|
"tightenco/collect": "^6.14"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"php": "5.6 || ^7.0",
|
|
||||||
"friendsofphp/php-cs-fixer": "^2.16",
|
"friendsofphp/php-cs-fixer": "^2.16",
|
||||||
"phpunit/phpunit": "^9.0",
|
"phpunit/phpunit": "^8.5",
|
||||||
"symfony/var-dumper": "^3.0 || ^4.0 || ^5.0"
|
"symfony/var-dumper": "^4.0 || ^5.0"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"authors": [
|
"authors": [
|
||||||
|
@ -36,6 +36,9 @@
|
||||||
"bin/dmg"
|
"bin/dmg"
|
||||||
],
|
],
|
||||||
"config": {
|
"config": {
|
||||||
|
"platform": {
|
||||||
|
"php": "7.2.5"
|
||||||
|
},
|
||||||
"sort-packages": true
|
"sort-packages": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,7 +62,7 @@ final class GenerateDrupal7Command extends Command
|
||||||
{
|
{
|
||||||
$this->io = new SymfonyStyle($input, $output);
|
$this->io = new SymfonyStyle($input, $output);
|
||||||
|
|
||||||
$this->io->title("{$this->getApplication()->getName()} (D7)");
|
$this->io->title("Drupal Module Generator (D7)");
|
||||||
|
|
||||||
$this->machineName = $input->getArgument('module-name');
|
$this->machineName = $input->getArgument('module-name');
|
||||||
$this->moduleName = $this->moduleNameConverter->__invoke($this->machineName);
|
$this->moduleName = $this->moduleNameConverter->__invoke($this->machineName);
|
||||||
|
|
Loading…
Reference in a new issue