IntegrationTest.php 927 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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\Test\AbstractIntegrationTestCase;
  13. /**
  14. * Test that parses and runs the fixture '*.test' files found in '/Fixtures/Integration'.
  15. *
  16. * @author SpacePossum
  17. *
  18. * @internal
  19. *
  20. * @coversNothing
  21. */
  22. final class IntegrationTest extends AbstractIntegrationTestCase
  23. {
  24. /**
  25. * {@inheritdoc}
  26. */
  27. protected static function getFixturesDir()
  28. {
  29. return __DIR__.DIRECTORY_SEPARATOR.'Fixtures'.DIRECTORY_SEPARATOR.'Integration';
  30. }
  31. /**
  32. * {@inheritdoc}
  33. */
  34. protected static function getTempFile()
  35. {
  36. return self::getFixturesDir().DIRECTORY_SEPARATOR.'.tmp.php';
  37. }
  38. }