TokenizerLinterTest.php 881 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4. * This file is part of PHP CS Fixer.
  5. *
  6. * (c) Fabien Potencier <fabien@symfony.com>
  7. * Dariusz Rumiński <dariusz.ruminski@gmail.com>
  8. *
  9. * This source file is subject to the MIT license that is bundled
  10. * with this source code in the file LICENSE.
  11. */
  12. namespace PhpCsFixer\Tests\Linter;
  13. use PhpCsFixer\Linter\LinterInterface;
  14. use PhpCsFixer\Linter\TokenizerLinter;
  15. /**
  16. * @author Dariusz Rumiński <dariusz.ruminski@gmail.com>
  17. *
  18. * @internal
  19. *
  20. * @covers \PhpCsFixer\Linter\TokenizerLinter
  21. * @covers \PhpCsFixer\Linter\TokenizerLintingResult
  22. */
  23. final class TokenizerLinterTest extends AbstractLinterTestCase
  24. {
  25. public function testIsAsync(): void
  26. {
  27. self::assertFalse($this->createLinter()->isAsync());
  28. }
  29. protected function createLinter(): LinterInterface
  30. {
  31. return new TokenizerLinter();
  32. }
  33. }