2026-04-10

- corvée: met à jour les deps
- corvée: formate
This commit is contained in:
gcch 2026-04-10 17:21:57 +02:00
commit d50de6d534
85 changed files with 132090 additions and 31346 deletions

View file

@ -1,12 +1,12 @@
{
"$schema": "https:\/\/json-schema.org\/draft-07\/schema",
"$schema": "https://json-schema.org/draft-07/schema",
"properties": {
"$schema": {
"default": "",
"description": "Path to JSON schema, which can be used for config autocompletion, use phpactor config:initialize to update"
},
"behat.config_path": {
"default": "%project_root%\/behat.yml",
"default": "%project_root%/behat.yml",
"description": "Path to the main behat.yml (including the filename behat.yml)"
},
"behat.symfony.di_xml_path": {
@ -61,11 +61,19 @@
"description": "Object fill refactoring: use named parameters"
},
"code_transform.template_paths": {
"default": ["%project_config%\/templates", "%config%\/templates"],
"default": [
"%config%/templates",
"%project_config%/templates"
],
"description": "Paths in which to look for code templates"
},
"command": { "description": "Internal use only - name of the command which was executed" },
"completion.dedupe": { "default": true, "description": "If results should be de-duplicated" },
"command": {
"description": "Internal use only - name of the command which was executed"
},
"completion.dedupe": {
"default": true,
"description": "If results should be de-duplicated"
},
"completion.dedupe_match_fqn": {
"default": true,
"description": "If ``completion.dedupe``, consider the class FQN in addition to the completion suggestion"
@ -73,9 +81,14 @@
"completion.label_formatter": {
"default": "helpful",
"description": "Definition of how to format entries in the completion list",
"enum": ["helpful", "fqn"]
"enum": [
"fqn",
"helpful"
]
},
"completion.limit": {
"description": "Sets a limit on the number of completion suggestions for any request"
},
"completion.limit": { "description": "Sets a limit on the number of completion suggestions for any request" },
"completion_worse.completor.attribute.enabled": {
"default": true,
"description": "Enable or disable the ``attribute`` completor.\n\nCompletion for attribute class names."
@ -92,7 +105,10 @@
"default": true,
"description": "Enable or disable the ``class_member`` completor.\n\nCompletion for class members."
},
"completion_worse.completor.constant.enabled": { "default": false, "description": null },
"completion_worse.completor.constant.enabled": {
"default": false,
"description": null
},
"completion_worse.completor.constructor.enabled": {
"default": true,
"description": "Enable or disable the ``constructor`` completor.\n\nCompletion for constructors."
@ -147,7 +163,7 @@
},
"completion_worse.completor.symfony.enabled": {
"default": true,
"description": "Enable\/disable the Symfony completor - depends on Symfony extension being enabled"
"description": "Enable/disable the Symfony completor - depends on Symfony extension being enabled"
},
"completion_worse.completor.type.enabled": {
"default": true,
@ -161,19 +177,28 @@
"default": true,
"description": "Enable or disable the ``worse_parameter`` completor.\n\nCompletion for method or function parameters."
},
"completion_worse.debug": { "default": false, "description": "Include debug info in completion results" },
"completion_worse.experimantal": { "default": false, "description": "Enable experimental functionality" },
"completion_worse.debug": {
"default": false,
"description": "Include debug info in completion results"
},
"completion_worse.experimantal": {
"default": false,
"description": "Enable experimental functionality"
},
"completion_worse.name_completion_priority": {
"default": "proximity",
"description": "Strategy to use when ordering completion results for classes and functions:\n\n- `proximity`: Classes and functions will be ordered by their proximity to the text document being edited.\n- `none`: No ordering will be applied."
},
"completion_worse.snippets": { "default": true, "description": "Enable or disable completion snippets" },
"completion_worse.snippets": {
"default": true,
"description": "Enable or disable completion snippets"
},
"composer.autoload_deregister": {
"default": true,
"description": "Immediately de-register the autoloader once it has been included (prevent conflicts with Phpactor's autoloader). Some platforms may require this to be disabled"
},
"composer.autoloader_path": {
"default": "%project_root%\/vendor\/autoload.php",
"default": "%project_root%/vendor/autoload.php",
"description": "Path to project's autoloader, can be an array"
},
"composer.class_maps_only": {
@ -186,9 +211,23 @@
},
"console.decorated": {
"description": "Whether to decorate messages (null for auto-guessing)",
"enum": [true, false, null]
"enum": [
true,
false,
null
]
},
"console.verbosity": {
"default": 32,
"description": "Verbosity level",
"enum": [
16,
32,
64,
128,
256
]
},
"console.verbosity": { "default": 32, "description": "Verbosity level", "enum": [16, 32, 64, 128, 256] },
"console_dumper_default": {
"default": "indented",
"description": "Name of the \"dumper\" (renderer) to use for some CLI commands"
@ -197,75 +236,131 @@
"default": 1610612736,
"description": "Ensure that PHP has a memory_limit of at least this amount in bytes"
},
"file_path_resolver.app_name": { "default": "phpactor", "description": null },
"file_path_resolver.application_root": { "description": null },
"file_path_resolver.enable_cache": { "default": true, "description": null },
"file_path_resolver.enable_logging": { "default": true, "description": null },
"file_path_resolver.project_root": { "default": "\/opt\/phpactor", "description": null },
"file_path_resolver.app_name": {
"default": "phpactor",
"description": null
},
"file_path_resolver.application_root": {
"description": null
},
"file_path_resolver.enable_cache": {
"default": true,
"description": null
},
"file_path_resolver.enable_logging": {
"default": true,
"description": null
},
"file_path_resolver.project_root": {
"default": "/opt/phpactor",
"description": null
},
"indexer.buffer_time": {
"default": 500,
"description": "For real-time indexers only: the time, in milliseconds, to buffer the results",
"type": ["integer"]
"type": [
"integer"
]
},
"indexer.enabled_watchers": {
"default": ["inotify", "watchman", "find", "php"],
"default": [
"find",
"inotify",
"php",
"watchman"
],
"description": "List of allowed watchers. The first watcher that supports the current system will be used",
"type": ["object"]
"type": [
"object"
]
},
"indexer.exclude_patterns": {
"default": ["\/vendor\/**\/Tests\/**\/*", "\/vendor\/**\/tests\/**\/*", "\/vendor\/composer\/**\/*"],
"default": [
"/vendor/**/tests/**/*",
"/vendor/**/Tests/**/*",
"/vendor/composer/**/*"
],
"description": "Glob patterns to exclude while indexing",
"type": ["object"]
"type": [
"object"
]
},
"indexer.follow_symlinks": {
"default": false,
"description": "To allow indexer to follow symlinks",
"type": ["boolean"]
"type": [
"boolean"
]
},
"indexer.implementation_finder.deep": {
"default": true,
"description": "Recurse over class implementations to resolve all class implementations (not just the classes directly implementing the subject)",
"type": ["boolean"]
"type": [
"boolean"
]
},
"indexer.include_patterns": {
"default": ["\/**\/*.php", "\/**\/*.phar"],
"default": [
"/**/*.phar",
"/**/*.php"
],
"description": "Glob patterns to include while indexing",
"type": ["object"]
"type": [
"object"
]
},
"indexer.index_path": {
"default": "%cache%\/index\/%project_id%",
"default": "%cache%/index/%project_id%",
"description": "Path where the index should be saved",
"type": ["string"]
"type": [
"string"
]
},
"indexer.poll_time": {
"default": 5000,
"description": "For polling indexers only: the time, in milliseconds, between polls (e.g. filesystem scans)",
"type": ["integer"]
"type": [
"integer"
]
},
"indexer.project_root": {
"default": "%project_root%",
"description": "The root path to use for scanning the index",
"type": ["string"]
"type": [
"string"
]
},
"indexer.reference_finder.deep": {
"default": true,
"description": "Recurse over class implementations to resolve all references",
"type": ["boolean"]
"type": [
"boolean"
]
},
"indexer.stub_paths": {
"default": [],
"description": "Paths to external folders to index. They will be indexed only once, if you want to take any changes into account you will have to reindex your project manually.",
"type": ["object"]
"type": [
"object"
]
},
"indexer.supported_extensions": {
"default": ["php", "phar"],
"default": [
"phar",
"php"
],
"description": "File extensions (e.g. `php`) for files that should be indexed",
"type": ["object"]
"type": [
"object"
]
},
"language_server.catch_errors": {
"default": true,
"description": null
},
"language_server.catch_errors": { "default": true, "description": null },
"language_server.diagnostic_exclude_paths": {
"default": [],
"description": "List of paths to exclude from diagnostics, e.g. `vendor\/**\/*`"
"description": "List of paths to exclude from diagnostics, e.g. `vendor/**/*`"
},
"language_server.diagnostic_outsource": {
"default": true,
@ -296,19 +391,30 @@
},
"language_server.enable_workspace": {
"default": true,
"description": "If workspace management \/ text synchronization should be enabled (this isn't required for some language server implementations, e.g. static analyzers)"
"description": "If workspace management / text synchronization should be enabled (this isn't required for some language server implementations, e.g. static analyzers)"
},
"language_server.file_event_globs": {
"default": [
"**/*.php"
],
"description": null
},
"language_server.file_events": {
"default": true,
"description": "Register to receive file events"
},
"language_server.file_event_globs": { "default": ["**\/*.php"], "description": null },
"language_server.file_events": { "default": true, "description": "Register to receive file events" },
"language_server.method_alias_map": {
"default": [],
"description": "Allow method names to be re-mapped. Useful for maintaining backwards compatibility"
},
"language_server.phpactor_bin": {
"default": "\/opt\/phpactor\/lib\/Extension\/LanguageServer\/..\/..\/..\/bin\/phpactor",
"default": "/opt/phpactor/lib/Extension/LanguageServer/../../../bin/phpactor",
"description": "Internal use only - name path to Phpactor binary"
},
"language_server.profile": { "default": false, "description": "Logs timing information for incoming LSP requests" },
"language_server.profile": {
"default": false,
"description": "Logs timing information for incoming LSP requests"
},
"language_server.self_destruct_timeout": {
"default": 2500,
"description": "Wait this amount of time (in milliseconds) after a shutdown request before self-destructing"
@ -340,22 +446,30 @@
"language_server_configuration.auto_config": {
"default": true,
"description": "Prompt to enable extensions which apply to your project on language server start",
"type": ["boolean"]
"type": [
"boolean"
]
},
"language_server_indexer.reindex_timeout": {
"default": 300,
"description": "Unconditionally reindex modified files every N seconds"
},
"language_server_indexer.workspace_symbol_search_limit": { "default": 250, "description": null },
"language_server_indexer.workspace_symbol_search_limit": {
"default": 250,
"description": null
},
"language_server_php_cs_fixer.bin": {
"default": "%project_root%\/vendor\/bin\/php-cs-fixer",
"default": "%project_root%/vendor/bin/php-cs-fixer",
"description": "Path to the php-cs-fixer executable"
},
"language_server_php_cs_fixer.config": {
"description": "Set custom PHP CS config path. Ex., %project_root%\/.php-cs-fixer.php"
"description": "Set custom PHP CS config path. Ex., %project_root%/.php-cs-fixer.php"
},
"language_server_php_cs_fixer.env": {
"default": { "PHP_CS_FIXER_IGNORE_ENV": true, "XDEBUG_MODE": "off" },
"default": {
"PHP_CS_FIXER_IGNORE_ENV": true,
"XDEBUG_MODE": "off"
},
"description": "Environment for PHP CS Fixer (e.g. to set PHP_CS_FIXER_IGNORE_ENV)"
},
"language_server_php_cs_fixer.show_diagnostics": {
@ -363,16 +477,24 @@
"description": "Whether PHP CS Fixer diagnostics are shown"
},
"language_server_phpstan.bin": {
"default": "%project_root%\/vendor\/bin\/phpstan",
"default": "%project_root%/vendor/bin/phpstan",
"description": "Path to the PHPStan executable"
},
"language_server_phpstan.config": { "description": "Override the PHPStan configuration file" },
"language_server_phpstan.level": { "description": "Override the PHPStan level" },
"language_server_phpstan.mem_limit": { "description": "Override the PHPStan memory limit" },
"language_server_phpstan.config": {
"description": "Override the PHPStan configuration file"
},
"language_server_phpstan.level": {
"description": "Override the PHPStan level"
},
"language_server_phpstan.mem_limit": {
"description": "Override the PHPStan memory limit"
},
"language_server_psalm.bin": {
"default": "%project_root%\/vendor\/bin\/psalm",
"description": "Path to psalm if different from vendor\/bin\/psalm",
"type": ["string"]
"default": "%project_root%/vendor/bin/psalm",
"description": "Path to psalm if different from vendor/bin/psalm",
"type": [
"string"
]
},
"language_server_psalm.error_level": {
"description": "Override level at which Psalm should report errors (lower => more errors)"
@ -380,28 +502,39 @@
"language_server_psalm.show_info": {
"default": true,
"description": "If infos from psalm should be displayed",
"type": ["boolean"]
"type": [
"boolean"
]
},
"language_server_psalm.threads": {
"default": 1,
"description": "Set the number of threads Psalm should use. Warning: NULL will use as many as possible and may crash your computer",
"type": ["integer"]
"type": [
"integer"
]
},
"language_server_psalm.timeout": {
"default": 15,
"description": "Kill the psalm process after this number of seconds",
"type": ["integer"]
"type": [
"integer"
]
},
"language_server_psalm.use_cache": {
"default": true,
"description": "If the Psalm cache should be used (see the `--no-cache` option)",
"type": ["boolean"]
"type": [
"boolean"
]
},
"language_server_reference_reference_finder.reference_timeout": {
"default": 60,
"description": "Stop searching for references after this time (in seconds) has expired"
},
"language_server_worse_reflection.diagnostics.enable": { "default": true, "description": "Enable diagnostics" },
"language_server_worse_reflection.diagnostics.enable": {
"default": true,
"description": "Enable diagnostics"
},
"language_server_worse_reflection.inlay_hints.enable": {
"default": false,
"description": "Enable inlay hints (experimental)"
@ -418,34 +551,87 @@
"default": 100,
"description": "Minimum interval to update the workspace index as documents are updated (in milliseconds)"
},
"logger.name": { "default": "logger", "description": null, "type": ["string"] },
"logging.enabled": { "default": false, "description": null, "type": ["boolean"] },
"logging.fingers_crossed": { "default": false, "description": null, "type": ["boolean"] },
"logging.formatter": { "description": null },
"logger.name": {
"default": "logger",
"description": null,
"type": [
"string"
]
},
"logging.enabled": {
"default": false,
"description": null,
"type": [
"boolean"
]
},
"logging.fingers_crossed": {
"default": false,
"description": null,
"type": [
"boolean"
]
},
"logging.formatter": {
"description": null
},
"logging.level": {
"default": "warning",
"description": null,
"enum": ["emergency", "alert", "critical", "error", "warning", "notice", "info", "debug"],
"type": ["string"]
"enum": [
"alert",
"critical",
"debug",
"emergency",
"error",
"info",
"notice",
"warning"
],
"type": [
"string"
]
},
"logging.path": {
"default": "application.log",
"description": null,
"type": [
"string"
]
},
"navigator.autocreate": {
"default": [],
"description": null
},
"navigator.destinations": {
"default": [],
"description": null
},
"logging.path": { "default": "application.log", "description": null, "type": ["string"] },
"navigator.autocreate": { "default": [], "description": null },
"navigator.destinations": { "default": [], "description": null },
"object_renderer.template_paths.markdown": {
"default": ["%project_config%\/templates\/markdown", "%config%\/templates\/markdown"],
"default": [
"%config%/templates/markdown",
"%project_config%/templates/markdown"
],
"description": "Paths in which to look for templates for hover information."
},
"php.version": {
"description": "Consider this value to be the project\\'s version of PHP (e.g. `7.4`). If omitted\nit will check `composer.json` (by the configured platform then the PHP requirement) before\nfalling back to the PHP version of the current process."
},
"php_code_sniffer.args": { "default": [], "description": "Additional arguments to pass to the PHPCS process" },
"php_code_sniffer.args": {
"default": [],
"description": "Additional arguments to pass to the PHPCS process"
},
"php_code_sniffer.bin": {
"default": "%project_root%\/vendor\/bin\/phpcs",
"default": "%project_root%/vendor/bin/phpcs",
"description": "Path to the phpcs executable"
},
"php_code_sniffer.cwd": { "description": "Working directory for PHPCS" },
"php_code_sniffer.cwd": {
"description": "Working directory for PHPCS"
},
"php_code_sniffer.env": {
"default": { "XDEBUG_MODE": "off" },
"default": {
"XDEBUG_MODE": "off"
},
"description": "Environment for PHP_CodeSniffer (e.g. to set XDEBUG_MODE)"
},
"php_code_sniffer.show_diagnostics": {
@ -456,15 +642,24 @@
"default": false,
"description": "Only consider public services when providing analysis for the service locator"
},
"rpc.replay_path": { "default": "%cache%\/replay.json", "description": "Path where the replays should be stored" },
"rpc.store_replay": { "default": false, "description": "Should replays be stored?" },
"source_code_filesystem.project_root": { "default": "%project_root%", "description": null },
"rpc.replay_path": {
"default": "%cache%/replay.json",
"description": "Path where the replays should be stored"
},
"rpc.store_replay": {
"default": false,
"description": "Should replays be stored?"
},
"source_code_filesystem.project_root": {
"default": "%project_root%",
"description": null
},
"symfony.xml_path": {
"default": "%project_root%\/var\/cache\/dev\/App_KernelDevDebugContainer.xml",
"default": "%project_root%/var/cache/dev/App_KernelDevDebugContainer.xml",
"description": "Path to the Symfony container XML dump file"
},
"worse_reflection.cache_dir": {
"default": "%cache%\/worse-reflection",
"default": "%cache%/worse-reflection",
"description": "Cache directory for stubs"
},
"worse_reflection.cache_lifetime": {
@ -474,18 +669,26 @@
"worse_reflection.diagnostics.undefined_variable.suggestion_levenshtein_disatance": {
"default": 4,
"description": "Levenshtein distance to use when suggesting corrections for variable names",
"type": ["integer"]
"type": [
"integer"
]
},
"worse_reflection.enable_cache": {
"default": true,
"description": "If reflection caching should be enabled"
},
"worse_reflection.enable_cache": { "default": true, "description": "If reflection caching should be enabled" },
"worse_reflection.enable_context_location": {
"default": true,
"description": "If source code is passed to a ``Reflector`` then temporarily make it available as a\nsource location. Note this should NOT be enabled if the source code can be\nlocated in another (e.g. when running a Language Server)"
},
"worse_reflection.stub_dir": {
"default": "%application_root%\/vendor\/jetbrains\/phpstorm-stubs",
"default": "%application_root%/vendor/jetbrains/phpstorm-stubs",
"description": "Location of the core PHP stubs - these will be scanned and cached on the first request"
},
"xdebug_disable": { "default": true, "description": "If XDebug should be automatically disabled" }
"xdebug_disable": {
"default": true,
"description": "If XDebug should be automatically disabled"
}
},
"title": "Phpactor Configuration Schema",
"type": "object"