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

Test PHP 7.4 on Travis #162

Merged
merged 2 commits into from
Mar 5, 2020
Merged

Test PHP 7.4 on Travis #162

merged 2 commits into from
Mar 5, 2020

Conversation

clue
Copy link
Member

@clue clue commented Mar 4, 2020

Builds on top of #157, thanks @WyriHaximus for the original version and helping tracking this down with @CharlotteDunois. This changeset builds on top of this, but instead of skipping affected tests will make sure tests pass by clearing any garbage references twice before running any of the affected assertions.

I still wonder if this could potentially be an upstream bug in ext-xdebug or PHP itself, but I don't see any guarantees that gc_collect_cycles() collects all cycles, so perhaps we were just lucky in previous versions. I consider this minimal changeset to be good enough until we find a better solution in the future :shipit:

Clear twice to avoid leftovers in PHP 7.4 with ext-xdebug and code
coverage turned on (`vendor/bin/phpunit --coverage-text`).
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

3 participants