Test Failed
Push — master ( 69ec80...e8bb53 )
by Dev
03:37
created
src/google/TestProxy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public function isProxyValid(?string $proxy = null)
23 23
     {
24
-        $keywords = ['bateau', 'avion', 'navire', 'seconde', 'bac', 'piscine', 'fuser', 'place', 'homme', 'femme',  'quad', 'moto', 'velo',
24
+        $keywords = ['bateau', 'avion', 'navire', 'seconde', 'bac', 'piscine', 'fuser', 'place', 'homme', 'femme', 'quad', 'moto', 'velo',
25 25
             'enfant', 'poilu', 'voiture', 'oiseau', 'singe', 'animaux', 'nature', 'paysage', 'jeux', 'maison', 'paysage', 'jardin', ];
26 26
 
27 27
         $GoogleSerp = new Search($keywords[array_rand($keywords)]);
Please login to merge, or discard this patch.
src/google/Search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     public function extractResults()
95 95
     {
96 96
         for ($this->page = 1; $this->page <= $this->nbrPage; ++$this->page) {
97
-            if (! isset($url)) {// On génère l'url pour la première requète... Ensuite, on utilisera le lien Suivant.
97
+            if (!isset($url)) {// On génère l'url pour la première requète... Ensuite, on utilisera le lien Suivant.
98 98
                 $url = $this->generateGoogleSearchUrl();
99 99
             }
100 100
 
Please login to merge, or discard this patch.
src/qwant/QwantSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     public function extractResults()
95 95
     {
96 96
         for ($this->page = 1; $this->page <= $this->nbrPage; ++$this->page) {
97
-            if (! isset($url)) {// On génère l'url pour la première requète... Ensuite, on utilisera le lien Suivant.
97
+            if (!isset($url)) {// On génère l'url pour la première requète... Ensuite, on utilisera le lien Suivant.
98 98
                 $url = $this->generateGoogleSearchUrl();
99 99
             }
100 100
 
Please login to merge, or discard this patch.
src/google/CacheTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public function deleteCacheFiles(): int
44 44
     {
45
-        if (! $this->cacheFolder) {
45
+        if (!$this->cacheFolder) {
46 46
             throw new Exception('Cache Folder is not defined : you can\'t delete cache files');
47 47
         }
48 48
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      */
59 59
     protected function getCacheManager(): ?SimpleCacheFile
60 60
     {
61
-        if (! $this->cacheFolder) {
61
+        if (!$this->cacheFolder) {
62 62
             return null;
63 63
         }
64 64
 
Please login to merge, or discard this patch.