public function persist()
    {
        try {
            return $this
                ->collectCloverXml()
                ->collectGitInfo()
                ->collectEnvVars()
                ->dumpJsonFile()
                ->send();
        } catch (\PhpCoveralls\Bundle\CoverallsBundle\Entity\Exception\RequirementsNotSatisfiedException $e) {
            $this->logger->error(sprintf('%s', $e->getHelpMessage()));

            return false;
        } catch (\Exception $e) {
            $this->logger->error(sprintf("%s\n\n%s", $e->getMessage(), $e->getTraceAsString()));

            return false;
        }
    }
public function persist()
    {
        try {
            return $this
                ->collectCloverXml()
                ->collectGitInfo()
                ->collectEnvVars()
                ->dumpJsonFile()
                ->send();
        } catch (\PhpCoveralls\Bundle\CoverallsBundle\Entity\Exception\RequirementsNotSatisfiedException $e) {
            $this->logger->error(sprintf('%s', $e->getHelpMessage()));

            return false;
        } catch (\Exception $e) {
            $this->logger->error(sprintf("%s\n\n%s", $e->getMessage(), $e->getTraceAsString()));

            return false;
        }
    }
public function persist ( ) { try { return $ this -> collectCloverXml ( ) -> collectGitInfo ( ) -> collectEnvVars ( ) -> dumpJsonFile ( ) -> send ( ) ; } catch ( \ PhpCoveralls \ Bundle \ CoverallsBundle \ Entity \ Exception \ RequirementsNotSatisfiedException $ e ) { $ this -> logger -> error ( sprintf ( '%s' , $ e -> getHelpMessage ( ) ) ) ; return false ; } catch ( \ Exception $ e ) { $ this -> logger -> error ( sprintf ( "%s\n\n%s" , $ e -> getMessage ( ) , $ e -> getTraceAsString ( ) ) ) ; return false ; } }
Persist coverage data to Coveralls.

@return bool
Persist coverage data to Coveralls .