@@ -119,21 +119,21 @@ public function process(): void {
119
119
* Display summary input.
120
120
*/
121
121
protected function displaySummary (): void {
122
- $ this ->io ->notice (' Summary ' );
123
- $ this ->io ->notice ('--------------------------------- ' );
124
- $ this ->io ->notice ('Name : ' . $ this ->extensionName );
125
- $ this ->io ->notice ('Machine name : ' . $ this ->extensionMachineName );
126
- $ this ->io ->notice ('Type : ' . $ this ->extensionType );
127
- $ this ->io ->notice ('CI Provider : ' . $ this ->ciProvider );
128
- $ this ->io ->notice ('Command wrapper : ' . $ this ->commandWrapper );
129
- $ this ->io ->notice ('Working dir : ' . $ this ->workingDir );
122
+ $ this ->io ->write (' Summary ' );
123
+ $ this ->io ->write ('--------------------------------- ' );
124
+ $ this ->io ->write ('Name : ' . $ this ->extensionName );
125
+ $ this ->io ->write ('Machine name : ' . $ this ->extensionMachineName );
126
+ $ this ->io ->write ('Type : ' . $ this ->extensionType );
127
+ $ this ->io ->write ('CI Provider : ' . $ this ->ciProvider );
128
+ $ this ->io ->write ('Command wrapper : ' . $ this ->commandWrapper );
129
+ $ this ->io ->write ('Working dir : ' . $ this ->workingDir );
130
130
}
131
131
132
132
/**
133
133
* Process README.md.
134
134
*/
135
135
protected function processReadme (): void {
136
- $ this ->io ->notice ('Processing README. ' );
136
+ $ this ->io ->write ('Processing README. ' );
137
137
$ this ->fileSystem ->remove ($ this ->workingDir . '/README.md ' );
138
138
$ this ->fileSystem ->rename ($ this ->workingDir . '/README.dist.md ' , $ this ->workingDir . '/README.md ' );
139
139
$ logo_url = sprintf (
@@ -163,7 +163,7 @@ protected function processComposer(): void {
163
163
* @throws \Exception
164
164
*/
165
165
protected function processInternalReplacement (): void {
166
- $ this ->io ->notice ('Processing internal replacement. ' );
166
+ $ this ->io ->write ('Processing internal replacement. ' );
167
167
168
168
$ extension_machine_name_class = self ::convertString ($ this ->extensionMachineName , 'class_name ' );
169
169
@@ -253,7 +253,7 @@ protected function processInternalReplacement(): void {
253
253
* Remove CI provider depends on CI provider selected.
254
254
*/
255
255
protected function removeCiProvider (): void {
256
- $ this ->io ->notice ('Processing remove CI Provider. ' );
256
+ $ this ->io ->write ('Processing remove CI Provider. ' );
257
257
$ ci_provider = $ this ->ciProvider ;
258
258
if ($ ci_provider === 'gha ' ) {
259
259
$ this ->removeCircleciCiProvider ();
@@ -281,7 +281,7 @@ protected function removeGhaCiProvider(): void {
281
281
* Remove command wrappers depends on command wrapper selected.
282
282
*/
283
283
protected function removeCommandWrapper (): void {
284
- $ this ->io ->notice ('Processing remove Command Wrapper. ' );
284
+ $ this ->io ->write ('Processing remove Command Wrapper. ' );
285
285
$ command_wrapper = $ this ->commandWrapper ;
286
286
switch ($ command_wrapper ) {
287
287
case 'ahoy ' :
@@ -327,7 +327,7 @@ public static function main(Event $event): void {
327
327
$ default_extension_ci_provider = getenv ('DRUPAL_EXTENSION_SCAFFOLD_CI_PROVIDER ' ) !== FALSE ? getenv ('DRUPAL_EXTENSION_SCAFFOLD_CI_PROVIDER ' ) : 'gha ' ;
328
328
$ default_extension_command_wrapper = getenv ('DRUPAL_EXTENSION_SCAFFOLD_COMMAND_WRAPPER ' ) !== FALSE ? getenv ('DRUPAL_EXTENSION_SCAFFOLD_COMMAND_WRAPPER ' ) : 'ahoy ' ;
329
329
330
- $ io ->notice ('Please follow the prompts to adjust your extension configuration ' );
330
+ $ io ->write ('Please follow the prompts to adjust your extension configuration ' );
331
331
332
332
$ extension_name = $ io ->ask ('Name: ' , $ default_extension_name );
333
333
$ default_extension_machine_name = getenv ('DRUPAL_EXTENSION_SCAFFOLD_MACHINE_NAME ' ) !== FALSE ?
@@ -380,7 +380,7 @@ public static function main(Event $event): void {
380
380
throw new \Exception (sprintf ('Initialization is not completed. Error %s ' , $ exception ->getMessage ()), $ exception ->getCode (), $ exception );
381
381
}
382
382
383
- $ io ->notice ('Initialization complete. ' );
383
+ $ io ->write ('Initialization complete. ' );
384
384
}
385
385
386
386
/**
0 commit comments