MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / resolve_explicit_command

Function resolve_explicit_command

src/phpcs.rs:702–711  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

700
701 #[test]
702 fn resolve_explicit_command() {
703 let config = PhpcsConfig {
704 command: Some("custom/phpcs".to_string()),
705 standard: None,
706 timeout: None,
707 };
708 let result = resolve_phpcs(None, &config, None);
709 assert!(result.is_some());
710 assert_eq!(result.unwrap().path, PathBuf::from("custom/phpcs"));
711 }
712
713 // ── PhpcsConfig helpers ─────────────────────────────────────────
714

Callers

nothing calls this directly

Calls 1

resolve_phpcsFunction · 0.85

Tested by

no test coverage detected