Fixed phpstan issues

main
Yanick Witschi 5 years ago
parent d1dc367d86
commit 02b6dc876f

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

@ -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(

@ -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'),
));

@ -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'),

Loading…
Cancel
Save