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

Remove process isolation from tests around file writer generators #486

Merged

Conversation

Ocramius
Copy link
Owner

@Ocramius Ocramius commented Aug 10, 2019

See sebastianbergmann/phpunit#3772

As discussed with @sebastianbergmann, PHPUnit 8.3.4 may fix this issue, but until then,
we lock onto an older version to have green builds to validate a release

For now, we simply remove process isolation to simplify the issue overall

As discussed with @sebastianbergmann, PHPUnit 8.3.4 may fix this issue, but until then,
we lock onto an older version to have green builds to validate a release
@Ocramius Ocramius added the bug label Aug 10, 2019
@Ocramius Ocramius added this to the 2.5.0 milestone Aug 10, 2019
@Ocramius Ocramius self-assigned this Aug 10, 2019
@Ocramius Ocramius changed the title Disallow PHPUnit 8.3.0 due to https://github.com/sebastianbergmann/phpunit/issues/3772 Disallow PHPUnit 8.3.0 due to sebastianbergmann/phpunit#3772 Aug 10, 2019
@Ocramius
Copy link
Owner Author

Hmm, doesn't seem to be the culprit...

…'open_basedir' ini settings

If you use `ini_set('open_basedir', ...)`, you are on your own, and you are really just hurting yourself.

Stop relying on shared hosting, and deploy a proper isolated/virtualized environment if you got a real application.
@Ocramius Ocramius changed the title Disallow PHPUnit 8.3.0 due to sebastianbergmann/phpunit#3772 Remove process isolation from tests around file writer generators Aug 10, 2019
This particular `trim()` also cannot be tested, since a namespace containing
a leading/trailing `T_NAMESPACE_SEPARATOR` would lead `zendframework/zend-code`
to generate invalid code.

This has to be fixed upstream, by using stricter types instead.
This particular `trim()` also cannot be tested, since a class containing
a leading/trailing `T_NAMESPACE_SEPARATOR` would lead `zendframework/zend-code`
to generate invalid code.

This has to be fixed upstream, by using stricter types instead.
@Ocramius
Copy link
Owner Author

GREEN! FINALLY!

@Ocramius Ocramius merged commit 37c7201 into master Aug 10, 2019
@Ocramius Ocramius deleted the fix/avoid-phpunit-8.3-due-to-phpdbg-process-isolation-bugs branch August 10, 2019 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant