Skip to content

Commit 86a3760

Browse files
committed
Restricted to symfony5
1 parent 231f055 commit 86a3760

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

AsyncKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
use Drift\HttpKernel\PeriodicTimer\PeriodicTimer;
2525
use Exception;
2626
use React\Promise\PromiseInterface;
27-
use Symfony\Component\Filesystem\Filesystem;
2827
use function React\Promise\reject;
2928
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
3029
use Symfony\Component\DependencyInjection\ContainerBuilder;
3130
use Symfony\Component\DependencyInjection\Definition;
3231
use Symfony\Component\DependencyInjection\Reference;
32+
use Symfony\Component\Filesystem\Filesystem;
3333
use Symfony\Component\HttpFoundation\Request;
3434
use Symfony\Component\HttpKernel\Kernel;
3535

Tests/Base/KernelCacheTest.php

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,24 @@
11
<?php
22

3+
/*
4+
* This file is part of the DriftPHP Project
5+
*
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*
9+
* Feel free to edit as you please, and have fun.
10+
*
11+
* @author Marc Morera <yuhu@mmoreram.com>
12+
*/
13+
14+
declare(strict_types=1);
315

416
namespace Drift\HttpKernel\Tests\Base;
517

618
use Drift\HttpKernel\Tests\AsyncKernelFunctionalTest;
719

820
/**
9-
* Class KernelCacheTest
21+
* Class KernelCacheTest.
1022
*/
1123
class KernelCacheTest extends AsyncKernelFunctionalTest
1224
{
@@ -41,4 +53,4 @@ public function testWithCache()
4153
$this->assertEquals($firstKernelCacheCreationTime, $secondKernelCacheCreationTime);
4254
unset($_ENV['DRIFT_CACHE_ENABLED']);
4355
}
44-
}
56+
}

composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
"symfony/dependency-injection": "^5.0",
1717
"symfony/filesystem": "^5.0",
1818
"symfony/event-dispatcher-contracts": "^2.0",
19+
"symfony/http-foundation": "^5.0",
20+
"symfony/routing": "^5.0",
1921
"react/promise": "^2.7",
2022
"react/http": "^1.0",
2123
"clue/block-react": "^1.3"

0 commit comments

Comments
 (0)