File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Lock \Tests \Store ;
13
13
14
14
use Doctrine \DBAL \DriverManager ;
15
- use Doctrine \DBAL \Version ;
16
15
use Symfony \Component \Lock \PersistingStoreInterface ;
17
16
use Symfony \Component \Lock \Store \PdoStore ;
18
17
@@ -31,10 +30,6 @@ public static function setUpBeforeClass(): void
31
30
{
32
31
self ::$ dbFile = tempnam (sys_get_temp_dir (), 'sf_sqlite_lock ' );
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
$ store = new PdoStore (DriverManager::getConnection (['driver ' => 'pdo_sqlite ' , 'path ' => self ::$ dbFile ]));
39
34
$ store ->createTable ();
40
35
}
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Component \Lock \Tests \Store ;
13
13
14
- use Doctrine \DBAL \Version ;
15
14
use Symfony \Component \Lock \Key ;
16
15
use Symfony \Component \Lock \PersistingStoreInterface ;
17
16
use Symfony \Component \Lock \Store \PdoStore ;
@@ -31,10 +30,6 @@ public static function setUpBeforeClass(): void
31
30
{
32
31
self ::$ dbFile = tempnam (sys_get_temp_dir (), 'sf_sqlite_lock ' );
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
$ store = new PdoStore ('sqlite: ' .self ::$ dbFile );
39
34
$ store ->createTable ();
40
35
}
You can’t perform that action at this time.
0 commit comments