protected function checkPluginInstallationStatus(SolrAdminService $adminService)
    {
        if ($this->isPluginInstalled($adminService)) {
            return null;
        }

        $variables = ['solr' => $adminService, 'recommendedVersion' => self::RECOMMENDED_PLUGIN_VERSION];

        $report = $this->getRenderedReport('AccessFilterPluginInstalledStatusNotInstalled.html', $variables);
        return GeneralUtility::makeInstance(
            Status::class,
            /** @scrutinizer ignore-type */ 'Access Filter Plugin',
            /** @scrutinizer ignore-type */ 'Not Installed',
            /** @scrutinizer ignore-type */ $report,
            /** @scrutinizer ignore-type */ Status::WARNING
        );
    }
protected function checkPluginInstallationStatus(SolrAdminService $adminService)
    {
        if ($this->isPluginInstalled($adminService)) {
            return null;
        }

        $variables = ['solr' => $adminService, 'recommendedVersion' => self::RECOMMENDED_PLUGIN_VERSION];

        $report = $this->getRenderedReport('AccessFilterPluginInstalledStatusNotInstalled.html', $variables);
        return GeneralUtility::makeInstance(
            Status::class,
            /** @scrutinizer ignore-type */ 'Access Filter Plugin',
            /** @scrutinizer ignore-type */ 'Not Installed',
            /** @scrutinizer ignore-type */ $report,
            /** @scrutinizer ignore-type */ Status::WARNING
        );
    }
protected function checkPluginInstallationStatus ( SolrAdminService $ adminService ) { if ( $ this -> isPluginInstalled ( $ adminService ) ) { return null ; } $ variables = [ 'solr' => $ adminService , 'recommendedVersion' => self :: RECOMMENDED_PLUGIN_VERSION ] ; $ report = $ this -> getRenderedReport ( 'AccessFilterPluginInstalledStatusNotInstalled.html' , $ variables ) ; return GeneralUtility :: makeInstance ( Status :: class , /** @scrutinizer ignore-type */ 'Access Filter Plugin' , /** @scrutinizer ignore-type */ 'Not Installed' , /** @scrutinizer ignore-type */ $ report , /** @scrutinizer ignore-type */ Status :: WARNING ) ; }
Checks whether the Solr plugin is installed.

@param SolrAdminService $adminService
@return null|\TYPO3\CMS\Reports\Status
Checks whether the Solr plugin is installed .