Skip to content

PHP Deprecated warnings #59

@tbreuss

Description

@tbreuss

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions