aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-07 14:08:56 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2017-11-07 14:08:56 +0100
commit0d7738aa64d6b6725fd22541749a9b24d533d331 (patch)
tree280a02071e6faa41d6be75d9701afdcca9104139
parent3725e155b3454acf5501fa4dc4402ba96e5f63e8 (diff)
downloadTest-0d7738aa64d6b6725fd22541749a9b24d533d331.zip
Test-0d7738aa64d6b6725fd22541749a9b24d533d331.tar.gz
Test-0d7738aa64d6b6725fd22541749a9b24d533d331.tar.bz2
fix(bin) Use `Protocol::resolve`.
-rw-r--r--Bin/Run.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Bin/Run.php b/Bin/Run.php
index a548963..6c4f030 100644
--- a/Bin/Run.php
+++ b/Bin/Run.php
@@ -180,7 +180,7 @@ class Run extends Console\Dispatcher\Kit
);
}
- $head = resolve('hoa://Library/' . $parts[1]);
+ $head = Protocol::resolve('hoa://Library/' . $parts[1]);
$tail = implode(DS, array_slice($parts, 2));
$namespaceDirectory = $head . DS . $tail;
@@ -329,9 +329,9 @@ class Run extends Console\Dispatcher\Kit
$command =
$atoum .
' --autoloader-file ' .
- resolve('hoa://Library/Test/.autoloader.atoum.php') .
+ Protocol::resolve('hoa://Library/Test/.autoloader.atoum.php') .
' --configurations ' .
- resolve('hoa://Library/Test/.atoum.php') .
+ Protocol::resolve('hoa://Library/Test/.atoum.php') .
' --force-terminal' .
' --max-children-number ' . $concurrentProcesses;
@@ -374,7 +374,7 @@ class Run extends Console\Dispatcher\Kit
$command,
null,
null,
- resolve('hoa://Library/Test/'),
+ Protocol::resolve('hoa://Library/Test/'),
$_server
);
$processus->on('input', function ($bucket) {