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

Ability to load a PHP script before any code of PHPUnit itself is loaded #3290

Closed
sebastianbergmann opened this issue Sep 8, 2018 · 1 comment
Assignees
Labels
type/enhancement A new idea that should be implemented
Milestone

Comments

@sebastianbergmann
Copy link
Owner

As of #3272, PHPUnit can generate a code coverage whitelist filter script for Xdebug. This script needs to be loaded as early as possible (--bootstrap, for instance, is too late).

This ticket proposes the addition of a new command-line option to PHPUnit, --prepend-file, that is interpreted by PHPUnit as soon as possible.

@sebastianbergmann sebastianbergmann added the type/enhancement A new idea that should be implemented label Sep 8, 2018
@sebastianbergmann sebastianbergmann added this to the PHPUnit 7.4 milestone Sep 8, 2018
@sebastianbergmann sebastianbergmann self-assigned this Sep 8, 2018
@sebastianbergmann
Copy link
Owner Author

--prepend-file has been renamed to --prepend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement A new idea that should be implemented
Projects
None yet
Development

No branches or pull requests

1 participant