-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Description
I have this code for optional dependency:
if(class_exists('\Composer\CaBundle\CaBundle')) {
curl_setopt($ch, CURLOPT_CAINFO, \Composer\CaBundle\CaBundle::getBundledCaBundlePath());
}and phpstan is reporting:
Call to static method getBundledCaBundlePath() on an unknown class Composer\CaBundle\CaBundle.
Is there problem with my code or is it just edge case that phpstan doesn't recognize?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels