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 01ac9b1

Browse filesBrowse files
Re-enable triggering deprecations about return types
1 parent 7c86c1d commit 01ac9b1
Copy full SHA for 01ac9b1

1 file changed

+3Lines changed: 3 additions & 0 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎phpunit‎

Copy file name to clipboardExpand all lines: phpunit
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ if (!getenv('SYMFONY_PHPUNIT_VERSION')) {
1616
putenv('SYMFONY_PHPUNIT_VERSION=9.5');
1717
}
1818
}
19+
if (!getenv('SYMFONY_PATCH_TYPE_DECLARATIONS') && \PHP_VERSION_ID >= 70200) {
20+
putenv('SYMFONY_PATCH_TYPE_DECLARATIONS=deprecations=1');
21+
}
1922
if (getcwd() === realpath(__DIR__.'/src/Symfony/Bridge/PhpUnit')) {
2023
putenv('SYMFONY_DEPRECATIONS_HELPER=disabled');
2124
}

0 commit comments

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