Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Recca Tsai committed Mar 6, 2017
1 parent 1105a7e commit 0f12ee9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to `laravel-tracy` will be documented in this file

## 1.8.4 - 2017-03-06

- 修正 DatabasePanel bug
- 修正某些 php 版本當使用 header 時第二個參數設為 false 時會出錯

## 1.8.3 - 2017-03-06

- 在 console 模式下不啟用,避免無法執行 PHPUnit
Expand Down
2 changes: 1 addition & 1 deletion src/LaravelTracyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class LaravelTracyServiceProvider extends ServiceProvider
*/
public function boot(DebuggerManager $debuggerManager, Kernel $kernel, View $view)
{
$viewCompiler = $view->getEngineResolver()
$view->getEngineResolver()
->resolve('blade')
->getCompiler()
->directive('bdump', function ($expression) {
Expand Down
3 changes: 0 additions & 3 deletions src/Middleware/RenderBar.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,6 @@ public function handle($request, $next)
}
echo $content;
}, 200);


return $this->responseFactory->make($content, 200, $headers);
}

$this->debuggerManager->dispatch();
Expand Down
2 changes: 1 addition & 1 deletion tests/Middleware/RenderBarTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function testHandleAssets()
$headers = ['foo' => 'bar'],
$content = 'foo',
]);
$responseFactory->shouldReceive('stream')->with(m::on(function($callback) use ($content) {
$responseFactory->shouldReceive('stream')->with(m::on(function ($callback) use ($content) {
ob_start();
$callback();
$output = ob_get_clean();
Expand Down

0 comments on commit 0f12ee9

Please sign in to comment.