public function pass(CommitMessage $msg) : bool
    {
        $subjectLength = strlen($msg->getSubject());
        if ($subjectLength > $this->maxLength) {
            $this->hint .= ' (' . $subjectLength . ')';
            return false;
        }
        return true;
    }
public function pass(CommitMessage $msg) : bool
    {
        $subjectLength = strlen($msg->getSubject());
        if ($subjectLength > $this->maxLength) {
            $this->hint .= ' (' . $subjectLength . ')';
            return false;
        }
        return true;
    }
public function pass ( CommitMessage $ msg ) : bool { $ subjectLength = strlen ( $ msg -> getSubject ( ) ) ; if ( $ subjectLength > $ this -> maxLength ) { $ this -> hint .= ' (' . $ subjectLength . ')' ; return false ; } return true ; }
Check if commit message doesn't exceeed the max length

@param  \SebastianFeldmann\Git\CommitMessage $msg
@return bool
Check if commit message doesn t exceeed the max length