Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PHPantom-dev/phpantom_lsp
/ root
Method
root
tests/unit/composer.rs:22–24 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
20
}
21
22
fn root(&self) -> &Path {
23
self.dir.path()
24
}
25
26
/// Create a PHP file at the given relative path with minimal content.
27
fn create_php_file(&self, relative_path: &str, content: &str) {
Callers
15
test_parse_basic_psr4
Function · 0.80
test_parse_autoload_dev
Function · 0.80
test_parse_array_paths
Function · 0.80
test_parse_invalid_json
Function · 0.80
test_parse_no_psr4_section
Function · 0.80
test_resolve_simple_class
Function · 0.80
test_resolve_nested_namespace
Function · 0.80
test_resolve_canonical_fqn
Function · 0.80
test_resolve_nonexistent_file_returns_none
Function · 0.80
test_resolve_no_matching_prefix
Function · 0.80
test_resolve_longest_prefix_wins
Function · 0.80
test_resolve_builtin_types_return_none
Function · 0.80
Calls
no outgoing calls
Tested by
15
test_parse_basic_psr4
Function · 0.64
test_parse_autoload_dev
Function · 0.64
test_parse_array_paths
Function · 0.64
test_parse_invalid_json
Function · 0.64
test_parse_no_psr4_section
Function · 0.64
test_resolve_simple_class
Function · 0.64
test_resolve_nested_namespace
Function · 0.64
test_resolve_canonical_fqn
Function · 0.64
test_resolve_nonexistent_file_returns_none
Function · 0.64
test_resolve_no_matching_prefix
Function · 0.64
test_resolve_longest_prefix_wins
Function · 0.64
test_resolve_builtin_types_return_none
Function · 0.64