1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-13 09:47:29 +01:00
Commit Graph

13985 Commits

Author SHA1 Message Date
b839d8dfe0
Merge remote-tracking branch 'hub/master' into amp_v3 2023-07-26 10:19:11 +02:00
8364fef8b8
Fix intersection scanning 2023-07-26 10:04:20 +02:00
b8b45401ae
Merge branch 'fix_intersection_scanning' into strict_types 2023-07-26 09:58:17 +02:00
ede8367033
Revert for now 2023-07-26 09:57:08 +02:00
efcdc27376
Simplify 2023-07-26 09:18:05 +02:00
e67ea0b124
Simplify 2023-07-26 09:17:45 +02:00
Bruce Weirdan
a34222aa76
Drop unused parameters for RPC methods
Parameters are marshalled using their names and docblock tags, so it's safe to do.
2023-07-26 05:17:38 +02:00
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
08133db4fd
Merge branch 'fix_intersection_scanning' into strict_types 2023-07-25 12:58:31 +02:00
197668a85a
Fix file references 2023-07-25 12:57:38 +02:00
e402813de8
Fixes 2023-07-25 12:48:49 +02:00
db9ac3a624
Fixes 2023-07-25 12:46:41 +02:00
964080e6c1
Fixup 2023-07-25 12:19:02 +02:00
7e605f09cd
Fixup 2023-07-25 12:18:27 +02:00
9d85198765
Merge branch 'fix_intersection_scanning' into strict_types 2023-07-25 11:54:41 +02:00
5e77f1b9e2
Fixes 2023-07-25 11:52:50 +02:00
e8b8aa38bc
Merge branch 'fix_intersection_scanning' into strict_types 2023-07-25 11:12:03 +02:00
f21390d7ce
Remove extremely strange logic 2023-07-25 11:11:47 +02:00
d3bea28a12
Merge branch 'fix_intersection_scanning' into strict_types 2023-07-25 10:52:35 +02:00
ac5dd77955
Remove mistakenly (?) ignored functions 2023-07-25 10:50:01 +02:00
a28111799f
Fix 2023-07-25 10:39:33 +02:00
8cc5af9592
Fix thread data merging 2023-07-25 10:38:48 +02:00
cgocast
9690a44c16 Merge branch 'master' of https://github.com/cgocast/psalm 2023-07-25 10:33:52 +02:00
cgocast
165df42e00 Apply code review remarks 2023-07-25 10:33:25 +02:00
6b54ea2d38
Merge branch 'fix_intersection_scanning' into strict_types 2023-07-25 10:10:27 +02:00
1ad9fc66f8
Fixes 2023-07-25 10:09:29 +02:00
cgocast
5a5c5efe46
Merge branch 'vimeo:master' into master 2023-07-25 09:24:25 +02:00
cgocast
c754a0ea08 Remove TaintedSql sink for PDOStatement related methods 2023-07-25 09:22:49 +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
93443f292c
Small fix 2023-07-24 14:10:59 +02:00
d320f0792e
Merge branch 'fix_intersection_scanning' into strict_types 2023-07-24 13:51:13 +02:00
b65d7938f9
Fix scanning of intersection types 2023-07-24 13:49:28 +02:00