Skip to content

Commit 25f4ff2

Browse files
committed
Merge branch 'master' into v5
2 parents 6adac0a + f2a13af commit 25f4ff2

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Clockwork/Storage/SymfonyStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function __construct(Profiler $profiler, $path)
2222
}
2323

2424
// Store request, no-op since this is read-only storage implementation
25-
public function store(Request $request)
25+
public function store(Request $request, $skipIndex = false)
2626
{
2727
return;
2828
}

Clockwork/Support/Slim/ClockworkMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected function retrieveRequest(Request $request, $id, $direction, $count)
8080

8181
protected function logRequest(Request $request, $response)
8282
{
83-
$this->clockwork->getTimeline()->finalize($this->startTime);
83+
$this->clockwork->timeline()->finalize($this->startTime);
8484
$this->clockwork->addDataSource(new PsrMessageDataSource($request, $response));
8585

8686
$this->clockwork->resolveRequest();

Clockwork/Support/Slim/Legacy/ClockworkMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ protected function retrieveRequest(Response $response, Request $request, $id, $d
8282

8383
protected function logRequest(Request $request, Response $response)
8484
{
85-
$this->clockwork->getTimeline()->finalize($this->startTime);
85+
$this->clockwork->timeline()->finalize($this->startTime);
8686
$this->clockwork->addDataSource(new PsrMessageDataSource($request, $response));
8787

8888
$this->clockwork->resolveRequest();

Clockwork/Support/Vanilla/Clockwork.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ public function configureShouldCollect()
296296
]);
297297

298298
// don't collect data for Clockwork requests
299-
$this->clockwork->shouldCollect()->except(rtrim($this->config['api'], '/'));
299+
$this->clockwork->shouldCollect()->except(preg_quote(rtrim($this->config['api'], '/'), '#'));
300300
}
301301

302302
// Configure should record rules based on user configuration

0 commit comments

Comments
 (0)