protected function lintDirectory($path)
    {
        $success = true;
        $directory = new \DirectoryIterator($this->phpci->buildPath . $path);

        foreach ($directory as $item) {
            if ($item->isDot()) {
                continue;
            }

            $itemPath = $path . $item->getFilename();

            if (in_array($itemPath, $this->ignore)) {
                continue;
            }

            if (!$this->lintItem($item, $itemPath)) {
                $success = false;
            }
        }

        return $success;
    }
protected function lintDirectory($path)
    {
        $success = true;
        $directory = new \DirectoryIterator($this->phpci->buildPath . $path);

        foreach ($directory as $item) {
            if ($item->isDot()) {
                continue;
            }

            $itemPath = $path . $item->getFilename();

            if (in_array($itemPath, $this->ignore)) {
                continue;
            }

            if (!$this->lintItem($item, $itemPath)) {
                $success = false;
            }
        }

        return $success;
    }
protected function lintDirectory ( $ path ) { $ success = true ; $ directory = new \ DirectoryIterator ( $ this -> phpci -> buildPath . $ path ) ; foreach ( $ directory as $ item ) { if ( $ item -> isDot ( ) ) { continue ; } $ itemPath = $ path . $ item -> getFilename ( ) ; if ( in_array ( $ itemPath , $ this -> ignore ) ) { continue ; } if ( ! $ this -> lintItem ( $ item , $ itemPath ) ) { $ success = false ; } } return $ success ; }
Run phptal lint against a directory of files.
@param $path
@return bool
Run phptal lint against a directory of files .