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

Deprecation warnings using PHP 8.2 #432

Open
marden opened this issue Feb 2, 2023 · 4 comments
Open

Deprecation warnings using PHP 8.2 #432

marden opened this issue Feb 2, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@marden
Copy link

marden commented Feb 2, 2023

  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
@marden marden added the analyzing Analyzing this issue label Feb 2, 2023
@hhxsv5 hhxsv5 added bug Something isn't working and removed analyzing Analyzing this issue labels Mar 20, 2023
@lambq
Copy link

lambq commented Jan 22, 2024

I also encountered it!

@uptonyuan
Copy link

uptonyuan commented Jan 22, 2024 via email

@mnizfd
Copy link

mnizfd commented Jan 22, 2024 via email

@lambq
Copy link

lambq commented Jan 22, 2024


| | | |/ |
| | __ _ _ __ __ ___ | | (
| | / | '__/ _ \ \ / / _ \ |_
\
| |
| (
| | | | (
| |\ 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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants