Skip to content

Commit 5517b38

Browse files
committed
1 parent f7f8c65 commit 5517b38

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Tests/PhpProcessTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public function testNonBlockingWorks()
2222
{
2323
$expected = 'hello world!';
2424
$process = new PhpProcess(<<<PHP
25-
<?php echo '$expected';
26-
PHP
25+
<?php echo '$expected';
26+
PHP
2727
);
2828
$process->start();
2929
$process->wait();
@@ -33,8 +33,8 @@ public function testNonBlockingWorks()
3333
public function testCommandLine()
3434
{
3535
$process = new PhpProcess(<<<'PHP'
36-
<?php echo phpversion().PHP_SAPI;
37-
PHP
36+
<?php echo phpversion().PHP_SAPI;
37+
PHP
3838
);
3939

4040
$commandLine = $process->getCommandLine();
@@ -55,8 +55,8 @@ public function testPassingPhpExplicitly()
5555

5656
$expected = 'hello world!';
5757
$script = <<<PHP
58-
<?php echo '$expected';
59-
PHP;
58+
<?php echo '$expected';
59+
PHP;
6060
$process = new PhpProcess($script, null, null, 60, $php);
6161
$process->run();
6262
$this->assertEquals($expected, $process->getOutput());
@@ -67,8 +67,8 @@ public function testProcessCannotBeCreatedUsingFromShellCommandLine()
6767
static::expectException(LogicException::class);
6868
static::expectExceptionMessage('The "Symfony\Component\Process\PhpProcess::fromShellCommandline()" method cannot be called when using "Symfony\Component\Process\PhpProcess".');
6969
PhpProcess::fromShellCommandline(<<<PHP
70-
<?php echo 'Hello World!';
71-
PHP
70+
<?php echo 'Hello World!';
71+
PHP
7272
);
7373
}
7474
}

0 commit comments

Comments
 (0)