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 1212namespace Symfony \Component \Lock \Tests \Store ;
1313
1414use Doctrine \DBAL \DriverManager ;
15- use Doctrine \DBAL \Version ;
1615use Symfony \Component \Lock \PersistingStoreInterface ;
1716use Symfony \Component \Lock \Store \PdoStore ;
1817
@@ -31,10 +30,6 @@ public static function setUpBeforeClass(): void
3130 {
3231 self ::$ dbFile = tempnam (sys_get_temp_dir (), 'sf_sqlite_lock ' );
3332
34- if (\PHP_VERSION_ID >= 80000 && class_exists (Version::class)) {
35- self ::markTestSkipped ('Doctrine DBAL 2.x is incompatible with PHP 8. ' );
36- }
37-
3833 $ store = new PdoStore (DriverManager::getConnection (['driver ' => 'pdo_sqlite ' , 'path ' => self ::$ dbFile ]));
3934 $ store ->createTable ();
4035 }
Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Component \Lock \Tests \Store ;
1313
14- use Doctrine \DBAL \Version ;
1514use Symfony \Component \Lock \Key ;
1615use Symfony \Component \Lock \PersistingStoreInterface ;
1716use Symfony \Component \Lock \Store \PdoStore ;
@@ -31,10 +30,6 @@ public static function setUpBeforeClass(): void
3130 {
3231 self ::$ dbFile = tempnam (sys_get_temp_dir (), 'sf_sqlite_lock ' );
3332
34- if (\PHP_VERSION_ID >= 80000 && class_exists (Version::class)) {
35- self ::markTestSkipped ('Doctrine DBAL 2.x is incompatible with PHP 8. ' );
36- }
37-
3833 $ store = new PdoStore ('sqlite: ' .self ::$ dbFile );
3934 $ store ->createTable ();
4035 }
You can’t perform that action at this time.
0 commit comments