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

PHPUnit errors out on startup when the ctype extension is not loaded but a polyfill for it was installed #5662

Closed
sebastianbergmann opened this issue Jan 14, 2024 · 0 comments
Assignees
Labels

Comments

@sebastianbergmann
Copy link
Owner

Composer automatically installs symfony/polyfill-ctype when a package requires ext-ctype and the ctype extension is not loaded.

PHPUnit's bootstrap script uses extension_loaded('ctype') to check whether the ctype extension is available on startup and errors out when false is returned.

See #5661 (comment) for details.

@sebastianbergmann sebastianbergmann added the type/bug Something is broken label Jan 14, 2024
@sebastianbergmann sebastianbergmann self-assigned this Jan 14, 2024
@sebastianbergmann sebastianbergmann changed the title PHPUnit errors out on startup when ctype extension is not loaded but a polyfill for it was installed PHPUnit errors out on startup when the ctype extension is not loaded but a polyfill for it was installed Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant