Skip to content

Compatibility with PHP 8.4 #129

@driskell

Description

@driskell

When using the framework (in phpbrew) you get deprecations with PHP 8.4:

PHP Deprecated:  CLIFramework\Application::__construct(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in phar:///Users/xxxxx/bin/phpbrew/vendor/corneltek/cliframework/src/Application.php on line 103
PHP Deprecated:  CLIFramework\Application::__construct(): Implicitly marking parameter $parent as nullable is deprecated, the explicit nullable type must be used instead in phar:///Users/xxxxx/bin/phpbrew/vendor/corneltek/cliframework/src/Application.php on line 103
PHP Deprecated:  CLIFramework\CommandBase::__construct(): Implicitly marking parameter $parent as nullable is deprecated, the explicit nullable type must be used instead in phar:///Users/xxxxx/bin/phpbrew/vendor/corneltek/cliframework/src/CommandBase.php on line 86
PHP Deprecated:  CLIFramework\Logger::__construct(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in phar:///Users/xxxxx/bin/phpbrew/vendor/corneltek/cliframework/src/Logger.php on line 75
PHP Deprecated:  CLIFramework\Command::__construct(): Implicitly marking parameter $parent as nullable is deprecated, the explicit nullable type must be used instead in phar:///Users/xxxxx/bin/phpbrew/vendor/corneltek/cliframework/src/Command.php on line 30
PHP Deprecated:  CLIFramework\Command\output(): Implicitly marking parameter $opts as nullable is deprecated, the explicit nullable type must be used instead in phar:///Users/xxxxx/bin/phpbrew/vendor/corneltek/cliframework/src/Command/MetaCommand.php on line 39

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