The extension WikibaseLexeme has a .phan/config.php file, but is not using the composer dev-requirement mediawiki/mediawiki-phan-config to import a default config file.
The existing file should be changed to inherit the phan-config and modify the config array as needed (file list, folder list, etc.)