You are here

public function SigchildDisabledProcessTest::provideStartMethods in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Tests/SigchildDisabledProcessTest.php \Symfony\Component\Process\Tests\SigchildDisabledProcessTest::provideStartMethods()

Overrides AbstractProcessTest::provideStartMethods

File

vendor/symfony/process/Tests/SigchildDisabledProcessTest.php, line 244

Class

SigchildDisabledProcessTest

Namespace

Symfony\Component\Process\Tests

Code

public function provideStartMethods() {
  return array(
    array(
      'start',
      'Symfony\\Component\\Process\\Exception\\LogicException',
      'Output has been disabled, enable it to allow the use of a callback.',
    ),
    array(
      'run',
      'Symfony\\Component\\Process\\Exception\\LogicException',
      'Output has been disabled, enable it to allow the use of a callback.',
    ),
    array(
      'mustRun',
      'Symfony\\Component\\Process\\Exception\\RuntimeException',
      'This PHP has been compiled with --enable-sigchild. You must use setEnhanceSigchildCompatibility() to use this method.',
    ),
  );
}