(ref: UnresolvedRef)
| 540 | * to a same-named symbol — so callers must not fall back to the name-matcher. |
| 541 | */ |
| 542 | export function isPhpIncludePathRef(ref: UnresolvedRef): boolean { |
| 543 | return ( |
| 544 | ref.language === 'php' && |
| 545 | ref.referenceKind === 'imports' && |
| 546 | (ref.referenceName.includes('/') || ref.referenceName.includes('.')) |
| 547 | ); |
| 548 | } |
| 549 | |
| 550 | /** |
| 551 | * Resolve a PHP include/require path to a project-relative file path. |
no outgoing calls
no test coverage detected