@@ -100,10 +100,10 @@ public static function getSubscribedEvents(): array
100100 */
101101 public function installHooks (Event $ event ): void
102102 {
103- $ this ->io ->write ('CaptainHook Composer Plugin ' );
103+ $ this ->io ->write ('<info> CaptainHook Composer Plugin</info> ' );
104104
105105 if ($ this ->isPluginDisabled ()) {
106- $ this ->io ->write ('<info >plugin is disabled</info > ' );
106+ $ this ->io ->write (' <comment >plugin is disabled</comment > ' );
107107 return ;
108108 }
109109
@@ -113,23 +113,23 @@ public function installHooks(Event $event): void
113113
114114 if (!file_exists ($ this ->executable )) {
115115 $ this ->io ->write (
116- '<info >CaptainHook executable not found</info > ' . PHP_EOL .
116+ '<comment >CaptainHook executable not found</comment > ' . PHP_EOL .
117117 PHP_EOL .
118118 'Make sure you have installed the captainhook/captainhook package. ' . PHP_EOL .
119119 'If you are using the PHAR you have to configure the path to your CaptainHook executable ' . PHP_EOL .
120120 'using Composers \'extra \' config. e.g. ' . PHP_EOL .
121121 PHP_EOL . '<comment> ' .
122122 ' "extra": { ' . PHP_EOL .
123123 ' "captainhook": { ' . PHP_EOL .
124- ' "exec": "tools/captainhook ' . PHP_EOL .
124+ ' "exec": "tools/captainhook.phar ' . PHP_EOL .
125125 ' } ' . PHP_EOL .
126126 ' } ' . PHP_EOL .
127127 '</comment> ' . PHP_EOL .
128128 'If you are uninstalling CaptainHook, we are sad seeing you go, ' .
129129 'but we would appreciate your feedback on your experience. ' . PHP_EOL .
130130 '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
133133 );
134134 return ;
135135 }
@@ -144,7 +144,7 @@ public function installHooks(Event $event): void
144144 private function configure (): void
145145 {
146146 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 > ' ));
148148 return ;
149149 }
150150
0 commit comments