richardmiller-zz / ErrorExtension

Behat extension to handle fatal errors in a slightly nicer way. [READ-ONLY] Subtree split from https://github.com/richardmiller/BehatSpec
MIT License
7 stars 2 forks source link

Remove deprecated OutputPrinter #3

Closed pocky closed 7 years ago

pocky commented 7 years ago

Behat\Testwork\Output\Printer\OutputPrinter is deprecated so I switch to Symfony\Component\Console\Output\OutputInterface.

I am just not sure about the level because OutputInterface::VERBOSITY_NORMAL equal 32 OutputInterface::OUTPUT_NORMAL equal 1 and OutputPrinter::VERBOSITY_NORMAL equal 1 but I think OutputInterface::VERBOSITY_NORMAL is the right solution. Can anyone confirm?