mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fixes from PHPStan (#7687)
* fix docblocks * remove redundant conditional * fix wrong variable name * fix wrong namespaces * add missing private members * remove unused/redundant arguments * move testcase class * exclude TestCase.php * Tweak RuleWatchGraph type hints * Tweak doc comment
This commit is contained in:
parent
38a34159ef
commit
2a13bb2649
86 changed files with 163 additions and 166 deletions
|
@ -14,7 +14,7 @@ namespace Composer\Test\Repository\Vcs;
|
|||
|
||||
use Composer\Repository\Vcs\GitLabDriver;
|
||||
use Composer\Config;
|
||||
use Composer\TestCase;
|
||||
use Composer\Test\TestCase;
|
||||
use Composer\Util\Filesystem;
|
||||
use Prophecy\Argument;
|
||||
|
||||
|
@ -251,7 +251,7 @@ JSON;
|
|||
|
||||
public function testGetSource_GivenPublicProject()
|
||||
{
|
||||
$driver = $this->testInitializePublicProject('https://gitlab.com/mygroup/myproject', 'https://gitlab.com/api/v4/projects/mygroup%2Fmyproject', true);
|
||||
$driver = $this->testInitializePublicProject('https://gitlab.com/mygroup/myproject', 'https://gitlab.com/api/v4/projects/mygroup%2Fmyproject');
|
||||
|
||||
$reference = 'c3ebdbf9cceddb82cd2089aaef8c7b992e536363';
|
||||
$expected = array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue