jrgp / linfo

Linfo PHP Server Health Status
MIT License
362 stars 73 forks source link

PHP 8.4 support #132

Open devpacdd opened 2 days ago

devpacdd commented 2 days ago

There are several deprecation notices running Linfo like:

[type] => 8192
[message] => Creation of dynamic property Linfo\OS\Darwin::$systemProfiler is deprecated
[file] => /Users/paco/Trabajos/Dedalo/v6/master_dedalo/lib/vendor/linfo/linfo/src/Linfo/OS/Darwin.php
[line] => 76

A revision for the latest PHP versions would be great.

Thank you very much for your great work.

jrgp commented 1 day ago

Thanks for reaching out and for the kind words!

I think I fixed that mac one per https://github.com/jrgp/linfo/commit/319f5afded2f0fcd48c5fc93c10102bc58b0c16d

Can you paste me some of the other warnings you're seeing?

jrgp commented 1 day ago

I don't see warnings anymore when I test it on php8.4 on debian per:

docker run --network=host -it --rm --name my-running-script -v "$PWD":`pwd` -w `pwd` php:8.4.0RC4-cli-bullseye php -S 0:8081 index.php

Please lmk if you're seeing warnings