Skip to content

Symfony make entity command results in Exception #9669

@snipershady

Description

@snipershady

Bug Report

Symfony make entity command results in Exception

Q A
BUG yes
Version 2.12

Summary

Symfony make entity command results in Exception

Current behavior

symfony console make:entity

[critical] Error thrown while running command "make:entity". Message: "Cannot access protected property Doctrine\ORM\Mapping\Driver\AttributeDriver::$classNames"

How to reproduce

  • Set up new Symfony project
  • Use doctrine/orm 2.12 package
  • run make:entity

Expected behavior

No exception

Temporary workaround

Downgrade
doctrine/orm to 2.11.2

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