for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class MakeCommandCommand extends MakeCommand
You can fix this by adding a namespace to your class:
namespace YourVendor; class YourClass { }
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.
{
/**
* @var string
*/
protected $name = 'make:command';
protected $description = 'Create a new Command class';
protected function buildClass($class)
$content = parent::buildClass($class);
$content = str_replace('CommandName', strtolower($this->getNameInput()), $content);
return $content;
}
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.