You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was merged into the 7.0 branch.
Discussion
----------
[HttpKernel] fix "Cannot redeclare renderSymfonyLogoSvg()" inside phpunit tests
| Q | A
| ------------- | ---
| Branch? | 7.0
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | N/A
| License | MIT
<!--
Replace this notice by a description of your feature/bugfix.
This will help reviewers and should be a good start for the documentation.
Additionally (see https://symfony.com/releases):
- Always add tests and ensure they pass.
- Bug fixes must be submitted against the lowest maintained branch where they apply
(lowest branches are regularly merged to upper ones so they get the fixes too).
- Features and deprecations must be submitted against the latest branch.
- For new features, provide some code snippets to help understand usage.
- Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
- Never break backward compatibility (see https://symfony.com/bc).
-->
In a PHPUnit test case with dataProvider, there was a fatal error:
> Compile Error: Cannot redeclare renderSymfonyLogoSvg() (previously declared in /vendor/symfony/http-kernel/Resources/welcome.html.php:219) (500 Internal Server Error)
This include_once fix the error.
Commits
-------
ac97c9b [HttpKernel] fix "Cannot redeclare renderSymfonyLogoSvg()" inside phpunit tests
0 commit comments