Closed sartor closed 2 years ago
Great to see one more dependency dropped, and the debug toolbar apprears again on yii2 2.0.45.
However, there are deprecate notices about
In particular, cases of deprecated notices / alerts are.
src/views/default.php
line 68, 113src/views/default/panels/log/details.php
line 59, 76, 77, 78src/models/search/Base.php
line 33, 37@sartor everything @longthanhtran mentioned is done, right?
Yes, but I can't properly check it.
Can you please check src/views/default.php
lines 68 and 113 also?
Can you please check
src/views/default.php
lines 68 and 113 also? Already fixed it: https://github.com/yiisoft/yii2-debug/pull/472/files#diff-4a27f20b45dee8998b5de1353ab655fc0b5ff60eaaa3b0c96623c2c62b866640
Yes, it should be fixed, my bad for overlooking on this. The file should be src/views/default/view.php
instead and your PR included those lines already.
Just a very little part, src/models/search/Base.php which I think still need on line 33 and 37 to fulfill mb_strpos
function call.
I've experienced issues with some of the panels, specifically, with this change.
Here are my extra changes related to it: https://github.com/mishamosher/yii2-debug/pull/2
If they can be included in this PR, it would be awesome!
Just a very little part, src/models/search/Base.php which I think still need on line 33 and 37 to fulfill
mb_strpos
function call.
Type is already casted on line 31 and safe to use in any place here.
I found one more deprecation. Now looks like this pull request can be merged.
Thanks!
@samdark forgot to release?
Dependency https://github.com/opis/closure was removed, because there is no cases where it was used since commit https://github.com/yiisoft/yii2-debug/commit/08feaca36d8081da9850bf5629781580f4b43f48?diff=split Closures are still able to log and dump. Test added to prove. Now it can be used with PHP 8.1