MCPcopy
hub / github.com/colbymchenry/codegraph / isPhpIncludePathRef

Function isPhpIncludePathRef

src/resolution/import-resolver.ts:542–548  ·  view source on GitHub ↗
(ref: UnresolvedRef)

Source from the content-addressed store, hash-verified

540 * to a same-named symbol — so callers must not fall back to the name-matcher.
541 */
542export 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.

Callers 3

resolveOneMethod · 0.90
resolution.test.tsFile · 0.90
resolveViaImportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected