kkmuffme
|
0a58a68e9a
|
make (s)printf error reporting more correct/literal
Fix https://github.com/vimeo/psalm/issues/10021
Fix https://github.com/vimeo/psalm/issues/9987 again now for all cases (specifically https://github.com/vimeo/psalm/issues/9987#issuecomment-1624360506)
Use RedundantFunctionCall instead of InvalidArgument, where it's technically valid.
Report TooManyArguments when a format without placeholders is used
Report an error for splat with vprintf/vsprintf
|
2023-08-04 23:38:48 +02:00 |
|
orklah
|
2c39046737
|
Merge pull request #10073 from weirdan/fix-domdocument-signatures
Fixed `DOMDocument::load*` signatures
|
2023-08-01 18:51:52 +02:00 |
|
Bruce Weirdan
|
378b31b67b
|
Merge pull request #10068 from Nitamet/9949-isset-non-variables
|
2023-08-01 18:24:50 +02:00 |
|
Nitamet
|
f742af0221
|
Check if argument passed to isset() is valid
|
2023-08-01 14:39:10 +03:00 |
|
Bruce Weirdan
|
c83b0c96a9
|
Fixed DOMDocument::load* signatures
Prior to 8.0 those methods could be called statically, returning a
`DOMDocument` instance. In 8.0 and above they no longer can be.
|
2023-08-01 11:56:46 +02:00 |
|
orklah
|
b9d355e082
|
Merge pull request #10071 from weirdan/fix-10070
Allow method-like strings in `referencedFunction`
|
2023-08-01 07:16:55 +02:00 |
|
Bruce Weirdan
|
ec842c0f3d
|
Allow method-like strings in referencedFunction
Fixes vimeo/psalm#10070
|
2023-08-01 06:37:01 +02:00 |
|
orklah
|
b2942cefed
|
Merge pull request #10066 from klimick/5.x-fix-variadic-callable-type-check
Fix variadic callable type check
|
2023-07-30 22:18:56 +02:00 |
|
klimick
|
809b27c499
|
Fix variadic callable type check
|
2023-07-30 11:43:07 +03:00 |
|
orklah
|
80ddbd3898
|
Merge pull request #10039 from nicelocal/non_falsy_string_literal
Fix combination of non-falsy-string and falsy literal
|
2023-07-29 16:49:47 +02:00 |
|
orklah
|
7e4a6f5811
|
Merge pull request #10043 from nicelocal/fix_intersection_scanning
Fix scanning of intersection types
|
2023-07-29 16:46:45 +02:00 |
|
|
63347e71ae
|
Merge remote-tracking branch 'hub/5.x' into non_falsy_string_literal
|
2023-07-29 15:04:04 +02:00 |
|
|
068bfbf8c1
|
Merge remote-tracking branch 'hub/master' into fix_intersection_scanning
|
2023-07-28 11:48:01 +02:00 |
|
orklah
|
73ebe227b2
|
Merge pull request #10055 from thbley/master
Add type detection for PDOStatement::fetchAll(PDO::FETCH_CLASS, SomeClass::class)
|
2023-07-27 19:03:09 +02:00 |
|
Thomas Bley
|
88ddb89763
|
#9974 fixed return type for FETCH_COLUMN
|
2023-07-27 16:11:32 +02:00 |
|
Thomas Bley
|
ee505259aa
|
#9974 extended test with PDO::ATTR_DEFAULT_FETCH_MODE for future implementation
|
2023-07-27 15:59:31 +02:00 |
|
Thomas Bley
|
d600705b0c
|
#9974 removed references_in_scope for setFetchMode
|
2023-07-27 15:53:05 +02:00 |
|
Thomas Bley
|
13d53ecbf1
|
#9974 cleanup
|
2023-07-27 01:59:06 +02:00 |
|
Thomas Bley
|
3d525cbd0e
|
#9974 cleanup
|
2023-07-27 01:48:00 +02:00 |
|
Thomas Bley
|
8a6774ba82
|
#9974 fixed coding styles
|
2023-07-27 01:45:21 +02:00 |
|
Thomas Bley
|
66bc28d2a8
|
#9974 extended return type detection for PDOStatement::fetchAll/fetch with FETCH_COLUMN and FETCH_KEY_PAIR
|
2023-07-27 01:39:21 +02:00 |
|
Bruce Weirdan
|
6c0a09a36a
|
Merge pull request #10050 from weirdan/lsp-modernize-progress-reporting
Modernize LSP progress reporting
|
2023-07-27 01:11:36 +02:00 |
|
Thomas Bley
|
fc74ae83e6
|
#9974 added return type detection for PDOStatement::fetchAll, extended return type detection for PDOStatement::fetch
|
2023-07-27 00:40:26 +02:00 |
|
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 |
|