Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

PHP Deprecated warnings #59

Closed
tbreuss opened this issue Mar 2, 2024 · 1 comment
Closed

PHP Deprecated warnings #59

tbreuss opened this issue Mar 2, 2024 · 1 comment

Comments

@tbreuss
Copy link

tbreuss commented Mar 2, 2024

When running the latest progpilot out of the box, terminal is flooded with PHP Deprecated warnings.

Here is an example output.

$ php progpilot_v1.0.2.phar

Deprecated: Creation of dynamic property progpilot\Context::$tmpfunctions is deprecated in phar:///app/progpilot_v1.0.2.phar/vendor/progpilot/package/src/progpilot/ContextInternalApi.php on line 78

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in phar:///app/progpilot_v1.0.2.phar/vendor/ircmaxell/php-cfg/lib/PHPCfg/Parser.php on line 1437

This happens at least in PHP 8.2 and 8.3.

$ php -v
PHP 8.2.7 (cli) (built: Jun  9 2023 00:15:19) (NTS)
$ php -v                               
PHP 8.3.2 (cli) (built: Jan 16 2024 13:46:41) (NTS)
@eric-therond
Copy link
Collaborator

Thanks for the bug report
should be fixed with v1.1.0
don't hesitate to reopen the issue if you see something missing

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants