rector/src/Configuration/Option.php

167 lines
3.0 KiB
PHP

<?php
declare(strict_types=1);
namespace Rector\Core\Configuration;
use Symplify\Skipper\ValueObject\Option as SkipperOption;
final class Option
{
/**
* @var string
*/
public const SOURCE = 'source';
/**
* @var string
*/
public const OPTION_AUTOLOAD_FILE = 'autoload-file';
/**
* @var string
*/
public const BOOTSTRAP_FILES = 'bootstrap_files';
/**
* @var string
*/
public const OPTION_DRY_RUN = 'dry-run';
/**
* @var string
*/
public const OPTION_OUTPUT_FORMAT = 'output-format';
/**
* @var string
*/
public const OPTION_NO_PROGRESS_BAR = 'no-progress-bar';
/**
* @var string
*/
public const PHP_VERSION_FEATURES = 'php_version_features';
/**
* @var string
*/
public const AUTO_IMPORT_NAMES = 'auto_import_names';
/**
* @var string
*/
public const IMPORT_SHORT_CLASSES = 'import_short_classes';
/**
* @var string
*/
public const IMPORT_DOC_BLOCKS = 'import_doc_blocks';
/**
* @var string
*/
public const SYMFONY_CONTAINER_XML_PATH_PARAMETER = 'symfony_container_xml_path';
/**
* @var string
*/
public const OPTION_OUTPUT_FILE = 'output-file';
/**
* @var string
*/
public const OPTION_CLEAR_CACHE = 'clear-cache';
/**
* @var string
*/
public const ENABLE_CACHE = 'enable_cache';
/**
* @var string
*/
public const CACHE_DEBUG = 'cache-debug';
/**
* @var string
*/
public const PROJECT_TYPE = 'project_type';
/**
* @var string
*/
public const PATHS = 'paths';
/**
* @var string
*/
public const AUTOLOAD_PATHS = 'autoload_paths';
/**
* @deprecated Use $containerConfigurator->import() as it does the same job, just better and more explicit
* @var string
*/
public const SETS = 'sets';
/**
* @var string
*/
public const SKIP = SkipperOption::SKIP;
/**
* @var string
*/
public const FILE_EXTENSIONS = 'file_extensions';
/**
* @var string
*/
public const NESTED_CHAIN_METHOD_CALL_LIMIT = 'nested_chain_method_call_limit';
/**
* @var string
*/
public const CACHE_DIR = 'cache_dir';
/**
* @var string
*/
public const OPTION_DEBUG = 'debug';
/**
* @var string
*/
public const XDEBUG = 'xdebug';
/**
* @var string
*/
public const OPTION_CONFIG = 'config';
/**
* @var string
*/
public const PHPSTAN_FOR_RECTOR_PATH = 'phpstan_for_rector_path';
/**
* @var string
*/
public const TYPES_TO_REMOVE_STATIC_FROM = 'types_to_remove_static_from';
/**
* @var string
*/
public const OPTION_NO_DIFFS = 'no-diffs';
/**
* @var string
*/
public const TEMPLATE_TYPE = 'template-type';
/**
* @var string
*/
public const ENABLE_EDITORCONFIG = 'enable_editorconfig';
}