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

Function parse_invalid_json

src/phpstan.rs:819–822  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

817
818 #[test]
819 fn parse_invalid_json() {
820 let result = parse_phpstan_json("not json", Path::new("Foo.php"));
821 assert!(result.is_err());
822 }
823
824 #[test]
825 fn parse_message_line_zero_defaults_to_line_1() {

Callers

nothing calls this directly

Calls 1

parse_phpstan_jsonFunction · 0.85

Tested by

no test coverage detected