-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
kind/bugSomething isn't workingSomething isn't working
Description
PHP Version
8.1 / 8.2
Shopware Version
6.5.X / 6.6.X
Plugin Version
1.0.3
Actual behaviour
In version 5 of the PHP-Parser library, ParserFactory::create() has been removed. This will give an error when creating an OneToOneAssociationField and then create an own entity extensions. It’s caused by this line.
Expected behaviour
Create own entity extension and after that proceed with generating the Entity.
Steps to Reproduce?
- Run frosh:make:definition
- Add OneToOneAssociationField
- Select yes "Create an own entity extensions?"
Output:
In EntityLoader.php line 83:
[Symfony\Component\ErrorHandler\Error\UndefinedMethodError]
Attempted to call an undefined method named "create" of class "PhpParser\ParserFactory".
Did you mean to call e.g. "createForHostVersion", "createForNewestSupportedVersion" or "createForVersion"?
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working