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

Function resolve_no_binary_found

src/phpstan.rs:915–922  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

913
914 #[test]
915 fn resolve_no_binary_found() {
916 let dir = tempfile::tempdir().unwrap();
917 let config = PhpStanConfig::default();
918 // No vendor/bin/phpstan, and PATH is unlikely to have it in test env.
919 // This test may still find phpstan on PATH in some environments,
920 // so we just verify it doesn't panic.
921 let _ = resolve_phpstan(Some(dir.path()), &config, None);
922 }
923
924 // ── write_temp_file ─────────────────────────────────────────────
925

Callers

nothing calls this directly

Calls 2

resolve_phpstanFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected