I want to use namespace in my plugin. And I have error after PHP_Code_Sniffer check.
Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "
eustatos\test_plugin
". (WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedNamespaceFound
)
My folder structure:
.
└── test-plugin
├── composer.json
├── phpcs.xml
├── test-plugin.php
└── vendor
// test-plugin.php
<?php
namespace eustatos\test_plugin;
phpcs.xml
content from here
How I must name namespace?