Passed
Push — master ( 2ee855...172d3e )
by Matthias
12:37 queued 10:53
created
examples/consume_website.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,11 @@
 block discarded – undo
3 3
 use Symfony\Component\HttpClient\NativeHttpClient;
4 4
 use Symfony\Component\HttpClient\Psr18Client;
5 5
 
6
-require __DIR__ . "/../vendor/autoload.php";
6
+require __DIR__."/../vendor/autoload.php";
7 7
 
8 8
 // Initialize new Psr\HttpClient implementation. This example uses Symfony's implementation from the symfony/http-client
9 9
 // package but you can use any implementation provided by your framework of choice.
10
-$client = new Psr18Client(new NativeHttpClient([ "headers" => [ "User-Agent" => "facebookexternalhit/1.1" ] ]));
10
+$client = new Psr18Client(new NativeHttpClient(["headers" => ["User-Agent" => "facebookexternalhit/1.1"]]));
11 11
 
12 12
 // Create a new crawler
13 13
 $crawler = new Fusonic\OpenGraph\Consumer($client, $client);
Please login to merge, or discard this patch.