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

Show deprecated errors in PHP 8.4 #423

Open
joanhey opened this issue Nov 22, 2024 · 0 comments
Open

Show deprecated errors in PHP 8.4 #423

joanhey opened this issue Nov 22, 2024 · 0 comments

Comments

@joanhey
Copy link

joanhey commented Nov 22, 2024

Released 21 Nov 2024
https://www.php.net/releases/8.4/en.php

It's working OK with PHP 8.4, but show deprecated warnings:

Running docker container with cpu set: 
webman: PHP Deprecated:  Webman\Config::load(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Config.php on line 56
webman: Deprecated: Webman\Config::load(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Config.php on line 56
webman: Deprecated: Webman\Config::get(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Config.php on line 224
webman: PHP Deprecated:  Webman\Config::get(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Config.php on line 224
webman: Workerman[/webman/start.php] start in DEBUG mode
webman: ------------------------------------------ WORKERMAN -------------------------------------------
webman: Workerman version:4.2.0          PHP version:8.4.1           Event-Loop:\Workerman\Events\Event
webman: ------------------------------------------- WORKERS --------------------------------------------
webman: proto   user            worker          listen                 processes    status           
webman: tcp     root            webman          http://0.0.0.0:8080    8             [OK]            
webman: ------------------------------------------------------------------------------------------------
webman: Press Ctrl+C to stop. Start success.
webman: PHP Deprecated:  Webman\Route::group(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route.php on line 208
webman: PHP Deprecated:  Webman\Route::disableDefaultRoute(): Implicitly marking parameter $app as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route.php on line 282
webman: PHP Deprecated:  Webman\Route::isDefaultRouteDisabled(): Implicitly marking parameter $app as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route.php on line 318
webman: PHP Deprecated:  Webman\Route::group(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route.php on line 208
webman: PHP Deprecated:  Webman\Route::disableDefaultRoute(): Implicitly marking parameter $app as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route.php on line 282
webman: PHP Deprecated:  Webman\Route::isDefaultRouteDisabled(): Implicitly marking parameter $app as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route.php on line 318
webman: PHP Deprecated:  Webman\Route\Route::param(): Implicitly marking parameter $name as nullable is deprecated, the explicit nullablPHP Deprecated:  Webman\Route\Route::param(): Implicitly marking parameter $name as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route/Route.php on line 149
webman: e type must be used instead in /webman/vendor/workerman/webman-framework/src/Route/Route.php on line 149
webman: PHP Deprecated:  Webman\Route\Route::param(): Implicitly marking parameter $name as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route/Route.php on line 149
webman: Deprecated: Webman\Route::group(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route.php on line 208
webman: Deprecated: Webman\Route::disableDefaultRoute(): Implicitly marking parameter $app as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route.php on line 282
webman: Deprecated: Webman\Route::isDefaultRouteDisabled(): Implicitly marking parameter $app as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route.php on line 318
webman: Deprecated: Webman\Route::group(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route.php on line 208
webman: Deprecated: Webman\Route::disableDefaultRoute(): Implicitly marking parameter $app as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route.php on line 282
webman: Deprecated: Webman\Route::isDefaultRouteDisabled(): Implicitly marking parameter $app as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route.php on line 318
webman: Deprecated: Webman\Route\Route::param(): Implicitly marking parameter $name as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route/Route.php on line 149
webman: Deprecated: Webman\Route\Route::param(): Implicitly marking parameter $name as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route/Route.php on line 149
webman: Deprecated: Webman\Route\Route::param(): Implicitly marking parameter $name as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Route/Route.php on line 149
webman: Deprecated: Webman\App::getCallback(): Implicitly marking parameter $route as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/App.php on line 301
webman: Deprecated: Webman\App::getCallback(): Implicitly marking parameter $route as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/App.php on line 301
webman: PHP Deprecated:  Webman\App::getCallback(): Implicitly marking parameter $route as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/App.php on line 301
webman: PHP Deprecated:  Webman\App::getCallback(): Implicitly marking parameter $route as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/App.php on line 301
webman: PHP Deprecated:  Webman\Context::get(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Context.php on line 90
webman: PHP Deprecated:  Webman\Context::get(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Context.php on line 90
webman: Deprecated: Webman\Context::get(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Context.php on line 90
webman: Deprecated: Webman\Context::get(): Implicitly marking parameter $key as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Context.php on line 90
webman: Deprecated: Webman\Http\Response::exception(): Implicitly marking parameter $exception as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Http/Response.php on line 80
webman: PHP Deprecated:  Webman\Http\Response::exception(): Implicitly marking parameter $exception as nullable is deprecated, the explicit nullable type must be used instead in /webman/vendor/workerman/webman-framework/src/Http/Response.php on line 80

From Techempower benchmark
https://github.com/TechEmpower/FrameworkBenchmarks/actions/runs/11971699372/job/33377071440?pr=9416

PD: fail query and update tests in the bench

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

1 participant