Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Making parameter in test runner optional.

  • Loading branch information...
commit 65eddeb7a53069bbc25547653096163b5c778fc4 1 parent 2635f93
@davidpersson davidpersson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  console/command/Test.php
View
2  console/command/Test.php
@@ -175,7 +175,7 @@ public function run($path = null) {
}
$filters = $this->filters ? array_map('trim', explode(',', $this->filters)) : array();
$params = compact('filters') + array('reporter' => 'console', 'format' => $this->format);
- $runner = function($options) use ($path, $params) {
+ $runner = function($options = array()) use ($path, $params) {
error_reporting(E_ALL | E_STRICT | E_DEPRECATED);
return Dispatcher::run($path, $params + $options);
};
Please sign in to comment.
Something went wrong with that request. Please try again.