php_extensions as $ext => $_enabled) { $this->php_extensions[$ext] = true; } $this->throw_exception = true; $this->use_docblock_types = true; $this->level = 1; $this->cache_directory = null; $this->ignore_internal_falsable_issues = true; $this->ignore_internal_nullable_issues = true; $this->base_dir = (string) getcwd() . DIRECTORY_SEPARATOR; if (!self::$cached_project_files) { self::$cached_project_files = ProjectFileFilter::loadFromXMLElement( new SimpleXMLElement($this->getContents()), $this->base_dir, true, ); } $this->project_files = self::$cached_project_files; $this->setIncludeCollector(new IncludeCollector()); $this->collectPredefinedConstants(); $this->collectPredefinedFunctions(); } protected function getContents(): string { return ' '; } public function getComposerFilePathForClassLike(string $fq_classlike_name): false { return false; } public function getProjectDirectories(): array { return []; } }