File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,13 @@ class EntityTypeTest extends BaseTypeTest
61
61
62
62
protected static $ supportedFeatureSetVersion = 304 ;
63
63
64
+ public static function setUpBeforeClass ()
65
+ {
66
+ if (\PHP_VERSION_ID >= 80000 ) {
67
+ self ::markTestSkipped ('Doctrine DBAL 2.x is incompatible with PHP 8. ' );
68
+ }
69
+ }
70
+
64
71
protected function setUp ()
65
72
{
66
73
$ this ->em = DoctrineTestHelper::createTestEntityManager ();
Original file line number Diff line number Diff line change 23
23
24
24
class EntityUserProviderTest extends TestCase
25
25
{
26
+ public static function setUpBeforeClass ()
27
+ {
28
+ if (\PHP_VERSION_ID >= 80000 ) {
29
+ self ::markTestSkipped ('Doctrine DBAL 2.x is incompatible with PHP 8. ' );
30
+ }
31
+ }
32
+
26
33
public function testRefreshUserGetsUserByPrimaryKey ()
27
34
{
28
35
$ em = DoctrineTestHelper::createTestEntityManager ();
Original file line number Diff line number Diff line change @@ -63,6 +63,13 @@ class UniqueEntityValidatorTest extends ConstraintValidatorTestCase
63
63
64
64
protected $ repositoryFactory ;
65
65
66
+ public static function setUpBeforeClass ()
67
+ {
68
+ if (\PHP_VERSION_ID >= 80000 ) {
69
+ self ::markTestSkipped ('Doctrine DBAL 2.x is incompatible with PHP 8. ' );
70
+ }
71
+ }
72
+
66
73
protected function setUp ()
67
74
{
68
75
$ this ->repositoryFactory = new TestRepositoryFactory ();
You can’t perform that action at this time.
0 commit comments