-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
The latest version of PHP is 8.1 and this package does not support it.
I forced it to install to see if it would work, but seems that at least all the classes that implement jsonSerializable
need to be updated to add a return type.
An example of the error is:
PHP Fatal error: During inheritance of JsonSerializable: Uncaught ErrorException: Return type of ChromeDevtoolsProtocol\Model\Target\CreateBrowserContextRequest::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /chrome-devtools-protocol/gen-src/ChromeDevtoolsProtocol/Model/Target/CreateBrowserContextRequest.php:52
There's also some deprecations like:
PHP Deprecated: Return type of ChromeDevtoolsProtocol\Model\Network\Headers::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in chrome-devtools-protocol/gen-src/ChromeDevtoolsProtocol/Model/Network/Headers.php on line 75
Metadata
Metadata
Assignees
Labels
No labels