src/Task/Git/CommitMessage.php
private function getSubjectLine($context)
    {
        $commitMessage = $context->getCommitMessage();
        $lines = $this->getCommitMessageLinesWithoutComments($commitMessage);
        return (string) $lines[0];
    }
private function getSubjectLine($context)
    {
        $commitMessage = $context->getCommitMessage();
        $lines = $this->getCommitMessageLinesWithoutComments($commitMessage);
        return (string) $lines[0];
    }
private function getSubjectLine ( $ context ) { $ commitMessage = $ context -> getCommitMessage ( ) ; $ lines = $ this -> getCommitMessageLinesWithoutComments ( $ commitMessage ) ; return ( string ) $ lines [ 0 ] ; }
Gets a clean subject line from the commit message

@param $context
@return string
Gets a clean subject line from the commit message