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
|
@ -31,7 +31,7 @@ class CacheTest extends TestCase
|
|||
public function setUp(): void
|
||||
{
|
||||
$this->root = self::getUniqueTmpDirectory();
|
||||
$this->files = array();
|
||||
$this->files = [];
|
||||
$zeros = str_repeat('0', 1000);
|
||||
|
||||
for ($i = 0; $i < 4; $i++) {
|
||||
|
@ -44,8 +44,8 @@ class CacheTest extends TestCase
|
|||
|
||||
$io = $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
|
||||
$this->cache = $this->getMockBuilder('Composer\Cache')
|
||||
->onlyMethods(array('getFinder'))
|
||||
->setConstructorArgs(array($io, $this->root))
|
||||
->onlyMethods(['getFinder'])
|
||||
->setConstructorArgs([$io, $this->root])
|
||||
->getMock();
|
||||
$this->cache
|
||||
->expects($this->any())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue