yiisoft / yii2-debug

Debug Extension for Yii 2
http://www.yiiframework.com
BSD 3-Clause "New" or "Revised" License
201 stars 149 forks source link

FIX #465: up version opis/closure #466

Closed pamparam83 closed 2 years ago

pamparam83 commented 2 years ago
Q A
Is bugfix? ✔️
New feature?
Breaks BC?
Fixed issues #465

I'm up version opis/closure to "^3.6"

515orestis commented 2 years ago

with opis 3.6.2 or master at commit f9e4ebf387791cb7287d5a1c43d17e9b71d568f5 we have image ' PHP Deprecated Warning – yii\base\ErrorException Opis\Closure\SerializableClosure implements the Serializable interface, which is deprecated. Implement serialize() and unserialize() instead (or in addition, if support for old PHP versions is necessary)

' I am getting the above errors

maybe enable support for dev-4.x https://github.com/opis/closure/tree/4.x that includes php 8.1 support image `Problem 1

@pamparam83 @samdark

samdark commented 2 years ago

v4 requires FFI...

sartor commented 2 years ago

My variant of fixing it: https://github.com/yiisoft/yii2-debug/pull/472

samdark commented 2 years ago

472 should be better.