original_string: public static function addVCSPattern($pattern)
      {
          foreach ((array) $pattern as $p) {
              self::$vcsPatterns[] = $p;
          }
  
          self::$vcsPatterns = array_unique(self::$vcsPatterns);
      }
code: public static function addVCSPattern($pattern)
      {
          foreach ((array) $pattern as $p) {
              self::$vcsPatterns[] = $p;
          }
  
          self::$vcsPatterns = array_unique(self::$vcsPatterns);
      }
code_tokens: public static function addVCSPattern ( $ pattern ) { foreach ( ( array ) $ pattern as $ p ) { self :: $ vcsPatterns [ ] = $ p ; } self :: $ vcsPatterns = array_unique ( self :: $ vcsPatterns ) ; }
docstring: Adds VCS patterns.
  
  @see ignoreVCS()
  
  @param string|string[] $pattern VCS patterns to ignore
docstring_tokens: Adds VCS patterns .