/** * {@inheritdoc} */ public function __construct($output = null, $charset = null) { parent::__construct($output, $charset); if ('\\' === DIRECTORY_SEPARATOR && false !== @getenv('ANSICON')) { // Use only the base 16 xterm colors when using ANSICON $this->setStyles(array('default' => '31', 'num' => '1;34', 'const' => '1;31', 'str' => '1;32', 'note' => '34', 'ref' => '1;30', 'meta' => '35', 'key' => '32', 'index' => '34')); } }
/** * {@inheritdoc} */ public function __construct($output = null, $charset = null, $flags = 0) { parent::__construct($output, $charset, $flags); if ('\\' === DIRECTORY_SEPARATOR && 'ON' !== @getenv('ConEmuANSI') && 'xterm' !== @getenv('TERM')) { // Use only the base 16 xterm colors when using ANSICON or standard Windows 10 CLI $this->setStyles(array('default' => '31', 'num' => '1;34', 'const' => '1;31', 'str' => '1;32', 'note' => '34', 'ref' => '1;30', 'meta' => '35', 'key' => '32', 'index' => '34')); } }
/** * {@inheritdoc} */ public function __construct($output = null) { parent::__construct($output); if (defined('PHP_WINDOWS_VERSION_MAJOR') && false !== @getenv('ANSICON')) { // Use only the base 16 xterm colors when using ANSICON $this->setStyles(array('default' => '31', 'num' => '1;34', 'const' => '1;31', 'str' => '1;32', 'note' => '34', 'ref' => '1;30', 'meta' => '35', 'key' => '32', 'index' => '34')); } }
/** * {@inheritdoc} */ public function __construct($output = null, $charset = null) { AbstractDumper::__construct($output, $charset); $this->dumpId = 'sf-dump-' . mt_rand(); }
/** * {@inheritdoc} */ public function __construct($output = null, $charset = null, $flags = 0) { AbstractDumper::__construct($output, $charset, $flags); $this->dumpId = 'sf-dump-' . mt_rand(); $this->displayOptions['fileLinkFormat'] = ini_get('xdebug.file_link_format') ?: get_cfg_var('xdebug.file_link_format'); }