function let(Config $config)
{
$config
->get(strtolower($this->module).'.buildable')
->willReturn([
$this->classname,
[]
]);
$config
->get(strtolower($this->nonexistentModule).'.buildable')
->willReturn([
$this->nonexistantClassname,
[]
]);
$config
->get(strtolower($this->moduleWithGoodConstruct).'.buildable')
->willReturn([
$this->moduleWithGoodConstructClassname,
[
'arg1',
'named' => 'arg'
]
]);
$config
->get(strtolower($this->moduleWithBadConstruct).'.buildable')
->willReturn([
$this->moduleWithBadConstructClassname,
'badConstruct'
]);
$this->beConstructedWith($config);
}
function let(Config $config)
{
$config
->get(strtolower($this->module).'.buildable')
+--- 27 lines: ->willReturn([...}-----------------------------
There appears to be a bug when there's a
([ ])fold.resulted in