@@ -100,10 +100,10 @@ public static function getSubscribedEvents(): array
100
100
*/
101
101
public function installHooks (Event $ event ): void
102
102
{
103
- $ this ->io ->write ('CaptainHook Composer Plugin ' );
103
+ $ this ->io ->write ('<info> CaptainHook Composer Plugin</info> ' );
104
104
105
105
if ($ this ->isPluginDisabled ()) {
106
- $ this ->io ->write ('<info >plugin is disabled</info > ' );
106
+ $ this ->io ->write (' <comment >plugin is disabled</comment > ' );
107
107
return ;
108
108
}
109
109
@@ -113,23 +113,23 @@ public function installHooks(Event $event): void
113
113
114
114
if (!file_exists ($ this ->executable )) {
115
115
$ this ->io ->write (
116
- '<info >CaptainHook executable not found</info > ' . PHP_EOL .
116
+ '<comment >CaptainHook executable not found</comment > ' . PHP_EOL .
117
117
PHP_EOL .
118
118
'Make sure you have installed the captainhook/captainhook package. ' . PHP_EOL .
119
119
'If you are using the PHAR you have to configure the path to your CaptainHook executable ' . PHP_EOL .
120
120
'using Composers \'extra \' config. e.g. ' . PHP_EOL .
121
121
PHP_EOL . '<comment> ' .
122
122
' "extra": { ' . PHP_EOL .
123
123
' "captainhook": { ' . PHP_EOL .
124
- ' "exec": "tools/captainhook ' . PHP_EOL .
124
+ ' "exec": "tools/captainhook.phar ' . PHP_EOL .
125
125
' } ' . PHP_EOL .
126
126
' } ' . PHP_EOL .
127
127
'</comment> ' . PHP_EOL .
128
128
'If you are uninstalling CaptainHook, we are sad seeing you go, ' .
129
129
'but we would appreciate your feedback on your experience. ' . PHP_EOL .
130
130
'Just go to https://github.com/CaptainHookPhp/captainhook/issues to leave your feedback ' . PHP_EOL .
131
- PHP_EOL .
132
- ' <comment>WARNING: Don \' t forget to deactivate the hooks in your .git/hooks directory.</comment> '
131
+ ' <comment>WARNING: Don \' t forget to deactivate the hooks in your .git/hooks directory.</comment> ' .
132
+ PHP_EOL
133
133
);
134
134
return ;
135
135
}
@@ -144,7 +144,7 @@ public function installHooks(Event $event): void
144
144
private function configure (): void
145
145
{
146
146
if (file_exists ($ this ->configuration )) {
147
- $ this ->io ->write (('<info >Using CaptainHook config: ' . $ this ->configuration . '</info > ' ));
147
+ $ this ->io ->write ((' <comment >Using CaptainHook config: ' . $ this ->configuration . '</comment > ' ));
148
148
return ;
149
149
}
150
150
0 commit comments