protected function tryAndProcessRules()
    {
        if (!empty($this->rules) && !is_array($this->rules)) {
            $this->phpci->logFailure('The "rules" option must be an array.');
            return false;
        }

        foreach ($this->rules as &$rule) {
            if (strpos($rule, '/') !== false) {
                $rule = $this->phpci->buildPath . $rule;
            }
        }

        return true;
    }
protected function tryAndProcessRules()
    {
        if (!empty($this->rules) && !is_array($this->rules)) {
            $this->phpci->logFailure('The "rules" option must be an array.');
            return false;
        }

        foreach ($this->rules as &$rule) {
            if (strpos($rule, '/') !== false) {
                $rule = $this->phpci->buildPath . $rule;
            }
        }

        return true;
    }
protected function tryAndProcessRules ( ) { if ( ! empty ( $ this -> rules ) && ! is_array ( $ this -> rules ) ) { $ this -> phpci -> logFailure ( 'The "rules" option must be an array.' ) ; return false ; } foreach ( $ this -> rules as & $ rule ) { if ( strpos ( $ rule , '/' ) !== false ) { $ rule = $ this -> phpci -> buildPath . $ rule ; } } return true ; }
Try and process the rules parameter from phpci.yml.
@return bool
Try and process the rules parameter from phpci . yml .