Skip to content

Incorrect namespace in plugin after scaffolding #176

@kevinfodness

Description

@kevinfodness

Description of the bug

The namespace in the plugin is set to Alley\WP\[MySite]_Plugin instead of MySite_Plugin.

Steps To Reproduce

  1. Run the configure script on this repo and give it some values.
  2. Run composer phpcs and notice that WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedNamespaceFound error triggers because the namespace in the plugin starts with Alley\WP\ when it should not.

Metadata

Metadata

Assignees

Labels

devopsTooling and workflow improvementsphpRequires understanding PHP

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions