corvée(phpactor) met à jour phpactor
This commit is contained in:
parent
bf2c7edd1a
commit
b14921b493
2 changed files with 81 additions and 9 deletions
|
|
@ -1,11 +1,5 @@
|
||||||
{
|
{
|
||||||
"$schema": "./phpactor.schema.json",
|
"$schema": "./phpactor.schema.json",
|
||||||
"indexer.exclude_patterns": [
|
|
||||||
"/var/cache/**/*",
|
|
||||||
"/vendor/**/tests/**/*",
|
|
||||||
"/vendor/**/Tests/**/*",
|
|
||||||
"/vendor/composer/**/*"
|
|
||||||
],
|
|
||||||
"language_server.diagnostic_outsource_timeout": 5,
|
"language_server.diagnostic_outsource_timeout": 5,
|
||||||
"language_server.diagnostics_on_save": true,
|
"language_server.diagnostics_on_save": true,
|
||||||
"language_server.diagnostics_on_update": true,
|
"language_server.diagnostics_on_update": true,
|
||||||
|
|
|
||||||
|
|
@ -236,6 +236,21 @@
|
||||||
"default": 1610612736,
|
"default": 1610612736,
|
||||||
"description": "Ensure that PHP has a memory_limit of at least this amount in bytes"
|
"description": "Ensure that PHP has a memory_limit of at least this amount in bytes"
|
||||||
},
|
},
|
||||||
|
"core.project_config_candidates": {
|
||||||
|
"default": [],
|
||||||
|
"description": "(internal) list of potential project-level configuration files"
|
||||||
|
},
|
||||||
|
"core.trust": {
|
||||||
|
"default": {
|
||||||
|
"path": null,
|
||||||
|
"trust": []
|
||||||
|
},
|
||||||
|
"description": "(internal) map of trusted project directories"
|
||||||
|
},
|
||||||
|
"core.trusted": {
|
||||||
|
"default": false,
|
||||||
|
"description": "(internal) if the configuration is trusted"
|
||||||
|
},
|
||||||
"file_path_resolver.app_name": {
|
"file_path_resolver.app_name": {
|
||||||
"default": "phpactor",
|
"default": "phpactor",
|
||||||
"description": null
|
"description": null
|
||||||
|
|
@ -278,7 +293,8 @@
|
||||||
"default": [
|
"default": [
|
||||||
"/vendor/**/tests/**/*",
|
"/vendor/**/tests/**/*",
|
||||||
"/vendor/**/Tests/**/*",
|
"/vendor/**/Tests/**/*",
|
||||||
"/vendor/composer/**/*"
|
"/vendor/composer/**/*",
|
||||||
|
"/vendor/rector/rector/stubs-rector"
|
||||||
],
|
],
|
||||||
"description": "Glob patterns to exclude while indexing",
|
"description": "Glob patterns to exclude while indexing",
|
||||||
"type": [
|
"type": [
|
||||||
|
|
@ -316,6 +332,13 @@
|
||||||
"string"
|
"string"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"indexer.max_filesize_to_index": {
|
||||||
|
"default": 1000000,
|
||||||
|
"description": "Files larger than this will not be indexed. (Size in bytes)",
|
||||||
|
"type": [
|
||||||
|
"integer"
|
||||||
|
]
|
||||||
|
},
|
||||||
"indexer.poll_time": {
|
"indexer.poll_time": {
|
||||||
"default": 5000,
|
"default": 5000,
|
||||||
"description": "For polling indexers only: the time, in milliseconds, between polls (e.g. filesystem scans)",
|
"description": "For polling indexers only: the time, in milliseconds, between polls (e.g. filesystem scans)",
|
||||||
|
|
@ -337,6 +360,13 @@
|
||||||
"boolean"
|
"boolean"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"indexer.search_include_patterns": {
|
||||||
|
"default": [],
|
||||||
|
"description": "When searching the index exclude records whose fully qualified names match any of these regex patterns (use to exclude suggestions from search results). Namespace separators must be escaped as `\\\\\\\\` for example `^Foo\\\\\\\\` to include all namespaces whose first segment is `Foo`",
|
||||||
|
"type": [
|
||||||
|
"object"
|
||||||
|
]
|
||||||
|
},
|
||||||
"indexer.stub_paths": {
|
"indexer.stub_paths": {
|
||||||
"default": [],
|
"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.",
|
"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.",
|
||||||
|
|
@ -362,6 +392,10 @@
|
||||||
"default": [],
|
"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_ignore_codes": {
|
||||||
|
"default": [],
|
||||||
|
"description": "Ignore diagnostics that have the codes listed here, e.g. [\"fix_namespace_class_name\"]. The codes match those shown in the LSP client."
|
||||||
|
},
|
||||||
"language_server.diagnostic_outsource": {
|
"language_server.diagnostic_outsource": {
|
||||||
"default": true,
|
"default": true,
|
||||||
"description": "If applicable diagnostics should be \"outsourced\" to a different process"
|
"description": "If applicable diagnostics should be \"outsourced\" to a different process"
|
||||||
|
|
@ -389,6 +423,10 @@
|
||||||
"default": true,
|
"default": true,
|
||||||
"description": "Perform diagnostics when the text document is updated"
|
"description": "Perform diagnostics when the text document is updated"
|
||||||
},
|
},
|
||||||
|
"language_server.enable_trust_check": {
|
||||||
|
"default": true,
|
||||||
|
"description": "Check to see if project path is trusted before loading configurations from it"
|
||||||
|
},
|
||||||
"language_server.enable_workspace": {
|
"language_server.enable_workspace": {
|
||||||
"default": true,
|
"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)"
|
||||||
|
|
@ -450,6 +488,17 @@
|
||||||
"boolean"
|
"boolean"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"language_server_highlight.enabled": {
|
||||||
|
"default": true,
|
||||||
|
"description": "Enable or disable the highlighter (can be expensive on large documents)"
|
||||||
|
},
|
||||||
|
"language_server_indexer.optimiser_timeout": {
|
||||||
|
"default": 3600,
|
||||||
|
"description": "Optimise the index every N seconds",
|
||||||
|
"type": [
|
||||||
|
"integer"
|
||||||
|
]
|
||||||
|
},
|
||||||
"language_server_indexer.reindex_timeout": {
|
"language_server_indexer.reindex_timeout": {
|
||||||
"default": 300,
|
"default": 300,
|
||||||
"description": "Unconditionally reindex modified files every N seconds"
|
"description": "Unconditionally reindex modified files every N seconds"
|
||||||
|
|
@ -467,15 +516,17 @@
|
||||||
},
|
},
|
||||||
"language_server_php_cs_fixer.env": {
|
"language_server_php_cs_fixer.env": {
|
||||||
"default": {
|
"default": {
|
||||||
"PHP_CS_FIXER_IGNORE_ENV": true,
|
|
||||||
"XDEBUG_MODE": "off"
|
"XDEBUG_MODE": "off"
|
||||||
},
|
},
|
||||||
"description": "Environment for PHP CS Fixer (e.g. to set PHP_CS_FIXER_IGNORE_ENV)"
|
"description": "Environment for PHP CS Fixer"
|
||||||
},
|
},
|
||||||
"language_server_php_cs_fixer.show_diagnostics": {
|
"language_server_php_cs_fixer.show_diagnostics": {
|
||||||
"default": true,
|
"default": true,
|
||||||
"description": "Whether PHP CS Fixer diagnostics are shown"
|
"description": "Whether PHP CS Fixer diagnostics are shown"
|
||||||
},
|
},
|
||||||
|
"language_server_php_cs_fixer.version": {
|
||||||
|
"description": "Arbitrary version (if not provided, phpactor tries to detect it - only to run it on unsupported PHP versions)"
|
||||||
|
},
|
||||||
"language_server_phpstan.bin": {
|
"language_server_phpstan.bin": {
|
||||||
"default": "%project_root%/vendor/bin/phpstan",
|
"default": "%project_root%/vendor/bin/phpstan",
|
||||||
"description": "Path to the PHPStan executable"
|
"description": "Path to the PHPStan executable"
|
||||||
|
|
@ -483,12 +534,24 @@
|
||||||
"language_server_phpstan.config": {
|
"language_server_phpstan.config": {
|
||||||
"description": "Override the PHPStan configuration file"
|
"description": "Override the PHPStan configuration file"
|
||||||
},
|
},
|
||||||
|
"language_server_phpstan.editor_mode": {
|
||||||
|
"default": false,
|
||||||
|
"description": "DEPRECATED. Editor mode of Phpstan is used automatically when it's supported."
|
||||||
|
},
|
||||||
"language_server_phpstan.level": {
|
"language_server_phpstan.level": {
|
||||||
"description": "Override the PHPStan level"
|
"description": "Override the PHPStan level"
|
||||||
},
|
},
|
||||||
"language_server_phpstan.mem_limit": {
|
"language_server_phpstan.mem_limit": {
|
||||||
"description": "Override the PHPStan memory limit"
|
"description": "Override the PHPStan memory limit"
|
||||||
},
|
},
|
||||||
|
"language_server_phpstan.severity": {
|
||||||
|
"default": 1,
|
||||||
|
"description": "Severity at which PHPStan diagnostics should be reported. Ranges from 1 (error) to 4 (hint)."
|
||||||
|
},
|
||||||
|
"language_server_phpstan.tmp_file_disabled": {
|
||||||
|
"default": false,
|
||||||
|
"description": "Disable the use of temporary files when. This prevents as-you-type diagnostics, but ensures paths in phpstan config are respected. See https://github.com/phpactor/phpactor/issues/2763"
|
||||||
|
},
|
||||||
"language_server_psalm.bin": {
|
"language_server_psalm.bin": {
|
||||||
"default": "%project_root%/vendor/bin/psalm",
|
"default": "%project_root%/vendor/bin/psalm",
|
||||||
"description": "Path to psalm if different from vendor/bin/psalm",
|
"description": "Path to psalm if different from vendor/bin/psalm",
|
||||||
|
|
@ -496,6 +559,13 @@
|
||||||
"string"
|
"string"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"language_server_psalm.config": {
|
||||||
|
"default": "",
|
||||||
|
"description": "Path to psalm config. Like %project_root%/psalm.xml",
|
||||||
|
"type": [
|
||||||
|
"string"
|
||||||
|
]
|
||||||
|
},
|
||||||
"language_server_psalm.error_level": {
|
"language_server_psalm.error_level": {
|
||||||
"description": "Override level at which Psalm should report errors (lower => more errors)"
|
"description": "Override level at which Psalm should report errors (lower => more errors)"
|
||||||
},
|
},
|
||||||
|
|
@ -527,6 +597,10 @@
|
||||||
"boolean"
|
"boolean"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"language_server_reference_finder.soft_timeout": {
|
||||||
|
"default": 10,
|
||||||
|
"description": "Interupt and ask for confirmation to continue after this timeout (in seconds)"
|
||||||
|
},
|
||||||
"language_server_reference_reference_finder.reference_timeout": {
|
"language_server_reference_reference_finder.reference_timeout": {
|
||||||
"default": 60,
|
"default": 60,
|
||||||
"description": "Stop searching for references after this time (in seconds) has expired"
|
"description": "Stop searching for references after this time (in seconds) has expired"
|
||||||
|
|
@ -658,6 +732,10 @@
|
||||||
"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"
|
"description": "Path to the Symfony container XML dump file"
|
||||||
},
|
},
|
||||||
|
"worse_reflection.additive_stubs": {
|
||||||
|
"default": [],
|
||||||
|
"description": "Additive stubs files relative to the project root. These stubs augment existing defininitions."
|
||||||
|
},
|
||||||
"worse_reflection.cache_dir": {
|
"worse_reflection.cache_dir": {
|
||||||
"default": "%cache%/worse-reflection",
|
"default": "%cache%/worse-reflection",
|
||||||
"description": "Cache directory for stubs"
|
"description": "Cache directory for stubs"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue