Repository navigation
0.4.6
Config#$mark_all_non_internal_code_as_api for vimeo/psalm#13939.
Added:
Psalm\Config#$mark_all_non_internal_code_as_apiis set bymarkAllNonInternalCodeAsApi="true": unused-code detection then treats every project class that isn't internal (emptyPsalm\Storage\ClassLikeStorage#$internal) as@api, apart from the code the library doesn't ship. A plugin can keep the code users of a library can't use, such as its test suites, out of that API by settingClassLikeStorage#$internalinafterCodebasePopulated().