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

14180 Commits

Author SHA1 Message Date
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
Thomas Bley
fffbf75cf8 cleanup 2023-07-19 21:06:35 +02:00
Thomas Bley
1c55437d78 cleanup 2023-07-19 20:51:13 +02:00
Thomas Bley
ba4e40a9f6 cleanup 2023-07-19 20:47:58 +02:00
Thomas Bley
d0605ee765 cleanup 2023-07-19 20:46:50 +02:00
Thomas Bley
e8586a7a35 #10026 test matrix for different php versions and operating systems 2023-07-19 20:42:39 +02:00
Thomas Bley
9eb3c7eb7d #10026 test matrix for different php versions and operating systems 2023-07-19 20:41:59 +02:00
Thomas Bley
d39013324d #10026 added GitHub CI for unit tests with PHP 8.2 and 8.3 2023-07-19 20:30:57 +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