public function ProcessBuilderTest::testInvalidInput in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/Tests/ProcessBuilderTest.php \Symfony\Component\Process\Tests\ProcessBuilderTest::testInvalidInput()
@expectedException \Symfony\Component\Process\Exception\InvalidArgumentException @expectedExceptionMessage Symfony\Component\Process\ProcessBuilder::setInput only accepts strings or stream resources.
File
- vendor/
symfony/ process/ Tests/ ProcessBuilderTest.php, line 220
Class
Namespace
Symfony\Component\Process\TestsCode
public function testInvalidInput() {
$builder = ProcessBuilder::create();
$builder
->setInput(array());
}