Failed Conditions
Pull Request — master (#1379)
by Timo
28:04
created
Classes/Search/LastSearchesComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     public function initializeSearchComponent()
42 42
     {
43 43
         if ($this->searchConfiguration['lastSearches']) {
44
-            $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['afterSearch']['lastSearches']  = LastSearchesWriterProcessor::class;
44
+            $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['afterSearch']['lastSearches'] = LastSearchesWriterProcessor::class;
45 45
         }
46 46
     }
47 47
 }
Please login to merge, or discard this patch.
Classes/ViewHelpers/Uri/Result/AddSearchWordListViewHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 
61 61
             /** @var $resultSet SearchResultSet */
62 62
         $resultSet = self::getUsedSearchResultSetFromRenderingContext($renderingContext);
63
-        if(!$resultSet->getUsedSearchRequest()->getContextTypoScriptConfiguration()->getSearchResultsSiteHighlighting()) {
63
+        if (!$resultSet->getUsedSearchRequest()->getContextTypoScriptConfiguration()->getSearchResultsSiteHighlighting()) {
64 64
             return $url;
65 65
         }
66 66
 
Please login to merge, or discard this patch.
Classes/Domain/Search/SearchRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,11 +112,11 @@
 block discarded – undo
112 112
         $this->id = spl_object_hash($this);
113 113
 
114 114
         // overwrite the plugin namespace and the persistentArgumentsPaths
115
-        if(!is_null($typoScriptConfiguration)) {
115
+        if (!is_null($typoScriptConfiguration)) {
116 116
             $this->argumentNameSpace = $typoScriptConfiguration->getSearchPluginNamespace();
117 117
         }
118 118
 
119
-        $this->persistentArgumentsPaths = [$this->argumentNameSpace . ':q', $this->argumentNameSpace . ':filter', $this->argumentNameSpace . ':sort',];
119
+        $this->persistentArgumentsPaths = [$this->argumentNameSpace . ':q', $this->argumentNameSpace . ':filter', $this->argumentNameSpace . ':sort', ];
120 120
         $this->reset();
121 121
     }
122 122
 
Please login to merge, or discard this patch.
Classes/Domain/Search/Highlight/SiteHighlighterUrlModifier.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@
 block discarded – undo
48 48
         $urlHelper = GeneralUtility::makeInstance(UrlHelper::class, $url);
49 49
         $urlHelper->addQueryParameter('sword_list', $searchWords);
50 50
 
51
-        if($addNoCache) {
51
+        if ($addNoCache) {
52 52
             $urlHelper->addQueryParameter('no_cache', '1');
53 53
         }
54 54
 
55
-        if(!$keepCHash) {
55
+        if (!$keepCHash) {
56 56
             $urlHelper->removeQueryParameter('cHash');
57 57
         }
58 58
 
Please login to merge, or discard this patch.
Classes/System/Url/UrlHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * @return void
50 50
      */
51 51
     protected function parseInitialUrl() {
52
-        if($this->wasParsed) {
52
+        if ($this->wasParsed) {
53 53
             return;
54 54
         }
55 55
         $this->parts = parse_url($this->initialUrl);
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
         $host     = isset($parsed_url['host']) ? $parsed_url['host'] : '';
105 105
         $port     = isset($parsed_url['port']) ? ':' . $parsed_url['port'] : '';
106 106
         $user     = isset($parsed_url['user']) ? $parsed_url['user'] : '';
107
-        $pass     = isset($parsed_url['pass']) ? ':' . $parsed_url['pass']  : '';
107
+        $pass     = isset($parsed_url['pass']) ? ':' . $parsed_url['pass'] : '';
108 108
         $pass     = ($user || $pass) ? "$pass@" : '';
109 109
         $path     = isset($parsed_url['path']) ? $parsed_url['path'] : '';
110 110
         $query    = isset($parsed_url['query']) ? '?' . $parsed_url['query'] : '';
Please login to merge, or discard this patch.