Bruce Weirdan
|
c2a05c2e90
|
Ensure correct method call order
|
2023-07-26 05:17:13 +02:00 |
|
Bruce Weirdan
|
4f6fc3585b
|
Update tests to account for new progress protocol
|
2023-07-26 05:16:37 +02:00 |
|
Bruce Weirdan
|
85b2af83da
|
Cosmetic changes for VSCode
|
2023-07-26 05:16:36 +02:00 |
|
Bruce Weirdan
|
5f828c75d1
|
Make sure we get the token
Name does matter, as is the presence of docblock
|
2023-07-26 05:15:55 +02:00 |
|
Bruce Weirdan
|
902f90b19b
|
Modernize LSP progress reporting
This will use `$/progress` when available and fall back to old
telemetry-based reporting otherwise
|
2023-07-26 05:10:27 +02:00 |
|
Bruce Weirdan
|
be82c3a948
|
Merge pull request #10033 from weirdan/lsp-container-path-mapping
|
2023-07-25 01:00:47 +02:00 |
|
Bruce Weirdan
|
c50ae7c2e6
|
Merge pull request #10046 from weirdan/map-special-rpc-paths
Map special RPC paths
|
2023-07-25 00:55:40 +02:00 |
|
Bruce Weirdan
|
4a0a12d9e2
|
Fix unused var
|
2023-07-25 00:17:12 +02:00 |
|
Bruce Weirdan
|
e1a30a20a1
|
Map special RPC paths
Now `$/cancelRequest` will be resolved to `$server->cancelRequest()`
and `$/textDocument/whatever` to `$server->textDocument->whatever()`
|
2023-07-25 00:11:35 +02:00 |
|
Bruce Weirdan
|
5c0154c422
|
Added docs on running LS in a container
|
2023-07-24 21:59:34 +02:00 |
|
Bruce Weirdan
|
bb102760ea
|
Drop unused property
|
2023-07-24 21:59:34 +02:00 |
|
Bruce Weirdan
|
0a2a0feaf2
|
CS fix
|
2023-07-24 21:59:34 +02:00 |
|
Bruce Weirdan
|
6eb7a688d1
|
Introduce --map-folder switch
And create PathMapper based on its value
|
2023-07-24 21:59:34 +02:00 |
|
Bruce Weirdan
|
8a51aaedd4
|
CS fix
|
2023-07-24 21:59:34 +02:00 |
|
Bruce Weirdan
|
6b9d9805b1
|
Account for -r option
|
2023-07-24 21:59:34 +02:00 |
|
Bruce Weirdan
|
389aa7965f
|
Use PathMapper to map paths
|
2023-07-24 21:59:34 +02:00 |
|
Bruce Weirdan
|
a68c4804f4
|
Add path mapper
|
2023-07-24 21:59:34 +02:00 |
|
Bruce Weirdan
|
f634a0047a
|
CS fix
|
2023-07-24 21:59:34 +02:00 |
|
Bruce Weirdan
|
c44b9f5c5e
|
Map LSP paths
|
2023-07-24 21:59:34 +02:00 |
|
Bruce Weirdan
|
acdb11e679
|
Use instance methods instead of static
|
2023-07-24 21:59:34 +02:00 |
|
orklah
|
f2c77ca848
|
Merge pull request #10037 from weirdan/simplify-deep-object-access
Simplify conditions with deep object access
|
2023-07-23 23:28:20 +02:00 |
|
Bruce Weirdan
|
f64da372f3
|
Simplify conditions with deep object access
|
2023-07-23 23:09:46 +02:00 |
|
orklah
|
afaef14f64
|
Merge pull request #10012 from ygottschalk/fix/10001-always-report-unused-baseline
Always report UnusedBaseline issues
|
2023-07-23 12:35:32 +02:00 |
|
orklah
|
3c0811021b
|
Merge pull request #10032 from cgocast/master
#10030 Fix missing TaintedSql
|
2023-07-23 12:25:10 +02:00 |
|
orklah
|
616d9e0b82
|
Merge pull request #10034 from vimeo/fix-incorrect-positions-sent-in-codeactions-edits
Fix incorrect positions set in code action edits
|
2023-07-23 11:43:23 +02:00 |
|
Bruce Weirdan
|
eaf41a1874
|
Fix incorrect positions set in code action edits
Neovim requires positions to supply column as well as row.
|
2023-07-23 07:09:24 +02:00 |
|
cgocast
|
719496b46e
|
#10030 Add PDOStatement::bindValuebindValue() and PDOStatement::bindParam() as sources for TaintedSql
|
2023-07-21 15:27:47 +02:00 |
|
orklah
|
9c814c8a69
|
Merge pull request #10004 from rhertogh/inline_comments_in_types
Allow comments in types (e.g. in array shapes)
|
2023-07-16 09:26:25 +02:00 |
|
rhertogh
|
c62d507a0e
|
Added addtitional cases for 'multiLineArrayShapeWithComments' in \Psalm\Tests\AnnotationTest::providerValidCodeParse()
|
2023-07-16 00:53:37 +02:00 |
|
rhertogh
|
fa107d5e01
|
Updated docs for comments in Array Shapes with // in the key
|
2023-07-15 20:15:37 +02:00 |
|
rhertogh
|
2e00fd08c3
|
Updated docs for comments in Array Shapes
|
2023-07-15 19:25:17 +02:00 |
|
rhertogh
|
8d76314a48
|
Fixed PHPCS errors for CommentAnalyzer (Multi-line function calls must have a trailing comma after the last parameter).
|
2023-07-15 19:11:15 +02:00 |
|
rhertogh
|
65ad2f829e
|
Fixed PHPCS errors for CommentAnalyzer
|
2023-07-15 19:04:52 +02:00 |
|
rhertogh
|
c362dd5af7
|
Ensure comment lines are terminated with a new line character (\n).
|
2023-07-15 19:00:28 +02:00 |
|
rhertogh
|
f378ef1cab
|
Allow comments in types (e.g. array shape)
|
2023-07-15 18:43:47 +02:00 |
|
rhertogh
|
9935b2c71e
|
Merge branch 'master' into inline_comments_in_types
# Conflicts:
# tests/CommentAnalyzerTest.php
|
2023-07-15 15:46:01 +02:00 |
|
orklah
|
564c6de4ed
|
Merge pull request #10016 from alcaeus/mongodb-bson-generics
Add generic stubs for MongoDB BSON classes
|
2023-07-13 20:34:08 +02:00 |
|
Andreas Braun
|
bea3090aff
|
Add generic stubs for MongoDB BSON classes
|
2023-07-13 08:42:06 +02:00 |
|
orklah
|
db9d971d89
|
Merge pull request #10014 from klimick/functional-inference-edge-case
Fix inference high order function when closure param is omitted
|
2023-07-11 23:37:01 +02:00 |
|
klimick
|
e9445cd422
|
Test inference with omitted closure param
|
2023-07-11 11:34:06 +03:00 |
|
klimick
|
38f6d45155
|
Do not fill template result when arg is unpacked
|
2023-07-11 11:10:48 +03:00 |
|
klimick
|
9fccf201e3
|
Fix callable without params inference
|
2023-07-11 01:01:31 +03:00 |
|
Yannick Gottschalk
|
867290cd06
|
Always report UnusedBaseline issues
|
2023-07-10 14:09:11 +02:00 |
|
orklah
|
5cb2557410
|
Merge pull request #10000 from rhertogh/allow_space_before_array_shape_opening_brace
Allow space before array shape opening brace and added unit tests
|
2023-07-09 15:10:01 +02:00 |
|
rhertogh
|
f7fb2c8809
|
Merge branch 'master' into allow_space_before_array_shape_opening_brace
|
2023-07-09 14:32:28 +02:00 |
|
rhertogh
|
5a1bb56fc2
|
3nd attempt to fix CommentAnalyzerTest::providerSplitDocLine() docblock
|
2023-07-09 14:26:58 +02:00 |
|
rhertogh
|
d2ec23fc71
|
2nd attempt to fix CommentAnalyzerTest::providerSplitDocLine() docblock (https://github.com/vimeo/psalm/pull/10000#issuecomment-1627430145)
|
2023-07-08 23:01:35 +02:00 |
|
rhertogh
|
a69b0caa23
|
Added return type specification for \Psalm\Tests\CommentAnalyzerTest::providerSplitDocLine() (https://github.com/vimeo/psalm/pull/10000#issuecomment-1624354237)
|
2023-07-07 16:25:10 +02:00 |
|
rhertogh
|
2285c9d4bd
|
Fixed codestyle for CommentAnalyzer and use plain instead of multibite string functions
|
2023-07-06 23:54:50 +02:00 |
|
rhertogh
|
356e6d7bbd
|
First setup to allow comments in types (e.g. array shape)
|
2023-07-06 23:40:13 +02:00 |
|