Skip to content

PHP 8.5 Deprecation Notice: Using null as an array offset is deprecated in DockerComposeConfigurator.php #1079

@Mynyx

Description

@Mynyx

When installing a new Symfony 8.0 webapp with Composer under PHP 8.5, a depreaction notice is shown:

composer create-project symfony/skeleton:"8.0.*" my_project_directory
cd my_project_directory
composer require webapp
...
Symfony operations: 22 recipes (028901ec6b3613f936547ee3acc5f42f)
  - Configuring symfony/webapp-pack (>=1.0): From github.com/symfony/recipes:main
  - Configuring doctrine/deprecations (>=1.0): From github.com/symfony/recipes:main
  - Configuring doctrine/doctrine-bundle (>=3.0): From github.com/symfony/recipes:main
  -  WARNING  doctrine/doctrine-bundle (>=3.0): From github.com/symfony/recipes:main
    The recipe for this package contains some Docker configuration.

    This may create/update compose.yaml or update Dockerfile (if it exists).

    Do you want to include Docker configuration from recipes?
    [y] Yes
    [n] No
    [p] Yes permanently, never ask again for this project
    [x] No permanently, never ask again for this project
    (defaults to y):
Deprecation Notice: Using null as an array offset is deprecated, use an empty string instead in /.../my_project_directory/vendor/symfony/flex/src/Configurator/DockerComposeConfigurator.php:288
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions