RuleSetTest.php 715 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /*
  3. * This file is part of PHP CS Fixer.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. * Dariusz Rumiński <dariusz.ruminski@gmail.com>
  7. *
  8. * This source file is subject to the MIT license that is bundled
  9. * with this source code in the file LICENSE.
  10. */
  11. namespace PhpCsFixer\Tests;
  12. use PhpCsFixer\RuleSet;
  13. /**
  14. * @author Dariusz Rumiński <dariusz.ruminski@gmail.com>
  15. *
  16. * @internal
  17. *
  18. * @covers \PhpCsFixer\RuleSet
  19. *
  20. * @deprecated will be removed in 3.0, use \PhpCsFixer\RuleSet\RuleSet
  21. */
  22. final class RuleSetTest extends TestCase
  23. {
  24. public function testRuleSetExtendsNewClass()
  25. {
  26. $set = new RuleSet();
  27. static::assertInstanceOf(RuleSet\RuleSet::class, $set);
  28. }
  29. }