Skip to content

Commit f4cde9d

Browse files
Rename callback
1 parent 1037409 commit f4cde9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ComposerPlugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function activate(Composer $composer, IOInterface $io) : void
5252
public static function getSubscribedEvents() : array
5353
{
5454
return [
55-
ScriptEvents::POST_AUTOLOAD_DUMP => 'runPostInstallScript'
55+
ScriptEvents::POST_AUTOLOAD_DUMP => 'installHooks'
5656
];
5757
}
5858

@@ -62,7 +62,7 @@ public static function getSubscribedEvents() : array
6262
* @param \Composer\Script\Event $event
6363
* @return void
6464
*/
65-
public function runPostInstallScript(Event $event) : void
65+
public function installHooks(Event $event) : void
6666
{
6767
$event->getIO()->write('CaptainHook Composer Plugin');
6868
if (!$this->isCaptainHookInstalled()) {

0 commit comments

Comments
 (0)