1
0
Fork 0

Fixed phpstan issues

pull/8444/head
Yanick Witschi 2019-11-27 17:55:02 +01:00
parent d1dc367d86
commit 02b6dc876f
4 changed files with 4 additions and 4 deletions

View File

@ -65,6 +65,6 @@ class PoolTest extends TestCase
protected function createPool()
{
return new Pool(array('stable' => BasePackage::STABILITY_STABLE));
return new Pool();
}
}

View File

@ -27,7 +27,7 @@ class RuleSetIteratorTest extends TestCase
protected function setUp()
{
$this->pool = new Pool(array('stable' => BasePackage::STABILITY_STABLE));
$this->pool = new Pool();
$this->rules = array(
RuleSet::TYPE_JOB => array(

View File

@ -139,7 +139,7 @@ class RuleSetTest extends TestCase
public function testPrettyString()
{
$pool = new Pool(array('stable' => BasePackage::STABILITY_STABLE));
$pool = new Pool();
$pool->setPackages(array(
$p = $this->getPackage('foo', '2.1'),
));

View File

@ -93,7 +93,7 @@ class RuleTest extends TestCase
public function testPrettyString()
{
$pool = new Pool(array('stable' => BasePackage::STABILITY_STABLE));
$pool = new Pool();
$pool->setPackages(array(
$p1 = $this->getPackage('foo', '2.1'),
$p2 = $this->getPackage('baz', '1.1'),