mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix CS (#11003)
This commit is contained in:
parent
6e205a0c84
commit
131da999ac
357 changed files with 5943 additions and 9174 deletions
|
@ -32,14 +32,14 @@ class JsonValidationExceptionTest extends TestCase
|
|||
public function testGetErrorsWhenNoErrorsProvided(): void
|
||||
{
|
||||
$object = new JsonValidationException('test message');
|
||||
$this->assertEquals(array(), $object->getErrors());
|
||||
$this->assertEquals([], $object->getErrors());
|
||||
}
|
||||
|
||||
public function errorProvider(): array
|
||||
{
|
||||
return array(
|
||||
array('test message', array(), 'test message', []),
|
||||
array('', ['foo'], '', ['foo']),
|
||||
);
|
||||
return [
|
||||
['test message', [], 'test message', []],
|
||||
['', ['foo'], '', ['foo']],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue