public static function addVCSPattern($pattern)
    {
        foreach ((array) $pattern as $p) {
            self::$vcsPatterns[] = $p;
        }

        self::$vcsPatterns = array_unique(self::$vcsPatterns);
    }
public static function addVCSPattern($pattern)
    {
        foreach ((array) $pattern as $p) {
            self::$vcsPatterns[] = $p;
        }

        self::$vcsPatterns = array_unique(self::$vcsPatterns);
    }
public static function addVCSPattern ( $ pattern ) { foreach ( ( array ) $ pattern as $ p ) { self :: $ vcsPatterns [ ] = $ p ; } self :: $ vcsPatterns = array_unique ( self :: $ vcsPatterns ) ; }
Adds VCS patterns.

@see ignoreVCS()

@param string|string[] $pattern VCS patterns to ignore
Adds VCS patterns .