Skip to content

BUG: module generation issue #63

@igorsKolcinsMagebit

Description

@igorsKolcinsMagebit

Steps to reproduce:

  1. Run the command: Magento Toolbox: Generate Module
  2. Command will generate you registration.php file:
<?php

declare(strict_types=1);

ComponentRegistrar::register(ComponentRegistrar::MODULE, 'Vendor_Module', __DIR__);

This is wrong because ComponentRegistrar is not found.
It must have:

use Magento\Framework\Component\ComponentRegistrar;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions