@@ -60,7 +60,7 @@ |
||
60 | 60 | $crawler = new Crawler($response->content()); |
61 | 61 | |
62 | 62 | $content = $crawler->filter('link, script[src], img[src]') |
63 | - ->extract(['src', 'href']); |
|
63 | + ->extract(['src', 'href']); |
|
64 | 64 | |
65 | 65 | // TODO: Ordering might be necessary for manifest files due to https://laravel.com/docs/5.5/mix#vendor-extraction |
66 | 66 | return collect($content)->flatten(1) |
@@ -20,7 +20,7 @@ |
||
20 | 20 | |
21 | 21 | if ($push !== null) { |
22 | 22 | $this->header('Link', $push->getLink()) |
23 | - ->withCookie($push->getCookie()); |
|
23 | + ->withCookie($push->getCookie()); |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | return $this; |
@@ -61,7 +61,7 @@ |
||
61 | 61 | { |
62 | 62 | // The function "public_path" is in "Illuminate/Foundation" which is no standalone dependency. |
63 | 63 | Container::getInstance() |
64 | - ->instance('path.public', __DIR__ . DIRECTORY_SEPARATOR . 'fixtures'); |
|
64 | + ->instance('path.public', __DIR__ . DIRECTORY_SEPARATOR . 'fixtures'); |
|
65 | 65 | |
66 | 66 | $this->request = new Request(); |
67 | 67 | $this->builder = new Builder($this->request, $this->builderSettings); |
@@ -61,7 +61,7 @@ |
||
61 | 61 | { |
62 | 62 | // The function "public_path" is in "Illuminate/Foundation" which is no standalone dependency. |
63 | 63 | Container::getInstance() |
64 | - ->instance('path.public', __DIR__ . DIRECTORY_SEPARATOR . 'fixtures'); |
|
64 | + ->instance('path.public', __DIR__.DIRECTORY_SEPARATOR.'fixtures'); |
|
65 | 65 | |
66 | 66 | $this->request = new Request(); |
67 | 67 | $this->builder = new Builder($this->request, $this->builderSettings); |
@@ -15,6 +15,6 @@ |
||
15 | 15 | $destination = ($path ? DIRECTORY_SEPARATOR . ltrim($path, DIRECTORY_SEPARATOR) : $path); |
16 | 16 | |
17 | 17 | return Container::getInstance() |
18 | - ->make('path.public') . $destination; |
|
18 | + ->make('path.public').$destination; |
|
19 | 19 | } |
20 | 20 | } |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | public function it_should_return_null_when_the_given_resources_already_got_cached() |
119 | 119 | { |
120 | 120 | $cache = $this->transform($this->pushable) |
121 | - ->toJson(); |
|
121 | + ->toJson(); |
|
122 | 122 | |
123 | 123 | $cookies = [ |
124 | 124 | $this->builderSettings['cookie']['name'] => $cache, |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | $pushed = array_slice($this->pushable, 0, 4); |
140 | 140 | |
141 | 141 | $cache = $this->transform($pushed) |
142 | - ->toJson(); |
|
142 | + ->toJson(); |
|
143 | 143 | |
144 | 144 | $cookies = [ |
145 | 145 | $this->builderSettings['cookie']['name'] => $cache, |
@@ -15,7 +15,7 @@ |
||
15 | 15 | * |
16 | 16 | * @var string |
17 | 17 | */ |
18 | - private $config = __DIR__ . '/../config/http2-pusher.php'; |
|
18 | + private $config = __DIR__.'/../config/http2-pusher.php'; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * Bootstrap any application services. |
@@ -172,7 +172,7 @@ |
||
172 | 172 | { |
173 | 173 | return function () use ($page) { |
174 | 174 | return new Response( |
175 | - file_get_contents(__DIR__ . "/fixtures/pages/{$page}.html") |
|
175 | + file_get_contents(__DIR__."/fixtures/pages/{$page}.html") |
|
176 | 176 | ); |
177 | 177 | }; |
178 | 178 | } |