doc 611 B

1234567891011121314151617181920212223242526
  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 __DIR__.'/../vendor/autoload.php';
  13. use PhpCsFixer\Console\Command\DocumentationCommand;
  14. use Symfony\Component\Console\Application;
  15. $command = new DocumentationCommand();
  16. $application = new Application();
  17. $application->add($command);
  18. $application
  19. ->setDefaultCommand($command->getName(), true)
  20. ->run()
  21. ;