Skip to content

PHP 8.4 deprecation warnings #1654

@cmuench

Description

@cmuench

In the unstable version we see this deprecation warnings which are not to see in the Github Actions (maybe supressed?)

PHP Deprecated:  N98\Magento\Application::run(): Implicitly marking parameter $input as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 348

Deprecated: N98\Magento\Application::run(): Implicitly marking parameter $input as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 348
PHP Deprecated:  N98\Magento\Application::run(): Implicitly marking parameter $output as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 348

Deprecated: N98\Magento\Application::run(): Implicitly marking parameter $output as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 348
PHP Deprecated:  N98\Magento\Application::init(): Implicitly marking parameter $input as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 404

Deprecated: N98\Magento\Application::init(): Implicitly marking parameter $input as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 404
PHP Deprecated:  N98\Magento\Application::init(): Implicitly marking parameter $output as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 404

Deprecated: N98\Magento\Application::init(): Implicitly marking parameter $output as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 404
PHP Deprecated:  N98\Magento\Application::reinit(): Implicitly marking parameter $input as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 656

Deprecated: N98\Magento\Application::reinit(): Implicitly marking parameter $input as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 656
PHP Deprecated:  N98\Magento\Application::reinit(): Implicitly marking parameter $output as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 656

Deprecated: N98\Magento\Application::reinit(): Implicitly marking parameter $output as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application.php on line 656
PHP Deprecated:  N98\Magento\Application\Config::__construct(): Implicitly marking parameter $output as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application/Config.php on line 67

Deprecated: N98\Magento\Application\Config::__construct(): Implicitly marking parameter $output as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application/Config.php on line 67
PHP Deprecated:  N98\Magento\Application\ConfigurationLoader::applyVariables(): Implicitly marking parameter $file as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application/ConfigurationLoader.php on line 282

Deprecated: N98\Magento\Application\ConfigurationLoader::applyVariables(): Implicitly marking parameter $file as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application/ConfigurationLoader.php on line 282
PHP Deprecated:  N98\Magento\Application\ConfigFile::applyVariables(): Implicitly marking parameter $file as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application/ConfigFile.php on line 78

Deprecated: N98\Magento\Application\ConfigFile::applyVariables(): Implicitly marking parameter $file as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Application/ConfigFile.php on line 78
PHP Deprecated:  N98\Util\Console\Helper\MagentoHelper::__construct(): Implicitly marking parameter $input as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Util/Console/Helper/MagentoHelper.php on line 78

Deprecated: N98\Util\Console\Helper\MagentoHelper::__construct(): Implicitly marking parameter $input as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Util/Console/Helper/MagentoHelper.php on line 78
PHP Deprecated:  N98\Util\Console\Helper\MagentoHelper::__construct(): Implicitly marking parameter $output as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Util/Console/Helper/MagentoHelper.php on line 78

Deprecated: N98\Util\Console\Helper\MagentoHelper::__construct(): Implicitly marking parameter $output as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Util/Console/Helper/MagentoHelper.php on line 78
PHP Deprecated:  N98\Magento\Command\SelfUpdateCommand::updatePhar(): Implicitly marking parameter $forcedVersion as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Command/SelfUpdateCommand.php on line 214

Deprecated: N98\Magento\Command\SelfUpdateCommand::updatePhar(): Implicitly marking parameter $forcedVersion as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Command/SelfUpdateCommand.php on line 214
PHP Deprecated:  N98\Magento\Command\SelfUpdateCommand::getChangelog(): Implicitly marking parameter $forcedVersion as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Command/SelfUpdateCommand.php on line 550

Deprecated: N98\Magento\Command\SelfUpdateCommand::getChangelog(): Implicitly marking parameter $forcedVersion as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Magento/Command/SelfUpdateCommand.php on line 550
PHP Deprecated:  N98\Util\Console\Helper\DatabaseHelper::getConnection(): Implicitly marking parameter $output as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Util/Console/Helper/DatabaseHelper.php on line 123

Deprecated: N98\Util\Console\Helper\DatabaseHelper::getConnection(): Implicitly marking parameter $output as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Util/Console/Helper/DatabaseHelper.php on line 123
PHP Deprecated:  N98\Util\Console\Helper\DatabaseHelper::resolveTablesArray(): Implicitly marking parameter $carry as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Util/Console/Helper/DatabaseHelper.php on line 576

Deprecated: N98\Util\Console\Helper\DatabaseHelper::resolveTablesArray(): Implicitly marking parameter $carry as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Util/Console/Helper/DatabaseHelper.php on line 576
PHP Deprecated:  N98\Util\Console\Helper\DatabaseHelper::fallbackOutput(): Implicitly marking parameter $output as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Util/Console/Helper/DatabaseHelper.php on line 860

Deprecated: N98\Util\Console\Helper\DatabaseHelper::fallbackOutput(): Implicitly marking parameter $output as nullable is deprecated, the explicit nullable type must be used instead in phar:///usr/local/bin/n98-magerun2.phar/src/N98/Util/Console/Helper/DatabaseHelper.php on line 860

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions