1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 16:42:57 +00:00

Fix a few phpstan errors and add a php8+ baseline for the rest

This commit is contained in:
Jordi Boggiano 2022-01-01 14:39:32 +01:00
parent a4a2b6da87
commit 0b3adc84da
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
12 changed files with 8916 additions and 9 deletions

View file

@ -277,6 +277,9 @@ class PerforceTest extends TestCase
public function testWriteP4ClientSpecWithoutStream()
{
$stream = fopen('php://memory', 'w+');
if (false === $stream) {
self::fail('Could not open memory stream');
}
$this->perforce->writeClientSpecToFile($stream);
rewind($stream);
@ -298,6 +301,9 @@ class PerforceTest extends TestCase
{
$this->setPerforceToStream();
$stream = fopen('php://memory', 'w+');
if (false === $stream) {
self::fail('Could not open memory stream');
}
$this->perforce->writeClientSpecToFile($stream);
rewind($stream);