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

Appearance settings

Commit 9d0a705

Browse filesBrowse files
Ignore deprecations about doctrine/persistence coming from doctrine/orm
1 parent cfd4194 commit 9d0a705
Copy full SHA for 9d0a705

File tree

Expand file treeCollapse file tree

1 file changed

+10
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+10
-0
lines changed

‎phpunit

Copy file name to clipboardExpand all lines: phpunit
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,14 @@ if (!getenv('SYMFONY_PATCH_TYPE_DECLARATIONS')) {
2121
putenv('SYMFONY_PATCH_TYPE_DECLARATIONS=deprecations=1');
2222
}
2323
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
24+
25+
if (!getenv('SYMFONY_DEPRECATIONS_HELPER')) {
26+
foreach ($_SERVER['argv'] as $v) {
27+
if (false !== strpos($v, 'Bridge/Doctrine')) {
28+
putenv('SYMFONY_DEPRECATIONS_HELPER=max[indirect]=7');
29+
break;
30+
}
31+
}
32+
}
33+
2434
require __DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.