ToolInfoTest.php 669 B

123456789101112131415161718192021222324252627282930313233
  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\ToolInfo;
  13. /**
  14. * @author SpacePossum
  15. *
  16. * @internal
  17. */
  18. final class ToolInfoTest extends \PHPUnit_Framework_TestCase
  19. {
  20. public function testGetVersion()
  21. {
  22. $this->assertInternalType('string', ToolInfo::getVersion());
  23. }
  24. public function testIsInstallAsPhar()
  25. {
  26. $this->assertFalse(ToolInfo::isInstalledAsPhar());
  27. }
  28. }