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
|
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
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
rhertogh
|
f7fb2c8809
|
Merge branch 'master' into allow_space_before_array_shape_opening_brace
|
2023-07-09 14:32:28 +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 |
|
kkmuffme
|
9fd590685c
|
fix "days" ignore falsable return not ignored correctly
see Reflection.php, where the same condition was used already, but was insufficient
|
2023-07-06 08:21:27 +02:00 |
|
rhertogh
|
242a38c184
|
Allow space before array shape opening brace and added unit tests for \Psalm\Internal\Analyzer\CommentAnalyzer::splitDocLine()
|
2023-07-06 00:01:00 +02:00 |
|
kkmuffme
|
8d8adefb6c
|
no error for printf with only 1 arg
Fix https://github.com/vimeo/psalm/issues/9987
|
2023-07-03 22:59:02 +02:00 |
|
kkmuffme
|
b4126326eb
|
make stubbed constant types configurable with comment
Fix https://github.com/vimeo/psalm/issues/4024
|
2023-07-03 22:28:25 +02:00 |
|
orklah
|
27798e69a0
|
Merge pull request #9970 from kkmuffme/missing-composer-lock-should-not-invalidate-cache-created-with-missing-composer-lock
Missing composer lock should not invalidate cache created with missing composer lock
|
2023-07-03 21:42:47 +02:00 |
|
orklah
|
a83c3fe325
|
Merge branch 'master' into missing-composer-lock-should-not-invalidate-cache-created-with-missing-composer-lock
|
2023-07-03 21:02:00 +02:00 |
|
orklah
|
9575bc319c
|
Merge branch 'master' into fix/9968-exhume-enum
|
2023-07-03 20:59:26 +02:00 |
|
orklah
|
3e54feb9b4
|
Merge pull request #9964 from ygottschalk/fix/phpparser-deprecation-name-parts
Fix/phpparser deprecation name parts
|
2023-07-03 20:59:09 +02:00 |
|
Yannick Gottschalk
|
e819a608fb
|
Added issue suppression
|
2023-07-03 10:40:54 +02:00 |
|
Yannick Gottschalk
|
42b3736c39
|
Fixed psalm self test
|
2023-07-03 10:28:16 +02:00 |
|
Yannick Gottschalk
|
1787960027
|
Fixed exhuming enums as enums, not as classes
|
2023-07-03 09:57:14 +02:00 |
|
orklah
|
8d1876a8a3
|
Merge pull request #9981 from kkmuffme/fix-replace-functions-return-type-provider-less-specific
fix mixed replace return types for arrays
|
2023-07-02 12:59:01 +02:00 |
|
orklah
|
53ce62bf28
|
Merge pull request #9975 from kkmuffme/sprintf-single-arg-splat-array
Fix sprintf single arg splat array
|
2023-07-02 10:08:08 +02:00 |
|
kkmuffme
|
0377dd9eda
|
code style
|
2023-07-02 09:45:55 +02:00 |
|
kkmuffme
|
d24df1a077
|
improve config validation and fix wrong condition
|
2023-07-02 09:00:53 +02:00 |
|
kkmuffme
|
7593b5bdc6
|
more code style and shepherd
|
2023-07-02 08:42:05 +02:00 |
|
kkmuffme
|
c2388b4d90
|
fix failing tests and shepherd
|
2023-07-02 08:33:43 +02:00 |
|
Roland Franssen :)
|
b525f9cf70
|
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
|
2023-07-01 17:01:49 +02:00 |
|
Roland Franssen :)
|
bf31ffbd92
|
Update Psalm.php
|
2023-07-01 16:56:33 +02:00 |
|
Roland Franssen :)
|
f07cdfc129
|
Update Psalm.php
|
2023-07-01 16:50:25 +02:00 |
|
Roland Franssen :)
|
33b0693c4f
|
ugh
|
2023-07-01 16:47:16 +02:00 |
|
Roland Franssen :)
|
010306fda8
|
Update Psalm.php
|
2023-07-01 14:00:12 +02:00 |
|