Symfony23Config.php 895 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /*
  3. * This file is part of the PHP CS utility.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace Symfony\CS\Config;
  11. use Symfony\CS\Finder\Symfony23Finder;
  12. /**
  13. * @author Fabien Potencier <fabien@symfony.com>
  14. */
  15. class Symfony23Config extends Config
  16. {
  17. public function __construct()
  18. {
  19. @trigger_error(
  20. sprintf('The "%s" class is deprecated. You should stop using it, as it will soon be removed in 2.0 version.', __CLASS__),
  21. E_USER_DEPRECATED
  22. );
  23. parent::__construct();
  24. $this->finder = new Symfony23Finder();
  25. }
  26. public function getName()
  27. {
  28. return 'sf23';
  29. }
  30. public function getDescription()
  31. {
  32. return 'The configuration for the Symfony 2.3+ branch';
  33. }
  34. }