[package]
edition = "2024"
name = "phpantom_lsp"
version = "0.3.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 = "completion_access_kind"
path = "tests/completion_access_kind.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_names"
path = "tests/completion_class_names.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_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_inheritance"
path = "tests/completion_inheritance.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_return"
path = "tests/completion_multiline_return.rs"
[[test]]
name = "completion_named_args"
path = "tests/completion_named_args.rs"
[[test]]
name = "completion_namespaces"
path = "tests/completion_namespaces.rs"
[[test]]
name = "completion_object_shapes"
path = "tests/completion_object_shapes.rs"
[[test]]
name = "completion_parent"
path = "tests/completion_parent.rs"
[[test]]
name = "completion_phpdoc"
path = "tests/completion_phpdoc.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_stub_functions"
path = "tests/completion_stub_functions.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_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 = "definition_classes"
path = "tests/definition_classes.rs"
[[test]]
name = "definition_constants"
path = "tests/definition_constants.rs"
[[test]]
name = "definition_helpers"
path = "tests/definition_helpers.rs"
[[test]]
name = "definition_members"
path = "tests/definition_members.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 = "docblock_parsing"
path = "tests/docblock_parsing.rs"
[[test]]
name = "docblock_types"
path = "tests/docblock_types.rs"
[[test]]
name = "implementation"
path = "tests/implementation.rs"
[[test]]
name = "named_args_internals"
path = "tests/named_args_internals.rs"
[[test]]
name = "parser"
path = "tests/parser.rs"
[[test]]
name = "phpdoc_internals"
path = "tests/phpdoc_internals.rs"
[[test]]
name = "return_type_resolution"
path = "tests/return_type_resolution.rs"
[[test]]
name = "server_lifecycle"
path = "tests/server_lifecycle.rs"
[dependencies.bumpalo]
version = "3"
[dependencies.env_logger]
version = "0.10"
[dependencies.log]
version = "0.4"
[dependencies.mago-database]
version = "1.8"
[dependencies.mago-span]
version = "1.8"
[dependencies.mago-syntax]
version = "1.8"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
version = "1.34"
features = ["full"]
[dependencies.tower-lsp]
version = "0.18"
[dev-dependencies.tempfile]
version = "3"