%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/vacivi36/vacivitta_bakcup/vendor/rector/rector/vendor/symfony/yaml/Resources/bin/
Upload File :
Create Path :
Current File : /home/vacivi36/vacivitta_bakcup/vendor/rector/rector/vendor/symfony/yaml/Resources/bin/yaml-lint

#!/usr/bin/env php
<?php 
namespace RectorPrefix20211231;

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
/**
 * Runs the Yaml lint command.
 *
 * @author Jan Schädlich <jan.schaedlich@sensiolabs.de>
 */
use RectorPrefix20211231\Symfony\Component\Console\Application;
use RectorPrefix20211231\Symfony\Component\Yaml\Command\LintCommand;
function includeIfExists(string $file) : bool
{
    return \file_exists($file) && (include $file);
}
if (!\RectorPrefix20211231\includeIfExists(__DIR__ . '/../../../../autoload.php') && !\RectorPrefix20211231\includeIfExists(__DIR__ . '/../../vendor/autoload.php') && !\RectorPrefix20211231\includeIfExists(__DIR__ . '/../../../../../../vendor/autoload.php')) {
    \fwrite(\STDERR, 'Install dependencies using Composer.' . \PHP_EOL);
    exit(1);
}
if (!\class_exists(\RectorPrefix20211231\Symfony\Component\Console\Application::class)) {
    \fwrite(\STDERR, 'You need the "symfony/console" component in order to run the Yaml linter.' . \PHP_EOL);
    exit(1);
}
(new \RectorPrefix20211231\Symfony\Component\Console\Application())->add($command = new \RectorPrefix20211231\Symfony\Component\Yaml\Command\LintCommand())->getApplication()->setDefaultCommand($command->getName(), \true)->run();

Zerion Mini Shell 1.0