File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ private function isValidUrl(string $url): bool
234234
235235 private function promptGithub (SymfonyStyle $ io ): string
236236 {
237- $ github = $ io ->ask ('GitHub Username (github.com/<username>) ' );
237+ $ github = $ io ->ask ('GitHub Username (github.com/<username>) ' , DefaultValue:: GITHUB );
238238
239239 if (!$ this ->isFieldFilled ($ github )) {
240240 throw new EmptyFieldException ('GitHub nickname is required. ' );
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ final class DefaultValue
1212{
1313 public const AUTHOR = 'Pierre-Henry Soria ' ;
1414 public const EMAIL = 'hi@ph7.me ' ;
15+ public const GITHUB = 'pH-7 ' ;
1516 public const LICENSE_CODE = License::MIT_CODE ;
1617 public const DESTINATION_FILE = ROOT_DIR . '/tmp ' ;
1718 public const GRAVATAR_SIZE = 200 ;
You can’t perform that action at this time.
0 commit comments