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

Tons of "Creation of dynamic property" warnings in php 8.2 #520

Open
adantart opened this issue Jan 26, 2023 · 3 comments
Open

Tons of "Creation of dynamic property" warnings in php 8.2 #520

adantart opened this issue Jan 26, 2023 · 3 comments

Comments

@adantart
Copy link

Tons of "Creation of dynamic property" warnings in php 8.2
It also takes too time to process and make webs slower.

Just add

    private $cloner;
    private $dumper;

in class DataFormatter.

Thank you !


[2023-01-26 21:37:17] local.WARNING: Creation of dynamic property DebugBar\DataFormatter\DataFormatter::$cloner is deprecated in ./vendor/maximebf/debugbar/src/DebugBar/DataFormatter/DataFormatter.php on line 24  
[2023-01-26 21:37:17] local.WARNING: Creation of dynamic property DebugBar\DataFormatter\DataFormatter::$dumper is deprecated in ./vendor/maximebf/debugbar/src/DebugBar/DataFormatter/DataFormatter.php on line 25  
[2023-01-26 21:37:18] local.WARNING: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\SimpleFormatter::$cloner is deprecated in ./vendor/maximebf/debugbar/src/DebugBar/DataFormatter/DataFormatter.php on line 24  
[2023-01-26 21:37:18] local.WARNING: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\SimpleFormatter::$dumper is deprecated in ./vendor/maximebf/debugbar/src/DebugBar/DataFormatter/DataFormatter.php on line 25  
[2023-01-26 21:37:18] local.WARNING: Creation of dynamic property Barryvdh\Debugbar\DataCollector\ViewCollector::$name is deprecated in ./vendor/barryvdh/laravel-debugbar/src/DataCollector/ViewCollector.php on line 24  
[2023-01-26 21:37:19] local.WARNING: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\QueryFormatter::$cloner is deprecated in ./vendor/maximebf/debugbar/src/DebugBar/DataFormatter/DataFormatter.php on line 24  
[2023-01-26 21:37:19] local.WARNING: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\QueryFormatter::$dumper is deprecated in ./vendor/maximebf/debugbar/src/DebugBar/DataFormatter/DataFormatter.php on line 25  
[2023-01-26 21:37:19] local.WARNING: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\SimpleFormatter::$cloner is deprecated in ./vendor/maximebf/debugbar/src/DebugBar/DataFormatter/DataFormatter.php on line 24  
[2023-01-26 21:37:20] local.WARNING: Creation of dynamic property Barryvdh\Debugbar\DataFormatter\SimpleFormatter::$dumper is deprecated in ./vendor/maximebf/debugbar/src/DebugBar/DataFormatter/DataFormatter.php on line 25  

@Enjoyzz
Copy link

Enjoyzz commented Jan 28, 2023

use dev-master until the new version is released
#518

@oriceon
Copy link

oriceon commented Jan 30, 2023

@barryvdh Can you publish a new release? We use barryvdh/laravel-debugbar and in php 8.2 is broken.

@parallels999
Copy link
Contributor

Fixed on #507

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

4 participants