Bruce Weirdan
84bbf2bd90
Merge pull request #10108 from weirdan/lsp-cleanup-test-command
2023-08-13 06:01:46 +02:00
Bruce Weirdan
03f7c263fe
Correct type for $enum->name
2023-08-13 05:56:33 +02:00
Bruce Weirdan
dbd94ef85d
Cleanup test
command and fixAll
action
...
None were working.
2023-08-13 05:53:46 +02:00
Bruce Weirdan
626444dd2e
Merge pull request #10106 from TheDevick/fix-bcdiv-stub
2023-08-13 02:07:19 +02:00
Bruce Weirdan
b70d40703f
Merge pull request #10107 from kamil-tekiela/true-mysqli_field_seek-
2023-08-13 02:01:41 +02:00
Kamil Tekiela
0b434514d2
Some mysqli methods return true always
2023-08-12 19:29:31 +01:00
Kamil Tekiela
c757054144
mysqli_field_seek returns true
2023-08-12 19:29:10 +01:00
The Devick
313267082b
Fix bcdiv nullable scale stub
2023-08-12 14:36:00 -03:00
Bruce Weirdan
a69eddda24
Merge pull request #10104 from 6b7562617765726c6f73/fix_MethodCallAnalyzer
2023-08-12 18:35:38 +02:00
Kuba Werłos
35183b9542
Add fix
2023-08-12 12:50:24 +02:00
Kuba Werłos
18a4752970
Add test
2023-08-12 12:28:23 +02:00
Mark McEver
1d1c13a836
Removed trailing whitespace to follow code style
2023-08-08 15:34:23 -05:00
kkmuffme
801cca2aa3
argv and argc were inconsistent in Context with VariableFetchAnalyzer
...
Not sure why argv/argc are declared in context independently in the first place though
2023-08-08 22:29:18 +02:00
Mark McEver
7ffba7f611
Respect stubs in all cases
2023-08-08 15:07:15 -05:00
orklah
efcd443340
Merge pull request #10048 from cgocast/master
...
Fix #100047
2023-08-06 01:33:26 +02:00
orklah
3098e51299
Merge pull request #10049 from ygottschalk/fix/9997-simplexamlelment-dynamic-properties
...
Fix #9997 dynamic properties on SimpleXmlElement
2023-08-06 01:32:07 +02:00
Yannick Gottschalk
a4de6d9dc0
Fix #9997
...
- make SimpleXmlElement and SimpleXmlIterator not a universal object crate
- added typed magic __get method to SimpleXmlElement
- adjusted tests to reflect new behaviour of SimpleXmlElement
- added tests
2023-08-05 17:07:08 +02:00
cgocast
dc91016504
Merge branch 'vimeo:master' into master
2023-08-05 15:08:47 +02:00
orklah
96a61fcdc2
Merge pull request #10088 from kkmuffme/sprintf-error-reporting-more-correct-literal
...
make (s)printf error reporting more correct/literal
2023-08-05 10:44:07 +02:00
kkmuffme
02385c2b49
code style + update tests
2023-08-04 23:56:47 +02:00
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
Bruce Weirdan
dc8163011d
Merge branch '5.x' into upstream-master
2023-07-30 20:16:12 +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
2a11a44573
Merge pull request #10040 from nicelocal/psalm_v6
...
Psalm v6
2023-07-29 16:48:16 +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
3e747a692e
Merge branch 'non_falsy_string_literal' into psalm_v6
2023-07-29 15:05:18 +02:00
99dd34c67e
Merge remote-tracking branch 'hub/master' into psalm_v6
2023-07-29 15:04:52 +02:00
63347e71ae
Merge remote-tracking branch 'hub/5.x' into non_falsy_string_literal
2023-07-29 15:04:04 +02:00
Bruce Weirdan
cccec8115f
Merge pull request #10024 from nicelocal/amp_v3
2023-07-29 01:20:20 +02:00
068bfbf8c1
Merge remote-tracking branch 'hub/master' into fix_intersection_scanning
2023-07-28 11:48:01 +02:00
6288ef9168
Fixup
2023-07-28 11:45:32 +02:00
85c41fa840
Fixes
2023-07-28 11:43:55 +02:00
8964f38d5f
Merge
2023-07-28 11:31:49 +02:00
767fa621cf
Merge remote-tracking branch 'hub/master' into amp_v3
2023-07-28 11:23:51 +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