Skip to content

Commit

Permalink
update to use whoops 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Sprayberry committed Jan 9, 2016
1 parent edb06cb commit 9c73c0c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 22 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"rdlowrey/auryn": "~1.1",
"league/event": "~2.1",
"morrisonlevi/ardent": "~0.14",
"filp/whoops": "dev-master"
"filp/whoops": "~2.0.0"
},
"require-dev": {
"phpunit/phpunit": "5.1.3",
Expand Down
33 changes: 14 additions & 19 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
use Auryn\Injector;
use Whoops\Run;

function bootstrap(EnvironmentIntegrationConfig $config = null) : Injector {
function bootstrap() : Injector {
$run = (new Run())->register();

$injector = (new Services($config))->createInjector();
$injector = (new Services())->createInjector();
$injector->share($run);

$engine = $injector->make(Engine::class);
Expand Down

0 comments on commit 9c73c0c

Please sign in to comment.