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

Compatibility warning composer 2.0 #35

Open
miloshavlicek opened this issue Nov 4, 2021 · 3 comments
Open

Compatibility warning composer 2.0 #35

miloshavlicek opened this issue Nov 4, 2021 · 3 comments

Comments

@miloshavlicek
Copy link

Composer 2 autoloading errors occurs due to wrench package PSR-0 incompliance:
see: varspool/Wrench#133

Package seems to be abandoned, solution can be to use a fork. https://github.com/chrome-php/wrench is mentioned there.

@miloshavlicek
Copy link
Author

Deprecation Notice: Class Wrench\Tests\SslTest located in ./vendor/wrench/wrench/lib/Wrench/Tests/Util/SslTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Wrench\Tests\Protocol\HybiPayloadTest located in ./vendor/wrench/wrench/lib/Wrench/Tests/Payload/HybiPayloadTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201

@GrahamCampbell
Copy link

This is fixed on the fork. The fork also works on PHP 8.0 and 8.1.

@GrahamCampbell
Copy link

This shouldn't be closed until this package is changed to use the fork: https://github.com/jakubkulhan/chrome-devtools-protocol/blob/master/composer.json#L27.

@miloshavlicek miloshavlicek reopened this Mar 30, 2022
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

No branches or pull requests

2 participants