You are here

public function ApplicationTest::provideAmbiguousAbbreviations in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/ApplicationTest.php \Symfony\Component\Console\Tests\ApplicationTest::provideAmbiguousAbbreviations()

File

vendor/symfony/console/Tests/ApplicationTest.php, line 278

Class

ApplicationTest

Namespace

Symfony\Component\Console\Tests

Code

public function provideAmbiguousAbbreviations() {
  return array(
    array(
      'f',
      'Command "f" is not defined.',
    ),
    array(
      'a',
      'Command "a" is ambiguous (afoobar, afoobar1 and 1 more).',
    ),
    array(
      'foo:b',
      'Command "foo:b" is ambiguous (foo:bar, foo:bar1 and 1 more).',
    ),
  );
}