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

Update Workerman dockerfiles to PHP/8.4 #1

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

joanhey
Copy link

@joanhey joanhey commented Nov 22, 2024

TechEmpower#9408

If I include in the bench, will have conflicts with your last commit.

PD: added with your last commit, working OK

@joanhey joanhey changed the title Update workerman.dockerfile to PHP/8. Update workerman.dockerfile to PHP/8.4 Nov 22, 2024
@joanhey joanhey changed the title Update workerman.dockerfile to PHP/8.4 Update Workerman dockerfiles to PHP/8.4 Nov 22, 2024
@joanhey
Copy link
Author

joanhey commented Nov 22, 2024

@walkor
Webman show deprecated errors in PHP-8.4 (still work OK):

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

PD: Workerman work OK

EDIT: Webman 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

Successfully merging this pull request may close these issues.

2 participants