You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"?
The text was updated successfully, but these errors were encountered:
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?
Output:
The text was updated successfully, but these errors were encountered: