Skip to content

Commit 5c82cbb

Browse files
committed
Skip Doctrine DBAL on php 8 until we have a compatible version.
1 parent b4ca686 commit 5c82cbb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Tests/Functional/SetAclCommandTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ class SetAclCommandTest extends AbstractWebTestCase
4040
const OBJECT_CLASS = 'Symfony\Bundle\SecurityBundle\Tests\Functional\Bundle\AclBundle\Entity\Car';
4141
const SECURITY_CLASS = 'Symfony\Component\Security\Core\User\User';
4242

43+
public static function setUpBeforeClass()
44+
{
45+
if (\PHP_VERSION_ID >= 80000) {
46+
self::markTestSkipped('Doctrine DBAL 2.x is incompatible with PHP 8.');
47+
}
48+
}
49+
4350
public function testSetAclUser()
4451
{
4552
$objectId = 1;

0 commit comments

Comments
 (0)