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

Function resolve_explicit_command

src/phpstan.rs:863–872  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

861
862 #[test]
863 fn resolve_explicit_command() {
864 let config = PhpStanConfig {
865 command: Some("/usr/bin/phpstan".to_string()),
866 memory_limit: None,
867 timeout: None,
868 };
869 let result = resolve_phpstan(None, &config, None);
870 assert!(result.is_some());
871 assert_eq!(result.unwrap().path, PathBuf::from("/usr/bin/phpstan"));
872 }
873
874 #[test]
875 fn resolve_auto_detect_vendor_bin() {

Callers

nothing calls this directly

Calls 1

resolve_phpstanFunction · 0.85

Tested by

no test coverage detected