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

        $token = ' ,;';
        $ext = strtok($fileExtensions, $token);

        while ($ext !== false) {
            $this->allowedFileExtensions[] = $ext;
            $ext = strtok($token);
        }
    }
public function setAllowedFileExtensions($fileExtensions)
    {
        $this->allowedFileExtensions = [];

        $token = ' ,;';
        $ext = strtok($fileExtensions, $token);

        while ($ext !== false) {
            $this->allowedFileExtensions[] = $ext;
            $ext = strtok($token);
        }
    }
public function setAllowedFileExtensions ( $ fileExtensions ) { $ this -> allowedFileExtensions = [ ] ; $ token = ' ,;' ; $ ext = strtok ( $ fileExtensions , $ token ) ; while ( $ ext !== false ) { $ this -> allowedFileExtensions [ ] = $ ext ; $ ext = strtok ( $ token ) ; } }
Sets a list of filename extensions for valid php source code files

@param string $fileExtensions List of valid file extensions
Sets a list of filename extensions for valid php source code files