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

$tok might be false in Tokenizer.php #221

Merged
merged 1 commit into from
Apr 26, 2023

Conversation

sakarikl
Copy link
Contributor

ctype_alpha(false) triggers warning ctype_alpha(): Argument of type bool will be interpreted as string in the future

ctype_alpha(false) triggers warning ctype_alpha(): Argument of type bool will be interpreted as string in the future
@stof
Copy link
Contributor

stof commented Jan 11, 2023

It would be great to have a test preventing regressions

@heikokrebs
Copy link

Some warning for the ctype_alpha() call in the endTag() function.

ctype_alpha(): Argument of type bool will be interpreted as string in the future in vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php on line 350

Anything we can do here?

@goetas
Copy link
Member

goetas commented Apr 12, 2023

@heikokrebs maybe you can provide a test case for this?

@goetas goetas merged commit 3c5d5a5 into Masterminds:master Apr 26, 2023
@goetas
Copy link
Member

goetas commented Apr 26, 2023

merging it anyway, thanks

@heikokrebs
Copy link

merging it anyway, thanks

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants