Skip to content

Compatibility with Symfony Clock#23

Open
guitoon wants to merge 1 commit into
coopTilleuls:mainfrom
guitoon:main
Open

Compatibility with Symfony Clock#23
guitoon wants to merge 1 commit into
coopTilleuls:mainfrom
guitoon:main

Conversation

@guitoon

@guitoon guitoon commented Sep 3, 2025

Copy link
Copy Markdown
Q A
Bug fix? no
New feature? yes
Deprecations? no
Tickets Fix #...
License MIT

Symfony creates a Clock component to mock the current time in tests
isFuture method must be aware of the mocked time to ensure compatibility with this feature.

I understand that this breaks the compatibility with Symfony version older than 6.4.

@guitoon guitoon marked this pull request as ready for review September 4, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant