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

Composer printing warning with php-html5lib #56

Closed
jtojnar opened this issue Jun 6, 2020 · 1 comment · Fixed by #57
Closed

Composer printing warning with php-html5lib #56

jtojnar opened this issue Jun 6, 2020 · 1 comment · Fixed by #57

Comments

@jtojnar
Copy link
Contributor

jtojnar commented Jun 6, 2020

It only seems to be problem for php-html5lib tests but the warning is still annoying:

Deprecation Notice: Class HTML5Lib\Tests\TokenizerHarness located in ./vendor/electrolinux/php-html5lib/tests/HTML5Lib/Tests/TokenizerTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///nix/store/1x099mxa4wk77505ryyl4d3j81y3v7zr-php-composer-1.10.6/libexec/composer/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class HTML5Lib\Tests\PositionTestableTokenizer located in ./vendor/electrolinux/php-html5lib/tests/HTML5Lib/Tests/TokenizerPositionTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///nix/store/1x099mxa4wk77505ryyl4d3j81y3v7zr-php-composer-1.10.6/libexec/composer/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class HTML5Lib\Tests\TokenizerTestOfPosition located in ./vendor/electrolinux/php-html5lib/tests/HTML5Lib/Tests/TokenizerPositionTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///nix/store/1x099mxa4wk77505ryyl4d3j81y3v7zr-php-composer-1.10.6/libexec/composer/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class HTML5Lib\Tests\TreeBuilderHarness located in ./vendor/electrolinux/php-html5lib/tests/HTML5Lib/Tests/TreeBuilderTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///nix/store/1x099mxa4wk77505ryyl4d3j81y3v7zr-php-composer-1.10.6/libexec/composer/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201

Perhaps we should try to find a maintained alternative.

@j0k3r
Copy link
Owner

j0k3r commented Jun 7, 2020

https://github.com/Masterminds/html5-php
Might be a good candidate. It’s used by Symfony

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 a pull request may close this issue.

2 participants