public static function isVcsFile($fileName)
    {
        foreach (self::$vcsPatterns as $pattern) {
            if (strpos($fileName, $pattern) !== false) {
                return true;
            }
        }
        return false;
    }
public static function isVcsFile($fileName)
    {
        foreach (self::$vcsPatterns as $pattern) {
            if (strpos($fileName, $pattern) !== false) {
                return true;
            }
        }
        return false;
    }
public static function isVcsFile ( $ fileName ) { foreach ( self :: $ vcsPatterns as $ pattern ) { if ( strpos ( $ fileName , $ pattern ) !== false ) { return true ; } } return false ; }
Returns true if file path contains a vcs name.

@param string $fileName

@return bool
Returns true if file path contains a vcs name .