src/Composer/Cmd.php
/**
     * Create a CaptainHook Composer application.
     *
     * @param  \Composer\Script\Event $event
     * @param  string                 $config
     * @return \SebastianFeldmann\CaptainHook\Composer\Application
     */
Create a CaptainHook Composer application.
Create a CaptainHook Composer application .
private static function createApplication(Event $event, string $config = '') : Application
    {
        $app = new Application();
        $app->setAutoExit(false);
        $app->setConfigFile($config);
        $app->setProxyIO($event->getIO());
        return $app;
    }
private static function createApplication ( Event $ event , string $ config = '' ) : Application { $ app = new Application ( ) ; $ app -> setAutoExit ( false ) ; $ app -> setConfigFile ( $ config ) ; $ app -> setProxyIO ( $ event -> getIO ( ) ) ; return $ app ; }
Create a CaptainHook Composer application.
Create a CaptainHook Composer application .