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:
parent
a4a2b6da87
commit
0b3adc84da
12 changed files with 8916 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue