1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 08:49:52 +01:00
Commit Graph

13841 Commits

Author SHA1 Message Date
orklah
be875f50e4
Merge pull request #10028 from thbley/master
added GitHub CI for unit tests with PHP 8.2 and 8.3
2023-07-26 19:23:15 +02:00
8364fef8b8
Fix intersection scanning 2023-07-26 10:04:20 +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
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
a86aa9a30b
Fix 2023-07-24 09:26:07 +02:00
dfbc9dd177
Fix combination of non-falsy-string and falsy literal 2023-07-24 09:07:46 +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
Thomas Bley
637dcc4425 #10026 fixed case mismatches in CallMap_83_delta 2023-07-21 23:11:20 +02:00
Thomas Bley
603dfa2e5a #10026 cleanup phpcs 2023-07-21 22:57:49 +02:00
Thomas Bley
1e1ffe164f #10026 keep running phpcs and php lint with 7.4 2023-07-21 22:50:24 +02:00
Thomas Bley
e82114cfee #10026 keep running phpcs and php lint with 7.4 2023-07-21 22:46:46 +02:00
Thomas Bley
fda483a98b #10026 converted version_compare() to direct comparison with PHP_VERSION_ID 2023-07-21 22:42:27 +02:00
Thomas Bley
7f39dab07b #10026 moved some more signature changes to CallMap_83_delta 2023-07-21 22:26:05 +02:00
Thomas Bley
9590279c62 #10026 added style changes to pass phpcs check 2023-07-21 21:50:30 +02:00
Thomas Bley
fc1d3e09ab #10026 added code style analysis with phpcs to github actions 2023-07-21 21:49:36 +02:00
Thomas Bley
4307bc49e3 #10026 run buuld-phar with php 8.0 in github actions (php 7.4 is out of official support) 2023-07-21 21:49:07 +02:00
Thomas Bley
5affc125e8 #10026 run phpcs and phar-build with php 8.0 in circle-ci (php 7.4 is out of official support) 2023-07-21 21:48:28 +02:00
cgocast
719496b46e #10030 Add PDOStatement::bindValuebindValue() and PDOStatement::bindParam() as sources for TaintedSql 2023-07-21 15:27:47 +02:00
Thomas Bley
51058eb45e #10026 cleanup 2023-07-20 02:02:28 +02:00
Thomas Bley
741d19682a #10026 cleanup signature for hash_pbkdf2() 2023-07-20 01:43:31 +02:00
Thomas Bley
ee185b9ad8 #10026 cleanup method signatures 2023-07-20 01:28:46 +02:00
Thomas Bley
f34327e079 10026 extended InternalCallMapHandlerTest ignores for php 8.3 2023-07-20 01:01:10 +02:00
Thomas Bley
2e0f1e25e5 #10026 extended callmap delta for php 8.3 2023-07-20 00:58:18 +02:00
Thomas Bley
cbee1e094e #10026 adapted DateTime tests for DateMalformedStringException in PHP 8.3 2023-07-19 23:52:25 +02:00
Thomas Bley
804087b5d5 #10026 added workaround for DateTimeInterface::__unserialize() signature 2023-07-19 23:14:04 +02:00
Thomas Bley
0f99799fa9 #10026 fixed AnnotationTest 2023-07-19 22:52:15 +02:00