Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rolandinsh/e4f49060bdf310753880c9e767fe96e7 to your computer and use it in GitHub Desktop.
Save rolandinsh/e4f49060bdf310753880c9e767fe96e7 to your computer and use it in GitHub Desktop.
Legacy support for transit Symfony comment() to writeln()
<?php
/**
* {@inheritdoc}
* Legacy support
* @link https://github.com/sensiolabs/security-checker/commit/885d3e6400fa4cb18eb68d9fde5b739bbee155ce
*/
public function comment($messages, $type = self::OUTPUT_NORMAL)
{
$this->writeln($messages, $type);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment