mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
SCA with PHP Inspections (EA Extended)
This commit is contained in:
parent
6c1da86437
commit
c8615358cb
23 changed files with 38 additions and 70 deletions
|
@ -54,7 +54,7 @@ class GitHubTest extends \PHPUnit_Framework_TestCase
|
|||
$this->isFalse(),
|
||||
$this->anything()
|
||||
)
|
||||
->willReturn(sprintf('{}', $this->token))
|
||||
->willReturn('{}')
|
||||
;
|
||||
|
||||
$config = $this->getConfigMock();
|
||||
|
@ -116,9 +116,7 @@ class GitHubTest extends \PHPUnit_Framework_TestCase
|
|||
|
||||
private function getConfigMock()
|
||||
{
|
||||
$config = $this->getMock('Composer\Config');
|
||||
|
||||
return $config;
|
||||
return $this->getMock('Composer\Config');
|
||||
}
|
||||
|
||||
private function getRemoteFilesystemMock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue