Php8Command example

$tester = new CommandTester($command);
        $tester->execute([]);

        $this->assertEquals('interact called'.\PHP_EOL.'not bound'.\PHP_EOL, $tester->getDisplay());
    }

    public function testCommandAttribute()
    {
        $this->assertSame('|foo|f', Php8Command::getDefaultName());
        $this->assertSame('desc', Php8Command::getDefaultDescription());

        $command = new Php8Command();

        $this->assertSame('foo', $command->getName());
        $this->assertSame('desc', $command->getDescription());
        $this->assertTrue($command->isHidden());
        $this->assertSame(['f']$command->getAliases());
    }

    /** * @group legacy */
    public function testDefaultNameProperty()
    {
Home | Imprint | This part of the site doesn't use cookies.