Passed
Push — master ( 653726...9a5bd9 )
by Dev
03:05
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/CacheTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function deleteCacheFiles()
41 41
     {
42
-        if (! $this->cacheFolder) {
42
+        if (!$this->cacheFolder) {
43 43
             throw new Exception('Cache Folder is not defined : you can\'t delete cache files');
44 44
         }
45 45
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      */
56 56
     protected function getCacheManager()
57 57
     {
58
-        if (! $this->cacheFolder) {
58
+        if (!$this->cacheFolder) {
59 59
             return null;
60 60
         }
61 61
 
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
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     public function extractResults()
89 89
     {
90 90
         for ($this->page = 1; $this->page <= $this->nbrPage; ++$this->page) {
91
-            if (! isset($url)) {// On génère l'url pour la première requète... Ensuite, on utilisera le lien Suivant.
91
+            if (!isset($url)) {// On génère l'url pour la première requète... Ensuite, on utilisera le lien Suivant.
92 92
                 $url = $this->generateGoogleSearchUrl();
93 93
             }
94 94
 
Please login to merge, or discard this patch.