@@ -48,7 +48,6 @@ protected function configure(): void
48
48
->setDescription ('Analyses source code ' )
49
49
->setDefinition ([
50
50
new InputArgument ('paths ' , InputArgument::OPTIONAL | InputArgument::IS_ARRAY , 'Paths with source code to run analysis on ' ),
51
- new InputOption ('paths-file ' , null , InputOption::VALUE_REQUIRED , 'Path to a file with a list of paths to run analysis on ' ),
52
51
new InputOption ('configuration ' , 'c ' , InputOption::VALUE_REQUIRED , 'Path to project configuration file ' ),
53
52
new InputOption (self ::OPTION_LEVEL , 'l ' , InputOption::VALUE_REQUIRED , 'Level of rule options - the higher the stricter ' ),
54
53
new InputOption (ErrorsConsoleStyle::OPTION_NO_PROGRESS , null , InputOption::VALUE_NONE , 'Do not show progress bar, only results ' ),
@@ -91,7 +90,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
91
90
$ autoloadFile = $ input ->getOption ('autoload-file ' );
92
91
$ configuration = $ input ->getOption ('configuration ' );
93
92
$ level = $ input ->getOption (self ::OPTION_LEVEL );
94
- $ pathsFile = $ input ->getOption ('paths-file ' );
95
93
$ allowXdebug = $ input ->getOption ('xdebug ' );
96
94
$ debugEnabled = (bool ) $ input ->getOption ('debug ' );
97
95
$ fix = (bool ) $ input ->getOption ('fix ' ) || (bool ) $ input ->getOption ('watch ' ) || (bool ) $ input ->getOption ('pro ' );
@@ -110,7 +108,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
110
108
|| (!is_string ($ autoloadFile ) && $ autoloadFile !== null )
111
109
|| (!is_string ($ configuration ) && $ configuration !== null )
112
110
|| (!is_string ($ level ) && $ level !== null )
113
- || (!is_string ($ pathsFile ) && $ pathsFile !== null )
114
111
|| (!is_bool ($ allowXdebug ))
115
112
) {
116
113
throw new \PHPStan \ShouldNotHappenException ();
@@ -121,7 +118,6 @@ protected function execute(InputInterface $input, OutputInterface $output): int
121
118
$ input ,
122
119
$ output ,
123
120
$ paths ,
124
- $ pathsFile ,
125
121
$ memoryLimit ,
126
122
$ autoloadFile ,
127
123
$ this ->composerAutoloaderProjectPaths ,
0 commit comments