Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Stopwatch] Fixed a bug in StopwatchEvent::getStartTime #34179

Merged
merged 1 commit into from Nov 3, 2019
Merged

[Stopwatch] Fixed a bug in StopwatchEvent::getStartTime #34179

merged 1 commit into from Nov 3, 2019

Conversation

TimoBakx
Copy link
Member

@TimoBakx TimoBakx commented Oct 29, 2019

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #34088
License MIT
Doc PR N/A

When using a StopwatchEvent with an $origin that's smaller than the first start time, calling getStartTime() before ending the event will give 0 instead of the correct number.

The proposed fix in #34088 fixes this.

@fabpot
Copy link
Member

fabpot commented Nov 3, 2019

Thank you @TimoBakx.

fabpot added a commit that referenced this pull request Nov 3, 2019
…imoBakx)

This PR was merged into the 3.4 branch.

Discussion
----------

[Stopwatch] Fixed a bug in StopwatchEvent::getStartTime

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #34088
| License       | MIT
| Doc PR        | N/A

When using a `StopwatchEvent` with an `$origin` that's smaller than the first start time, calling `getStartTime()` before ending the event will give `0` instead of the correct number.

The proposed fix in #34088 fixes this.

Commits
-------

b2b7eab [Stopwatch] Fixed a bug in stopwatch event getStartTime
@fabpot fabpot merged commit b2b7eab into symfony:3.4 Nov 3, 2019
This was referenced Nov 11, 2019
@TimoBakx TimoBakx deleted the stopwatch-event-starttime branch February 9, 2020 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants