Guite / MostGenerator

Transformation cartridges for generating Symfony bundles from ModuleStudio models.
https://modulestudio.de
23 stars 2 forks source link

[1.4.x] Typo in AbtractMyModuleModule.php #870

Closed Portugao closed 7 years ago

Portugao commented 7 years ago

Some wrong braces....

Guite commented 7 years ago

Can you give an example?

Portugao commented 7 years ago
namespace MU\EternizerModule\Base {

    use Zikula\Core\AbstractModule;

    /**
     * Module base class.
     */
    abstract class AbstractMUEternizerModule extends AbstractModule
    {
    }
}

namespace {
    class MUEternizerModule_ContentType_ItemList extends \MU\EternizerModule\ContentType\ItemList {
    }
    class MUEternizerModule_ContentType_Item extends \MU\EternizerModule\ContentType\Item {
    }
}
Guite commented 7 years ago

What's wrong with that?

Guite commented 7 years ago

It's a hack to make content types work in 1.4. The same is done here https://github.com/zikula-ev/Formicula/blob/master/ZikulaFormiculaModule.php Closed as won't fix.

Portugao commented 7 years ago

Ok. Than I get a new issue.....