public function inflectPackageVars($vars)
    {
        if ($vars['type'] == 'mautic-plugin') {
            $vars['name'] = preg_replace_callback('/(-[a-z])/', function ($matches) {
                return strtoupper($matches[0][1]);
            }, ucfirst($vars['name']));
        }

        return $vars;
    }
public function inflectPackageVars($vars)
    {
        if ($vars['type'] == 'mautic-plugin') {
            $vars['name'] = preg_replace_callback('/(-[a-z])/', function ($matches) {
                return strtoupper($matches[0][1]);
            }, ucfirst($vars['name']));
        }

        return $vars;
    }
public function inflectPackageVars ( $ vars ) { if ( $ vars [ 'type' ] == 'mautic-plugin' ) { $ vars [ 'name' ] = preg_replace_callback ( '/(-[a-z])/' , function ( $ matches ) { return strtoupper ( $ matches [ 0 ] [ 1 ] ) ; } , ucfirst ( $ vars [ 'name' ] ) ) ; } return $ vars ; }
Format package name of mautic-plugins to CamelCase
Format package name of mautic - plugins to CamelCase