Test Failed
Push — master ( 138499...684014 )
by Dev
02:21
created
src/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/Search.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
 
130 130
     protected function exctractOrganicResults()
131 131
     {
132
-        $results = $this->html->find(str_replace(';', ', ',$this->getSelector('organic')));
132
+        $results = $this->html->find(str_replace(';', ', ', $this->getSelector('organic')));
133 133
         $page_pos = 1;
134 134
         foreach ($results as $r) {
135 135
             $title = $r->find('h3, [role=heading]', 0);
Please login to merge, or discard this patch.
Tests/SearchTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
                  ->setSleep(1)
17 17
                  ->setCacheFolder(null)
18 18
         ;
19
-        $results =  $Google->extractResults();
19
+        $results = $Google->extractResults();
20 20
 
21 21
         $this->assertEquals('https://piedweb.com/', $results[0]['link']);
22 22
     }
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
                  ->setMobile(true)
33 33
                  ->setCacheFolder(null)
34 34
         ;
35
-        $results =  $Google->extractResults();
35
+        $results = $Google->extractResults();
36 36
 
37 37
         $this->assertEquals('https://piedweb.com/', $results[0]['link']);
38 38
     }
Please login to merge, or discard this patch.