Commit c7a9432f authored by Daniel Hürtgen's avatar Daniel Hürtgen

TASK: Remove not needed variable

parent 05aeb252
Pipeline #149 passed with stage
in 3 minutes and 6 seconds
......@@ -51,8 +51,7 @@ class Factory
{
$standards = new Standards();
foreach ($paths as $path) {
$standard = $this->standardFactory->create($path);
$standards->addStandard($standard);
$standards->addStandard($this->standardFactory->create($path));
}
return $standards;
......
......@@ -85,8 +85,7 @@ class FinderTest extends \PHPUnit_Framework_TestCase
$path . DIRECTORY_SEPARATOR . 'Standard1',
);
$fluentMethods = array('in', 'files', 'name', 'sortByName');
foreach ($fluentMethods as $fluentMethod) {
foreach (array('in', 'files', 'name', 'sortByName') as $fluentMethod) {
$this->symfonyFinderMock
->method($fluentMethod)
->willReturn($this->symfonyFinderMock);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment