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
I got a quite specific use case within my code, where I create an anonymous class extending another class dynamically.
Our pipelines fail since Spryker's composer-constrainer cannot handle this.
class_alias($class, '\AnyClass'); // value of $class is only known at runtime$extendedClass = newclass () extends \AnyClass { // ...
Executing constrainer throws the following exception:
ReflectionException - Exception: Class "AnyClass@anonymous" does not exist
in /builds/aci/spryker/spryker-b2c/vendor/spryker-sdk/composer-constrainer/src/SprykerSdk/Zed/ComposerConstrainer/Business/Finder/ExtendedModuleFinder/ExtendedModuleFinder.php (129)
Support for class_alias() should be added.
The text was updated successfully, but these errors were encountered:
I got a quite specific use case within my code, where I create an anonymous class extending another class dynamically.
Our pipelines fail since Spryker's composer-constrainer cannot handle this.
Executing constrainer throws the following exception:
Support for class_alias() should be added.
The text was updated successfully, but these errors were encountered: