Skip to content

Standardize error output handling

Choose a tag to compare

@michelphp michelphp released this 16 Dec 13:21
· 5 commits to main since this release
  • Add an error() method to OutputInterface to create a dedicated channel for error messages.
  • The Output class now handles writing to STDERR when the error method is used.
  • ConsoleOutput is updated to use the new error() method for consistent error handling.