mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-31 00:10:51 +00:00
6c20d257e3
d3d18d442c
keep relative paths
18 lines
395 B
PHP
18 lines
395 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202209\Symplify\PackageBuilder\Console\Input;
|
|
|
|
use RectorPrefix202209\Symfony\Component\Console\Input\ArgvInput;
|
|
/**
|
|
* @api
|
|
*/
|
|
final class StaticInputDetector
|
|
{
|
|
public static function isDebug() : bool
|
|
{
|
|
$argvInput = new ArgvInput();
|
|
return $argvInput->hasParameterOption(['--debug', '-v', '-vv', '-vvv']);
|
|
}
|
|
}
|