Skip to content

Commit

Permalink
Use yiisoft/yii-http as dependency instead of yiisoft/yii-web (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
devanych committed Nov 10, 2021
1 parent d1e74ce commit 8c81c85
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -31,13 +31,13 @@
"require": {
"php": "^8.0",
"spiral/roadrunner": "^2.5",
"yiisoft/error-handler": "^2.0",
"yiisoft/di": "@dev",
"yiisoft/error-handler": "^2.0",
"yiisoft/log": "^1.0",
"yiisoft/log-target-file": "^1.0",
"yiisoft/yii-event": "^1.0",
"yiisoft/yii-runner": "@dev",
"yiisoft/yii-web": "^3.0@dev"
"yiisoft/yii-http": "dev-master",
"yiisoft/yii-runner": "@dev"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
Expand Down
4 changes: 2 additions & 2 deletions src/RoadRunnerApplicationRunner.php
Expand Up @@ -25,11 +25,11 @@
use Yiisoft\Log\Logger;
use Yiisoft\Log\Target\File\FileTarget;
use Yiisoft\Yii\Event\ListenerConfigurationChecker;
use Yiisoft\Yii\Http\Application;
use Yiisoft\Yii\Runner\BootstrapRunner;
use Yiisoft\Yii\Runner\ConfigFactory;
use Yiisoft\Yii\Runner\RunnerInterface;
use Yiisoft\Yii\Runner\ThrowableHandler;
use Yiisoft\Yii\Web\Application;

use function gc_collect_cycles;
use function microtime;
Expand Down Expand Up @@ -149,7 +149,7 @@ public function run(): void
$uploadsFactory = $container->get(UploadedFileFactoryInterface::class);
$worker = new RoadRunner\Http\PSR7Worker($worker, $serverRequestFactory, $streamFactory, $uploadsFactory);

/** @var Application */
/** @var Application $application */
$application = $container->get(Application::class);
$application->start();

Expand Down

0 comments on commit 8c81c85

Please sign in to comment.