diff --git a/extensions/gii/generators/extension/Generator.php b/extensions/gii/generators/extension/Generator.php
index 6c9e9f736b..b508d54c45 100644
--- a/extensions/gii/generators/extension/Generator.php
+++ b/extensions/gii/generators/extension/Generator.php
@@ -108,9 +108,9 @@ class Generator extends \yii\gii\Generator
public function hints()
{
return [
- 'vendorName' => 'This refers to the name of the publisher, your GitHub user name is usually a good choice, eg. myself',
- 'packageName' => 'This is the name of the extension on packagist, eg. yii2-foobar',
- 'namespace' => 'PSR-4, eg. myself\foobar This will be added to your autoloading by composer. Do not use yii or yii2 in the namespace.',
+ 'vendorName' => 'This refers to the name of the publisher, your GitHub user name is usually a good choice, eg. myself.',
+ 'packageName' => 'This is the name of the extension on packagist, eg. yii2-foobar.',
+ 'namespace' => 'PSR-4, eg. myself\foobar\ This will be added to your autoloading by composer. Do not use yii or yii2 in the namespace.',
'keywords' => 'Comma separated keywords for this extension.',
'outputPath' => 'The temporary location of the generated files.',
'title' => 'A more descriptive name of your application for the README file.',
@@ -151,7 +151,7 @@ git remote add origin https://path.to/your/repo
git push -u origin master
EOD;
$output2 = <<
The next step is just for initial development, skip it if you directly publish the extension on packagist.org
Add the newly created repo to your composer.json.
EOD; $code2 = <<' . highlight_string($code1, true) . ''; $return .= $output2 . '
' . highlight_string($code2, true) . ''; $return .= $output3 . '
' . highlight_string($code3, true) . ''; $return .= $output4 . '
' . highlight_string($code4, true) . ''; + $return .= $output5; return $return; }