Behat/Behat — Issue #61: [bug] variable scope bug in BehatApplication.php
Author: devster
Created: 2011-10-18 07:05:33+00:00
State: open

Hello!
I'm checking your work and i found something wrong.
In Behat\Behat\Console\BehatApplication

this class extends Symfony\Component\Console\Application and all its properties are private.
So into the renderException method you can't set to null the parent property "runningCommand" (and also create a public property of BehatApplication) and expects the parent::renderException use it. The parent::method will use its private property.

The console component is not easy to extends because of all this private properties