chrome-devtools-protocol icon indicating copy to clipboard operation
chrome-devtools-protocol copied to clipboard

Compatibility warning composer 2.0

Open flokixdev opened this issue 4 years ago • 3 comments

Composer 2 autoloading errors occurs due to wrench package PSR-0 incompliance: see: https://github.com/varspool/Wrench/issues/133

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

flokixdev avatar Nov 04 '21 09:11 flokixdev

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

flokixdev avatar Nov 04 '21 09:11 flokixdev

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

GrahamCampbell avatar Mar 30 '22 09:03 GrahamCampbell

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.

GrahamCampbell avatar Mar 30 '22 10:03 GrahamCampbell