hhxsv5 / laravel-s

LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.
MIT License
3.82k stars 471 forks source link

Deprecation warnings using PHP 8.2 #432

Open marden opened 1 year ago

marden commented 1 year ago
  1. Your software version (Screenshot of your startup)

    Software Version
    PHP 8.2.1
    Swoole 5.0.1
    LaravelS 3.7.35
    Laravel/Lumen 9.48.0
  2. Detail description about this issue(error/log)

After upgrading to PHP 8.2 we see deprecation warnings in a log:

Deprecated: Creation of dynamic property Swoole\Http\Server::$timerProcess is deprecated in /app/vendor/hhxsv5/laravel-s/src/LaravelS.php on line 55
Deprecated: Creation of dynamic property Swoole\Http\Server::$inotifyProcess is deprecated in /app/vendor/hhxsv5/laravel-s/src/LaravelS.php on line 62
Deprecated: Creation of dynamic property Swoole\Http\Server::$customProcesses is deprecated in /app/vendor/hhxsv5/laravel-s/src/LaravelS.php on line 65
lambq commented 5 months ago

I also encountered it!

uptonyuan commented 5 months ago

这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。

mnizfd commented 5 months ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

lambq commented 5 months ago

| | | |/ __| | | _ ___| | (
| | /
` | '
/ ` \ \ / / \ |_ \ | |_| (| | | | (| |\ V / / |) | |___,|| _,| _/ \||____/

Speed up your Laravel/Lumen

Components +---------------------------+---------+ | Component | Version | +---------------------------+---------+ | PHP | 8.2.14 | | Swoole | 5.1.1 | | LaravelS | 3.7.37 | | Laravel Framework [local] | 10.41.0 | +---------------------------+---------+ Protocols +----------------+--------+-----------------------------------------+---------------------+ | Protocol | Status | Handler | Listen At | +----------------+--------+-----------------------------------------+---------------------+ | Main HTTP | On | Laravel Router | http://0.0.0.0:8200 | | Main WebSocket | On | App\Services\WebSocket\WebSocketHandler | ws://0.0.0.0:8200 | +----------------+--------+-----------------------------------------+---------------------+ Feedback: https://github.com/hhxsv5/laravel-s [2024-01-22 09:22:18] [TRACE] Swoole is running in daemon mode, see "ps -ef|grep laravels". PHP Deprecated: Creation of dynamic property Swoole\WebSocket\Server::$timerProcess is deprecated in /app/tp-server/vendor/hhxsv5/laravel-s/src/LaravelS.php on line 55

Deprecated: Creation of dynamic property Swoole\WebSocket\Server::$timerProcess is deprecated in /app/tp-server/vendor/hhxsv5/laravel-s/src/LaravelS.php on line 55 PHP Deprecated: Creation of dynamic property Swoole\WebSocket\Server::$inotifyProcess is deprecated in /app/tp-server/vendor/hhxsv5/laravel-s/src/LaravelS.php on line 62

Deprecated: Creation of dynamic property Swoole\WebSocket\Server::$inotifyProcess is deprecated in /app/vendor/hhxsv5/laravel-s/src/LaravelS.php on line 62 PHP Deprecated: Creation of dynamic property Swoole\WebSocket\Server::$customProcesses is deprecated in /app/vendor/hhxsv5/laravel-s/src/LaravelS.php on line 65

Deprecated: Creation of dynamic property Swoole\WebSocket\Server::$customProcesses is deprecated in /app/vendor/hhxsv5/laravel-s/src/LaravelS.php on line 65

songlin51 commented 4 months ago

这个问题修复了吗,可以忽略不管吗