File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 140140 */
141141final class Config
142142{
143+ public const INIT_PROJECT_FILES_NOW = false ;
144+
143145 final public const DEFAULT_BASELINE_NAME = 'psalm-baseline.xml ' ;
144146 private const DEFAULT_FILE_NAMES = [
145147 'psalm.xml ' ,
Original file line number Diff line number Diff line change @@ -235,6 +235,11 @@ public function __construct(
235235
236236 $ this ->config ->processPluginFileExtensions ($ this );
237237
238+ if ($ this ->config ::INIT_PROJECT_FILES_NOW ) {
239+ $ this ->initExtraFiles ();
240+ $ this ->initProjectFiles ();
241+ }
242+
238243 self ::$ instance = $ this ;
239244 }
240245
Original file line number Diff line number Diff line change 1414
1515final class TestConfig extends Config
1616{
17+ public const INIT_PROJECT_FILES_NOW = true ;
1718 private static ?ProjectFileFilter $ cached_project_files = null ;
1819
1920 public function __construct ()
You can’t perform that action at this time.
0 commit comments