File tree Expand file tree Collapse file tree 3 files changed +3
-13
lines changed
src/Symfony/Component/Cache Expand file tree Collapse file tree 3 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Cache \Tests \Adapter ;
13
13
14
14
use Doctrine \DBAL \DriverManager ;
15
- use Doctrine \DBAL \Version ;
16
15
use Symfony \Component \Cache \Adapter \PdoAdapter ;
17
16
use Symfony \Component \Cache \Tests \Traits \PdoPruneableTrait ;
18
17
@@ -31,10 +30,6 @@ public static function setUpBeforeClass()
31
30
self ::markTestSkipped ('Extension pdo_sqlite required. ' );
32
31
}
33
32
34
- if (\PHP_VERSION_ID >= 80000 && class_exists (Version::class)) {
35
- self ::markTestSkipped ('Doctrine DBAL 2.x is incompatible with PHP 8. ' );
36
- }
37
-
38
33
self ::$ dbFile = tempnam (sys_get_temp_dir (), 'sf_sqlite_cache ' );
39
34
40
35
$ pool = new PdoAdapter (DriverManager::getConnection (['driver ' => 'pdo_sqlite ' , 'path ' => self ::$ dbFile ]));
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Cache \Tests \Simple ;
13
13
14
14
use Doctrine \DBAL \DriverManager ;
15
- use Doctrine \DBAL \Version ;
16
15
use Symfony \Component \Cache \Simple \PdoCache ;
17
16
use
8000
Symfony \Component \Cache \Tests \Traits \PdoPruneableTrait ;
18
17
@@ -31,10 +30,6 @@ public static function setUpBeforeClass()
31
30
self ::markTestSkipped ('Extension pdo_sqlite required. ' );
32
31
}
33
32
34
- if (\PHP_VERSION_ID >= 80000 && class_exists (Version::class)) {
35
- self ::markTestSkipped ('Doctrine DBAL 2.x is incompatible with PHP 8. ' );
36
- }
37
-
38
33
self ::$ dbFile = tempnam (sys_get_temp_dir (), 'sf_sqlite_cache ' );
39
34
40
35
$ pool = new PdoCache (DriverManager::getConnection (['driver ' => 'pdo_sqlite ' , 'path ' => self ::$ dbFile ]));
Original file line number Diff line number Diff line change 28
28
},
29
29
"require-dev" : {
30
30
"cache/integration-tests" : " dev-master" ,
31
- "doctrine/cache" : " ~ 1.6" ,
32
- "doctrine/dbal" : " ~ 2.4|~ 3.0" ,
33
- "predis/predis" : " ~ 1.0"
31
+ "doctrine/cache" : " ^ 1.6" ,
32
+ "doctrine/dbal" : " ^ 2.4|^ 3.0" ,
33
+ "predis/predis" : " ^ 1.0"
34
34
},
35
35
"conflict" : {
36
36
"symfony/var-dumper" : " <3.3"
You can’t perform that action at this time.
0 commit comments