XdebugHandler.php 845 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /*
  3. * This file is part of Composer.
  4. *
  5. * (c) Nils Adermann <naderman@naderman.de>
  6. * Jordi Boggiano <j.boggiano@seld.be>
  7. *
  8. * For the full copyright and license information, please view the LICENSE
  9. * file that was distributed with this source code.
  10. */
  11. namespace Composer;
  12. use Symfony\Component\Console\Output\OutputInterface;
  13. trigger_error('The ' . __NAMESPACE__ . '\XdebugHandler class is deprecated, use Composer\XdebugHandler\XdebugHandler instead,', E_USER_DEPRECATED);
  14. /**
  15. * @deprecated use Composer\XdebugHandler\XdebugHandler instead
  16. */
  17. class XdebugHandler extends XdebugHandler\XdebugHandler
  18. {
  19. const ENV_ALLOW = 'COMPOSER_ALLOW_XDEBUG';
  20. const ENV_VERSION = 'COMPOSER_XDEBUG_VERSION';
  21. public function __construct(OutputInterface $output)
  22. {
  23. parent::__construct('composer', '--ansi');
  24. }
  25. }