1
0
Fork 0

adjusted script event name

pull/1945/head
Tobias Munk 2013-05-31 11:38:41 +02:00
parent c0280256bf
commit 337f817ba3
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ EOT
if ($noScripts === false) { if ($noScripts === false) {
// dispatch event // dispatch event
$this->getComposer()->getEventDispatcher()->dispatchCommandEvent(ScriptEvents::POST_CREATE_PROJECT, $installDevPackages); $this->getComposer()->getEventDispatcher()->dispatchCommandEvent(ScriptEvents::POST_CREATE_PROJECT_CMD, $installDevPackages);
} }
$hasVcs = $installedFromVcs; $hasVcs = $installedFromVcs;

View File

@ -145,6 +145,6 @@ class ScriptEvents
* *
* @var string * @var string
*/ */
const POST_CREATE_PROJECT = 'post-create-project'; const POST_CREATE_PROJECT_CMD = 'post-create-project-cmd';
} }