classes/phing/util/DirectoryScanner.php
public function addDefaultExcludes()
    {
        $defaultExcludesTemp = self::getDefaultExcludes();
        $newExcludes = [];
        foreach ($defaultExcludesTemp as $temp) {
            $newExcludes[] = str_replace(['\\', '/'], PhingFile::$separator, $temp);
        }
        $this->excludes = array_merge((array) $this->excludes, $newExcludes);
    }
public function addDefaultExcludes()
    {
        $defaultExcludesTemp = self::getDefaultExcludes();
        $newExcludes = [];
        foreach ($defaultExcludesTemp as $temp) {
            $newExcludes[] = str_replace(['\\', '/'], PhingFile::$separator, $temp);
        }
        $this->excludes = array_merge((array) $this->excludes, $newExcludes);
    }
public function addDefaultExcludes ( ) { $ defaultExcludesTemp = self :: getDefaultExcludes ( ) ; $ newExcludes = [ ] ; foreach ( $ defaultExcludesTemp as $ temp ) { $ newExcludes [ ] = str_replace ( [ '\\' , '/' ] , PhingFile :: $ separator , $ temp ) ; } $ this -> excludes = array_merge ( ( array ) $ this -> excludes , $ newExcludes ) ; }
Adds the array with default exclusions to the current exclusions set.
Adds the array with default exclusions to the current exclusions set .