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 6.3 branch.
Discussion
----------
[Clock] load function only if not loaded before
| Q | A
| ------------- | ---
| Branch? | 6.3
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix#51180
| License | MIT
| Doc PR |
We do the same for functions defined in the String, Translation and VarDumper components.
Commits
-------
6b88ea7 load function only if not loaded before
Symfony version(s) affected
6.2 / 6.3
Description
While using Symfony Clock component and using preload, this raises an issue:
PHP message: PHP Fatal error: Cannot redeclare Symfony\Component\Clock\now() (previously declared in vendor/symfony/clock/Resources/now.php:22
How to reproduce
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: