propelorm / PropelBundle

PropelBundle for Symfony.
http://propelorm.org/Propel/documentation/#working-with-symfony2
180 stars 156 forks source link

Fix inverted command verbosity for PropelBundle 1.4/1.5/1.6 #453

Closed xelan closed 6 years ago

xelan commented 7 years ago
Q A
Branch? 1.4/1.5/1.6
Bug fix? yes
New feature? no
BC breaks? possibly (if users rely on the incorrect behaviour)
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT

For the 1.x branches of PropelBundle, the verbosity is apparently inverted to the expected behaviour.

$bufferPhingOutput is initially set to Symfony's kernel.debug parameter. However, the conditional for checking the buffer works the other way round: If buffering is enabled, the buffer is discarded, otherwise it is output.

This commit fixes that issue. Now if $bufferPhingOutput is true, the detailed output of the command is displayed.