8000 Symfony container lint fails due too "definition type mismatch" · Issue #6 · SyliusLabs/DoctrineMigrationsExtraBundle · GitHub
[go: up one dir, main page]

Skip to content
Symfony container lint fails due too "definition type mismatch" #6
@stloyd

Description

@stloyd

Error:

root@f358b3c8a901:/var/www/project/current# bin/console lint:container --env=dev

 [ERROR] Invalid definition for service "doctrine.migrations.dependency_factory": argument 2 of
         "Doctrine\Migrations\DependencyFactory::setDefinition" accepts "callable",
         "SyliusLabs\DoctrineMigrationsExtraBundle\Factory\ContainerAwareVersionFactory" passed.

Configuration:

doctrine_migrations:
  all_or_nothing: true
  migrations_paths:
    'App\Migrations': "%kernel.project_dir%/src/Migrations"
  storage:
    table_storage:
      table_name: 'migration_versions'

sylius_labs_doctrine_migrations_extra:
  migrations:
    'App\Migrations': ~

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

      0