Twig/Extension/ScrutinizerExtension.php
public function getQualityBadge(Repo $repo)
    {
        if ($repo->getQualityBadgeHash()) {
            return sprintf(
                '<img src="%s" />',
                $this->helper->getQualityBadgeUrl(
                    $repo->getSlug(),
                    $repo->getType(),
                    $repo->getQualityBadgeHash()
                )
            );
        }

        return '';
    }
public function getQualityBadge(Repo $repo)
    {
        if ($repo->getQualityBadgeHash()) {
            return sprintf(
                '<img src="%s" />',
                $this->helper->getQualityBadgeUrl(
                    $repo->getSlug(),
                    $repo->getType(),
                    $repo->getQualityBadgeHash()
                )
            );
        }

        return '';
    }
public function getQualityBadge ( Repo $ repo ) { if ( $ repo -> getQualityBadgeHash ( ) ) { return sprintf ( '<img src="%s" />' , $ this -> helper -> getQualityBadgeUrl ( $ repo -> getSlug ( ) , $ repo -> getType ( ) , $ repo -> getQualityBadgeHash ( ) ) ) ; } return '' ; }
Get Repo quality badge

@param Repo $repo
@return string
Get Repo quality badge