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
private function getNewEntityFolder(string $namespace): string
{
global $classLoader;
$prefixes = $classLoader->getPrefixesPsr4();
$classLoader is null and an error [Error] Call to a member function getPrefixesPsr4() on null is thrown
Expected behaviour
$classLoader is an instance of ClassLoader and returns the prefixes when executing getPrefixesPsr4().
Steps to Reproduce?
I installed store.shopware.com/froshdevelopmenthelper (Version 0.3.6) via composer, installed the plugin via console and ran the command bin/console frosh:make:definition My\\Name\\Space
The text was updated successfully, but these errors were encountered:
PHP Version
8.1
Shopware Version
6.4.18.0
Actual behaviour
$classLoader
isnull
and an error[Error] Call to a member function getPrefixesPsr4() on null
is thrownExpected behaviour
$classLoader
is an instance ofClassLoader
and returns the prefixes when executinggetPrefixesPsr4()
.Steps to Reproduce?
I installed
store.shopware.com/froshdevelopmenthelper
(Version 0.3.6) via composer, installed the plugin via console and ran the commandbin/console frosh:make:definition My\\Name\\Space
The text was updated successfully, but these errors were encountered: