info-extractor.php 611 B

123456789101112131415161718192021222324
  1. #!/usr/bin/env php
  2. <?php
  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. require_once __DIR__.'/../vendor/autoload.php';
  13. $version = [
  14. 'number' => PhpCsFixer\Console\Application::VERSION,
  15. 'vnumber' => 'v'.PhpCsFixer\Console\Application::VERSION,
  16. 'codename' => PhpCsFixer\Console\Application::VERSION_CODENAME,
  17. ];
  18. echo json_encode([
  19. 'version' => $version,
  20. ], JSON_PRETTY_PRINT);