classes/phing/tasks/ext/pdepend/PhpDependTask.php
public function setExcludePackages($excludePackages)
    {
        $this->excludePackages = [];

        $token = ' ,;';
        $pattern = strtok($excludePackages, $token);

        while ($pattern !== false) {
            $this->excludePackages[] = $pattern;
            $pattern = strtok($token);
        }
    }
public function setExcludePackages($excludePackages)
    {
        $this->excludePackages = [];

        $token = ' ,;';
        $pattern = strtok($excludePackages, $token);

        while ($pattern !== false) {
            $this->excludePackages[] = $pattern;
            $pattern = strtok($token);
        }
    }
public function setExcludePackages ( $ excludePackages ) { $ this -> excludePackages = [ ] ; $ token = ' ,;' ; $ pattern = strtok ( $ excludePackages , $ token ) ; while ( $ pattern !== false ) { $ this -> excludePackages [ ] = $ pattern ; $ pattern = strtok ( $ token ) ; } }
Sets a list of exclude packages

@param string $excludePackages Exclude packages
Sets a list of exclude packages