Skip to content

Commit

Permalink
PhpSpecRunExtension: fix extension configuration - fixes richardmille…
Browse files Browse the repository at this point in the history
  • Loading branch information
ek9 committed Mar 27, 2017
1 parent 1fdcc75 commit e7b5cd2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ class PhpSpecRunExtension implements Extension
*/
public function load(ServiceContainer $container, array $params)
{
$container->define('rmiller.run_runner', function ($c) {
$container->define('rmiller.run_runner', function ($c) use ($params) {

$params = $c->getParam('rerunner', []);
$phpspecPath = isset($params['path']) ? $params['path'] : 'bin/phpspec';
$phpspecConfig = isset($params['config']) ? $params['config'] : null;

Expand Down

0 comments on commit e7b5cd2

Please sign in to comment.