Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 36169d6

Browse files
[PhpUnitBridge] Ignore deprecations about the annotation mapping driver when it's not possible to move to the attribute driver yet
1 parent 1cceec1 commit 36169d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Bridge/PhpUnit/bootstrap.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434

3535
if (class_exists(Deprecation::class)) {
3636
Deprecation::withoutDeduplication();
37+
38+
if (\PHP_VERSION_ID < 80000) {
39+
// Ignore deprecations about the annotation mapping driver when it's not possible to move to the attribute driver yet
40+
Deprecation::ignoreDeprecations('https://github.com/doctrine/orm/issues/10098');
41+
}
3742
}
3843

3944
if (!class_exists(AnnotationRegistry::class, false) && class_exists(AnnotationRegistry::class)) {

0 commit comments

Comments
 (0)