Heimdall icon indicating copy to clipboard operation
Heimdall copied to clipboard

PHP 8.4.5 - Deprecated function calls

Open bgernert opened this issue 8 months ago • 1 comments

I am trying to install Heimdall on my server running PHP 8.4.5. By issuing the command php artisan key:generate I get a lot of deprecation warnings:

root@bfbac7f07a3a:/var/www/html/heimdall# php artisan key:generate

Deprecated: GuzzleHttp\Promise\queue(): Implicitly marking parameter $assign as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/guzzlehttp/promises/src/functions.php on line 24

Deprecated: GuzzleHttp\Promise\each(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/guzzlehttp/promises/src/functions.php on line 260

Deprecated: GuzzleHttp\Promise\each(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/guzzlehttp/promises/src/functions.php on line 260

Deprecated: GuzzleHttp\Promise\each_limit(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/guzzlehttp/promises/src/functions.php on line 285

Deprecated: GuzzleHttp\Promise\each_limit(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/guzzlehttp/promises/src/functions.php on line 285

Deprecated: GuzzleHttp\Promise\each_limit_all(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/guzzlehttp/promises/src/functions.php on line 307

Deprecated: Psy\info(): Implicitly marking parameter $config as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/psy/psysh/src/functions.php on line 131

Deprecated: Symfony\Component\Translation\t(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/translation/Resources/functions.php on line 18

Deprecated: Opis\Closure\unserialize(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/opis/closure/functions.php on line 32

Deprecated: optional(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Support/helpers.php on line 354

Deprecated: with(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Support/helpers.php on line 556

Deprecated: Illuminate\Container\Container::resolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1042

Deprecated: Illuminate\Container\Container::afterResolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1062

Deprecated: Illuminate\Container\Container::setInstance(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1259

Deprecated: Illuminate\Contracts\Container\Container::resolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Contracts/Container/Container.php on line 173

Deprecated: Illuminate\Contracts\Container\Container::afterResolving(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Contracts/Container/Container.php on line 182

Deprecated: Return type of Illuminate\Container\Container::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1270

Deprecated: Return type of Illuminate\Container\Container::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1281

Deprecated: Return type of Illuminate\Container\Container::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1293

Deprecated: Return type of Illuminate\Container\Container::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 1306

Deprecated: Illuminate\Support\Arr::first(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Support/Arr.php on line 162

Deprecated: Illuminate\Support\Arr::last(): Implicitly marking parameter $callback as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Support/Arr.php on line 191

Deprecated: Illuminate\Events\Dispatcher::__construct(): Implicitly marking parameter $container as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php on line 62

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $argv as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\Input::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Input/Input.php on line 36

Deprecated: Symfony\Component\Console\Output\ConsoleOutput::__construct(): Implicitly marking parameter $decorated as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Output/ConsoleOutput.php on line 40

Deprecated: Symfony\Component\Console\Output\ConsoleOutput::__construct(): Implicitly marking parameter $formatter as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Output/ConsoleOutput.php on line 40

Deprecated: Symfony\Component\Console\Output\StreamOutput::__construct(): Implicitly marking parameter $decorated as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Output/StreamOutput.php on line 42

Deprecated: Symfony\Component\Console\Output\StreamOutput::__construct(): Implicitly marking parameter $formatter as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Output/StreamOutput.php on line 42

Deprecated: Symfony\Component\Console\Output\Output::__construct(): Implicitly marking parameter $formatter as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Output/Output.php on line 40

Deprecated: Symfony\Component\Console\Formatter\OutputFormatterStyle::__construct(): Implicitly marking parameter $foreground as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Formatter/OutputFormatterStyle.php on line 36

Deprecated: Symfony\Component\Console\Formatter\OutputFormatterStyle::__construct(): Implicitly marking parameter $background as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Formatter/OutputFormatterStyle.php on line 36

Deprecated: Symfony\Component\Console\Formatter\OutputFormatterStyle::setForeground(): Implicitly marking parameter $color as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Formatter/OutputFormatterStyle.php on line 44

Deprecated: Symfony\Component\Console\Formatter\OutputFormatterStyle::setBackground(): Implicitly marking parameter $color as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Formatter/OutputFormatterStyle.php on line 52

Deprecated: Symfony\Component\Console\Formatter\OutputFormatterStyleInterface::setForeground(): Implicitly marking parameter $color as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php on line 24

Deprecated: Symfony\Component\Console\Formatter\OutputFormatterStyleInterface::setBackground(): Implicitly marking parameter $color as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php on line 29

Deprecated: Symfony\Component\Console\Formatter\OutputFormatterStyleStack::__construct(): Implicitly marking parameter $emptyStyle as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php on line 29

Deprecated: Symfony\Component\Console\Formatter\OutputFormatterStyleStack::pop(): Implicitly marking parameter $style as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php on line 58

Deprecated: Dotenv\Repository\RepositoryBuilder::__construct(): Implicitly marking parameter $readers as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php on line 43

Deprecated: Dotenv\Repository\RepositoryBuilder::__construct(): Implicitly marking parameter $writers as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php on line 43

Deprecated: Dotenv\Repository\RepositoryBuilder::withReaders(): Implicitly marking parameter $readers as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php on line 67

Deprecated: Dotenv\Repository\RepositoryBuilder::withWriters(): Implicitly marking parameter $writers as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php on line 81

Deprecated: Dotenv\Store\StoreBuilder::__construct(): Implicitly marking parameter $names as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/vlucas/phpdotenv/src/Store/StoreBuilder.php on line 39

Deprecated: Dotenv\Loader\Loader::__construct(): Implicitly marking parameter $whitelist as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/vlucas/phpdotenv/src/Loader/Loader.php on line 25

Deprecated: Dotenv\Loader\Loader::resolveNestedVariables(): Implicitly marking parameter $value as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/vlucas/phpdotenv/src/Loader/Loader.php on line 87

Deprecated: Return type of Illuminate\Config\Repository::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 141

Deprecated: Return type of Illuminate\Config\Repository::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 152

Deprecated: Return type of Illuminate\Config\Repository::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 164

Deprecated: Return type of Illuminate\Config\Repository::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Config/Repository.php on line 175

Deprecated: Illuminate\Support\Str::createUuidsUsing(): Implicitly marking parameter $factory as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/laravel/framework/src/Illuminate/Support/Str.php on line 762

Deprecated: voku\helper\ASCII::to_ascii(): Implicitly marking parameter $replace_single_chars_only as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/heimdall/vendor/voku/portable-ascii/src/voku/helper/ASCII.php on line 830

PHP version used:

root@bfbac7f07a3a:/var/www/html/heimdall# php --version
PHP 8.4.5 (cli) (built: Mar 17 2025 23:15:51) (NTS)
Copyright (c) The PHP Group
Built by https://github.com/docker-library/php
Zend Engine v4.4.5, Copyright (c) Zend Technologies

I am on the 3.x branch of Heimdall.

bgernert avatar Apr 10 '25 16:04 bgernert

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

LinuxServer-CI avatar May 11 '25 15:05 LinuxServer-CI

Next release has support for PHP 8.4 it's been merged into 2.x it just needs testing before a new release is published.

KodeStar avatar Jul 11 '25 15:07 KodeStar

This issue is locked due to inactivity

LinuxServer-CI avatar Aug 10 '25 15:08 LinuxServer-CI