Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitce09da1

Browse files
[PhpUnitBridge] Ignore deprecations about the annotation mapping driver when it's not possible to move to the attribute driver yet
1 parent1cceec1 commitce09da1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎src/Symfony/Bridge/PhpUnit/bootstrap.php‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
useSymfony\Bridge\PhpUnit\DeprecationErrorHandler;
1515

1616
// Detect if we need to serialize deprecations to a file.
17-
if (in_array(PHP_SAPI, ['cli','phpdbg'],true) &&$file =getenv('SYMFONY_DEPRECATIONS_SERIALIZE')) {
17+
if (in_array(\PHP_SAPI, ['cli','phpdbg'],true) &&$file =getenv('SYMFONY_DEPRECATIONS_SERIALIZE')) {
1818
DeprecationErrorHandler::collectDeprecations($file);
1919

2020
return;
@@ -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)

[8]ページ先頭

©2009-2025 Movatter.jp