From a109caa5e0e77bfda2b67aadbd0b46374facaf7d Mon Sep 17 00:00:00 2001 From: gcch Date: Sat, 2 May 2026 14:56:49 +0200 Subject: [PATCH] =?UTF-8?q?corv=C3=A9e(phpantom)=20installe=20le=20LSP=20p?= =?UTF-8?q?hpantom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .phpantom.toml | 19 +++++++++++++++++++ .zed/settings.json | 1 + mise.toml | 2 ++ 3 files changed, 22 insertions(+) create mode 100644 .phpantom.toml create mode 100644 mise.toml diff --git a/.phpantom.toml b/.phpantom.toml new file mode 100644 index 00000000..e9d05ba5 --- /dev/null +++ b/.phpantom.toml @@ -0,0 +1,19 @@ +# :schema: https://github.com/AJenbo/phpantom_lsp/raw/main/config-schema.json + +[php] + # Override the detected PHP version (default: inferred from composer.json, or 8.5). + # version = "8.5" + # + +[diagnostics] + extra-arguments = true + # Report member access on subjects whose type could not be resolved. + # Useful for discovering gaps in type coverage. Off by default. + unresolved-member-access = false + +[indexing] + # How PHPantom discovers classes across the workspace. + # "composer" (default) - use Composer classmap, self-scan on fallback + # "self" - always self-scan, ignore Composer classmap + # "none" - no proactive scanning, Composer classmap only + strategy = "composer" diff --git a/.zed/settings.json b/.zed/settings.json index 8ba0003e..3b8077e7 100644 --- a/.zed/settings.json +++ b/.zed/settings.json @@ -9,6 +9,7 @@ "!oxc", "!oxfmt", "!oxlint", + "!phptools", "!prettier", "!tailwindcss-language-server", "!tsgo", diff --git a/mise.toml b/mise.toml new file mode 100644 index 00000000..d2d9db14 --- /dev/null +++ b/mise.toml @@ -0,0 +1,2 @@ +[tools] + "github:AJenbo/phpantom_lsp" = "latest"