Failed Conditions
Pull Request — master (#1379)
by Timo
19:56
created
Classes/ViewHelpers/Backend/Document/IsBoostedFieldViewHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      * This method decides if the condition is true or false
50 50
      *
51 51
      * @param array $arguments ViewHelper arguments to evaluate the condition for this ViewHelper.
52
-     * @return bool
52
+     * @return double
53 53
      */
54 54
     protected static function evaluateCondition($arguments = null)
55 55
     {
Please login to merge, or discard this patch.
Classes/Controller/Backend/PageModuleSummary.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     {
81 81
         /** @var $service \TYPO3\CMS\Extbase\Service\FlexFormService::class */
82 82
         $service = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Service\FlexFormService::class);
83
-        $this->flexformData  = $service->convertFlexFormContentToArray($contentElement['pi_flexform']);
83
+        $this->flexformData = $service->convertFlexFormContentToArray($contentElement['pi_flexform']);
84 84
         $this->pluginContentElement = $contentElement;
85 85
     }
86 86
 
Please login to merge, or discard this patch.
Classes/Domain/Search/ResultSet/Facets/AbstractFacet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
     public function getIncludeInUsedFacets()
220 220
     {
221 221
 
222
-        return ((int) $this->getFacetSettingOrDefaultValue('includeInUsedFacets', 1)) === 1;
222
+        return ((int)$this->getFacetSettingOrDefaultValue('includeInUsedFacets', 1)) === 1;
223 223
     }
224 224
 
225 225
     /**
Please login to merge, or discard this patch.
Classes/Controller/SearchController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,9 +53,9 @@
 block discarded – undo
53 53
      */
54 54
     public function initializeView(ViewInterface $view)
55 55
     {
56
-        if($view instanceof TemplateView) {
56
+        if ($view instanceof TemplateView) {
57 57
             $customTemplate = $this->getCustomTemplateFromConfiguration();
58
-            if($customTemplate === '') {
58
+            if ($customTemplate === '') {
59 59
                 return;
60 60
             }
61 61
             $view->setTemplatePathAndFilename($customTemplate);
Please login to merge, or discard this patch.
Classes/Domain/Index/Queue/RecordMonitor/Helper/RootPageResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
187 187
         }
188 188
         if ($this->extensionConfiguration->getIsUseConfigurationTrackRecordsOutsideSiteroot()) {
189 189
             $recordPageId = $this->getRecordPageId($table, $uid);
190
-            if($recordPageId === 0) {
190
+            if ($recordPageId === 0) {
191 191
                 return $rootPages;
192 192
             }
193 193
             $alternativeSiteRoots = $this->getAlternativeSiteRootPagesIds($table, $uid, $recordPageId);
Please login to merge, or discard this patch.
Classes/Domain/Search/ResultSet/ResultSetReconstitutionProcessor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
  * The TYPO3 project - inspiring people to share!
15 15
  */
16 16
 
17
-use ApacheSolrForTypo3\Solr\Domain\Search\LastSearches\LastSearchesService;
18 17
 use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\FacetRegistry;
19 18
 use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Sorting\Sorting;
20 19
 use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Spellchecking\Suggestion;
Please login to merge, or discard this patch.
Classes/Domain/Search/Statistics/StatisticsWriterProcessor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
 use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\SearchResultSet;
29 29
 use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\SearchResultSetProcessor;
30 30
 use ApacheSolrForTypo3\Solr\Query;
31
-use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration;
32 31
 use ApacheSolrForTypo3\Solr\HtmlContentExtractor;
33 32
 use TYPO3\CMS\Core\Utility\GeneralUtility;
34 33
 
Please login to merge, or discard this patch.
Classes/Query/Modifier/Faceting.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -24,9 +24,7 @@
 block discarded – undo
24 24
  *  This copyright notice MUST APPEAR in all copies of the script!
25 25
  ***************************************************************/
26 26
 
27
-use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\FacetQueryBuilderRegistry;
28 27
 use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\FacetRegistry;
29
-use ApacheSolrForTypo3\Solr\Domain\Search\ResultSet\Facets\FacetUrlDecoderRegistry;
30 28
 use ApacheSolrForTypo3\Solr\Domain\Search\SearchRequest;
31 29
 use ApacheSolrForTypo3\Solr\Domain\Search\SearchRequestAware;
32 30
 use ApacheSolrForTypo3\Solr\Query;
Please login to merge, or discard this patch.
Classes/Search.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
  ***************************************************************/
26 26
 
27 27
 use ApacheSolrForTypo3\Solr\Search\FacetsModifier;
28
-use ApacheSolrForTypo3\Solr\Search\SearchAware;
29 28
 use ApacheSolrForTypo3\Solr\System\Configuration\TypoScriptConfiguration;
30 29
 use ApacheSolrForTypo3\Solr\System\Logging\SolrLogManager;
31 30
 use TYPO3\CMS\Core\SingletonInterface;
Please login to merge, or discard this patch.