Skip to content

Craue\ConfigBundle\Util\Config::__construct(): Implicitly marking parameter $cache as nullable is deprecated, the explicit nullable type must be used instead #66

@crmpicco

Description

@crmpicco

Are there any plans to support PHP 8.4?

I am running PHP 8.4 locally and i'm hitting this deprecation notice from this bundle.

{▼
  [/private/var/www/crmpicco/vendor/craue/config-bundle/Util/Config.php:38](file:///private/var/www/crmpicco/vendor/craue/config-bundle/Util/Config.php#L38) {▼
    [is_subclass_of(mixed $object_or_class, string $class, bool $allow_string = true): bool](file:///private/var/www/crmpicco/vendor/craue/config-bundle/Util/Config.php#L38) …
    › 
    › [public function __construct(CacheAdapterInterface $cache = null) {](file:///private/var/www/crmpicco/vendor/craue/config-bundle/Util/Config.php#L38)
    › \t$this->setCache($cache ?? new NullAdapter());
  }
  [/private/var/www/crmpicco/vendor/symfony/http-kernel/DependencyInjection/RegisterControllerArgumentLocatorsPass.php:162](file:///private/var/www/crmpicco/vendor/symfony/http-kernel/DependencyInjection/RegisterControllerArgumentLocatorsPass.php#L162) {▼
    ›     continue;
    › [} elseif (!$autowireAttributes && is_subclass_of($type, \UnitEnum::class)) {](file:///private/var/www/crmpicco/vendor/symfony/http-kernel/DependencyInjection/RegisterControllerArgumentLocatorsPass.php#L162)
    ›     // do not attempt to register enum typed arguments if not already present in bindings
  }
}

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