#63: Make ResultPrinter a configurable option
Issue revisions
- new by beberlei at 2009-F-27 22:29
- assigned by Manuel Pichler at 2009-F-27 22:46
- assigned by Manuel Pichler at 2009-F-27 22:50
- closed by Manuel Pichler at 2009-M-03 8:43
| Type | |
|---|---|
| State | |
| Priority | |
| Resolution | |
| Assigned to | Manuel Pichler |
| Scheduled for | 0.9.5 |
| Affected versions | 0.9.3 |
| Affected components | Logger, TextUI |
| Last change | Tuesday 3 March 2009 08:43:24 UTC by Manuel Pichler |
Short description
The PHP_Depend_TextUi_ResultPrinter is instantiated in the PHP_Depend_TextUi_Runner class hardcoded somewhere deep in the run() method and then injected into the PHP_Depend class as listener. Since you cannot remove process listeners and the instantiation is buried deep in the Runner, it is almost impossible to overwrite this printer, if you for example wanted a runner that prints no output at all.
Environment
...
Steps to reproduce
...
Expected behavior
...
Actual behavior
...
beberlei at Friday 27 February 2009 22:32:41 UTC
i am just seeing, that there is also a comment in the source about doing this :-)
Manuel Pichler at Friday 27 February 2009 22:50:03 UTC
Scheduled for PHP_Depend version 0.9.5.
Manuel Pichler at Tuesday 3 March 2009 08:43:24 UTC
Implemented in svn revision #668.