mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix some PHP 8.1 deprecation warnings, fixes #10008
This commit is contained in:
parent
f5a03b950d
commit
10ae1d7b08
4 changed files with 3 additions and 12 deletions
|
@ -111,7 +111,7 @@ class ProcessExecutorTest extends TestCase
|
|||
$output = new BufferedOutput(OutputInterface::VERBOSITY_NORMAL, true);
|
||||
$process = new ProcessExecutor(new ConsoleIO(new ArrayInput(array()), $output, new HelperSet(array())));
|
||||
|
||||
$process->execute('php -r "echo \'<error>foo</error>\'.PHP_EOL;"');
|
||||
$process->execute('php -ddisplay_errors=0 -derror_reporting=0 -r "echo \'<error>foo</error>\'.PHP_EOL;"');
|
||||
$this->assertSame('<error>foo</error>'.PHP_EOL, $output->fetch());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue