mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 03:35:01 +01:00
16 lines
336 B
PHP
16 lines
336 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace Rector\Tests\Naming;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use Rector\Naming\CommandNaming;
|
|
|
|
final class CommandNamingTest extends TestCase
|
|
{
|
|
public function test(): void
|
|
{
|
|
$name = CommandNaming::classToName('SomeNameCommand');
|
|
$this->assertSame('some-name', $name);
|
|
}
|
|
}
|