[Shadow] Replace Logger with Console class in LunrCliParser

Review Request #239 — Created Nov. 12, 2013 and submitted — Latest diff uploaded

pprkut
Lunr
master
lunr
Using the logger in the LunrCliParser class results in a recursive loop in the service locator (LunrCliParser -> Logger -> CliRequest -> LunrCliParser).
Switch reporting command line parsing errors to the console class (they are not really log worthy anyway) to avoid that loop.
Unit tests
src/Lunr/Shadow/LunrCliParser.php
src/Lunr/Shadow/Tests/LunrCliParserBaseTest.php
src/Lunr/Shadow/Tests/LunrCliParserCheckArgumentTest.php
src/Lunr/Shadow/Tests/LunrCliParserCheckObligatoryArgumentTest.php
src/Lunr/Shadow/Tests/LunrCliParserCheckOptionalArgumentTest.php
src/Lunr/Shadow/Tests/LunrCliParserIsOptTest.php
src/Lunr/Shadow/Tests/LunrCliParserParseTest.php
src/Lunr/Shadow/Tests/LunrCliParserTest.php
src/Lunr/Shadow/Tests/LunrCliParserValidLongTest.php
src/Lunr/Shadow/Tests/LunrCliParserValidShortTest.php
Loading...