[package]
edition = "2024"
name = "phpantom_lsp"
version = "0.6.0"
build = "build.rs"
exclude = [
".gitignore",
".github/*",
"target/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast PHP language server with deep type intelligence. Generics, Laravel, PHPStan annotations. Ready in an instant."
readme = "README.md"
license = "MIT"
repository = "https://github.com/AJenbo/phpantom_lsp"
[lib]
name = "phpantom_lsp"
path = "src/lib.rs"
[[bin]]
name = "phpantom_lsp"
path = "src/main.rs"
[[test]]
name = "classmap_scanner"
path = "tests/classmap_scanner.rs"
[[test]]
name = "code_action_add_throws"
path = "tests/code_action_add_throws.rs"
[[test]]
name = "code_action_change_visibility"
path = "tests/code_action_change_visibility.rs"
[[test]]
name = "code_action_implement_methods"
path = "tests/code_action_implement_methods.rs"
[[test]]
name = "code_action_update_docblock"
path = "tests/code_action_update_docblock.rs"
[[test]]
name = "code_lens"
path = "tests/code_lens.rs"
[[test]]
name = "completion_access_kind"
path = "tests/completion_access_kind.rs"
[[test]]
name = "completion_anonymous_classes"
path = "tests/completion_anonymous_classes.rs"
[[test]]
name = "completion_array_access_generics"
path = "tests/completion_array_access_generics.rs"
[[test]]
name = "completion_array_shapes"
path = "tests/completion_array_shapes.rs"
[[test]]
name = "completion_basic"
path = "tests/completion_basic.rs"
[[test]]
name = "completion_callable_invocation"
path = "tests/completion_callable_invocation.rs"
[[test]]
name = "completion_callable_snippets"
path = "tests/completion_callable_snippets.rs"
[[test]]
name = "completion_catch"
path = "tests/completion_catch.rs"
[[test]]
name = "completion_class_declaration"
path = "tests/completion_class_declaration.rs"
[[test]]
name = "completion_class_name_context"
path = "tests/completion_class_name_context.rs"
[[test]]
name = "completion_class_names"
path = "tests/completion_class_names.rs"
[[test]]
name = "completion_closure_param_inference"
path = "tests/completion_closure_param_inference.rs"
[[test]]
name = "completion_comments"
path = "tests/completion_comments.rs"
[[test]]
name = "completion_cross_file"
path = "tests/completion_cross_file.rs"
[[test]]
name = "completion_deprecated"
path = "tests/completion_deprecated.rs"
[[test]]
name = "completion_enums"
path = "tests/completion_enums.rs"
[[test]]
name = "completion_first_class_callable"
path = "tests/completion_first_class_callable.rs"
[[test]]
name = "completion_foreach_collections"
path = "tests/completion_foreach_collections.rs"
[[test]]
name = "completion_generators"
path = "tests/completion_generators.rs"
[[test]]
name = "completion_generics"
path = "tests/completion_generics.rs"
[[test]]
name = "completion_guard_clauses"
path = "tests/completion_guard_clauses.rs"
[[test]]
name = "completion_in_array_narrowing"
path = "tests/completion_in_array_narrowing.rs"
[[test]]
name = "completion_inheritance"
path = "tests/completion_inheritance.rs"
[[test]]
name = "completion_laravel"
path = "tests/completion_laravel.rs"
[[test]]
name = "completion_match_expression"
path = "tests/completion_match_expression.rs"
[[test]]
name = "completion_methods"
path = "tests/completion_methods.rs"
[[test]]
name = "completion_mixins"
path = "tests/completion_mixins.rs"
[[test]]
name = "completion_multiline_chains"
path = "tests/completion_multiline_chains.rs"
[[test]]
name = "completion_multiline_return"
path = "tests/completion_multiline_return.rs"
[[test]]
name = "completion_named_args"
path = "tests/completion_named_args.rs"
[[test]]
name = "completion_namespaced_functions"
path = "tests/completion_namespaced_functions.rs"
[[test]]
name = "completion_namespaces"
path = "tests/completion_namespaces.rs"
[[test]]
name = "completion_non_composer_discovery"
path = "tests/completion_non_composer_discovery.rs"
[[test]]
name = "completion_object_shapes"
path = "tests/completion_object_shapes.rs"
[[test]]
name = "completion_param_closure_this"
path = "tests/completion_param_closure_this.rs"
[[test]]
name = "completion_parent"
path = "tests/completion_parent.rs"
[[test]]
name = "completion_phpdoc"
path = "tests/completion_phpdoc.rs"
[[test]]
name = "completion_phpdoc_generation"
path = "tests/completion_phpdoc_generation.rs"
[[test]]
name = "completion_properties"
path = "tests/completion_properties.rs"
[[test]]
name = "completion_property_chains"
path = "tests/completion_property_chains.rs"
[[test]]
name = "completion_spread_operator"
path = "tests/completion_spread_operator.rs"
[[test]]
name = "completion_strings"
path = "tests/completion_strings.rs"
[[test]]
name = "completion_stub_functions"
path = "tests/completion_stub_functions.rs"
[[test]]
name = "completion_switch"
path = "tests/completion_switch.rs"
[[test]]
name = "completion_template_bounds"
path = "tests/completion_template_bounds.rs"
[[test]]
name = "completion_ternary"
path = "tests/completion_ternary.rs"
[[test]]
name = "completion_throws"
path = "tests/completion_throws.rs"
[[test]]
name = "completion_traits"
path = "tests/completion_traits.rs"
[[test]]
name = "completion_type_aliases"
path = "tests/completion_type_aliases.rs"
[[test]]
name = "completion_type_hints"
path = "tests/completion_type_hints.rs"
[[test]]
name = "completion_unset"
path = "tests/completion_unset.rs"
[[test]]
name = "completion_variable_names"
path = "tests/completion_variable_names.rs"
[[test]]
name = "completion_variables"
path = "tests/completion_variables.rs"
[[test]]
name = "composer"
path = "tests/composer.rs"
[[test]]
name = "crash_sandbox"
path = "tests/crash_sandbox.rs"
[[test]]
name = "definition_classes"
path = "tests/definition_classes.rs"
[[test]]
name = "definition_constants"
path = "tests/definition_constants.rs"
[[test]]
name = "definition_laravel"
path = "tests/definition_laravel.rs"
[[test]]
name = "definition_members"
path = "tests/definition_members.rs"
[[test]]
name = "definition_object_shapes"
path = "tests/definition_object_shapes.rs"
[[test]]
name = "definition_offsets"
path = "tests/definition_offsets.rs"
[[test]]
name = "definition_self_static"
path = "tests/definition_self_static.rs"
[[test]]
name = "definition_type_hints"
path = "tests/definition_type_hints.rs"
[[test]]
name = "definition_unions"
path = "tests/definition_unions.rs"
[[test]]
name = "definition_variables"
path = "tests/definition_variables.rs"
[[test]]
name = "diag_timing"
path = "tests/diag_timing.rs"
[[test]]
name = "diagnostics_deprecated"
path = "tests/diagnostics_deprecated.rs"
[[test]]
name = "diagnostics_unknown_members"
path = "tests/diagnostics_unknown_members.rs"
[[test]]
name = "docblock_parsing"
path = "tests/docblock_parsing.rs"
[[test]]
name = "docblock_types"
path = "tests/docblock_types.rs"
[[test]]
name = "document_highlight"
path = "tests/document_highlight.rs"
[[test]]
name = "document_links"
path = "tests/document_links.rs"
[[test]]
name = "document_symbols"
path = "tests/document_symbols.rs"
[[test]]
name = "enum_interface_tests"
path = "tests/enum_interface_tests.rs"
[[test]]
name = "fixture_runner"
path = "tests/fixture_runner.rs"
harness = false
[[test]]
name = "folding_ranges"
path = "tests/folding_ranges.rs"
[[test]]
name = "hover"
path = "tests/hover.rs"
[[test]]
name = "implementation"
path = "tests/implementation.rs"
[[test]]
name = "inlay_hints"
path = "tests/inlay_hints.rs"
[[test]]
name = "monorepo"
path = "tests/monorepo.rs"
[[test]]
name = "named_args_internals"
path = "tests/named_args_internals.rs"
[[test]]
name = "parser"
path = "tests/parser.rs"
[[test]]
name = "php_version"
path = "tests/php_version.rs"
[[test]]
name = "phpdoc_internals"
path = "tests/phpdoc_internals.rs"
[[test]]
name = "references"
path = "tests/references.rs"
[[test]]
name = "return_type_resolution"
path = "tests/return_type_resolution.rs"
[[test]]
name = "semantic_tokens"
path = "tests/semantic_tokens.rs"
[[test]]
name = "server_lifecycle"
path = "tests/server_lifecycle.rs"
[[test]]
name = "signature_help"
path = "tests/signature_help.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "type_definition"
path = "tests/type_definition.rs"
[[test]]
name = "type_hierarchy"
path = "tests/type_hierarchy.rs"
[[test]]
name = "workspace_symbols"
path = "tests/workspace_symbols.rs"
[[bench]]
name = "completion"
path = "benches/completion.rs"
harness = false
[dependencies.bumpalo]
version = "3"
[dependencies.clap]
version = "4.5"
features = [
"derive",
"wrap_help",
]
[dependencies.etcetera]
version = "0.11"
[dependencies.ignore]
version = "0.4"
[dependencies.mago-database]
version = "1.14"
[dependencies.mago-formatter]
version = "1.14"
[dependencies.mago-php-version]
version = "1.14"
[dependencies.mago-span]
version = "1.14"
[dependencies.mago-syntax]
version = "1.14"
[dependencies.memchr]
version = "2"
[dependencies.parking_lot]
version = "0.12"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tempfile]
version = "3"
[dependencies.tokio]
version = "1.39"
features = ["full"]
[dependencies.toml]
version = "1"
[dependencies.tower-lsp]
version = "0.20"
features = ["proposed"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.datatest-stable]
version = "0.3"
[build-dependencies.flate2]
version = "1"
[build-dependencies.tar]
version = "0.4"
[build-dependencies.ureq]
version = "3"