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

13444 Commits

Author SHA1 Message Date
Tinjo Schöni
703a4b46c3
Add test case for property type change not invalidating methods 2023-06-24 14:29:28 +02:00
Tinjo Schöni
1b1915eaf5
Make file storage cache handling consistent 2023-06-24 14:29:28 +02:00
Tinjo Schöni
9939cae52d
Support project analysis with file diffing in tests 2023-06-24 14:29:28 +02:00
orklah
81946bbbc3
Merge pull request #9953 from boesing/bugfix/issue-9917
`non-empty-list` assertion for iterable
2023-06-24 01:55:04 +02:00
Maximilian Bösing
f482a5cb31
bugfix: pass non-empty information when reconciling iterable
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
2023-06-23 21:15:37 +02:00
Maximilian Bösing
2d84b06cfa
qa: introduce failing test
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
2023-06-23 20:44:33 +02:00
orklah
01e2ac78d4
Merge pull request #9950 from orklah/iterableInt
fix reconciliation between a list and iterable
2023-06-22 23:45:39 +02:00
orklah
8929f8b4d8 fix reconciliation between a list and iterable 2023-06-22 23:37:40 +02:00
orklah
bb28c5aa64
Merge pull request #9932 from ygottschalk/fix/cache-fail-silent
Fix/cache fail silent
2023-06-21 21:09:56 +02:00
orklah
03b91561a7
Merge pull request #9935 from ygottschalk/fix/cache-config-warnings
Make config warn about missing cache related functions
2023-06-21 21:08:39 +02:00
orklah
fd4a97bd91
Merge pull request #9931 from tscni/fix/delete-file-invalidate-referencing-cached-methods
Invalidate cached methods when referenced files are deleted
2023-06-21 21:08:00 +02:00
orklah
653ad669a0
Merge pull request #9934 from alcaeus/mongodb-functions
Add call map entries for MongoDB functions
2023-06-20 13:07:25 +02:00
Yannick Gottschalk
dbc4f48e2b Make config warn about missing cache related functions 2023-06-20 12:40:08 +02:00
Andreas Braun
47569ed703
Add call map entries for MongoDB functions 2023-06-20 12:19:54 +02:00
orklah
85d3e4dd68
Merge pull request #9933 from alcaeus/mongodb-1.16-stubs
Update callmap for ext-mongodb 1.16
2023-06-20 12:14:00 +02:00
Andreas Braun
0e26bc79aa
Update callmap for ext-mongodb 1.16 2023-06-20 12:01:08 +02:00
Yannick Gottschalk
503c38df03 Make cache writes fail silent 2023-06-20 11:54:05 +02:00
Yannick Gottschalk
66848306f9 Make cache fail silent 2023-06-20 11:51:24 +02:00
Tinjo Schöni
1161edfa33
Invalidate cached methods when referenced files are deleted 2023-06-20 01:01:24 +02:00
Tinjo Schöni
474f8874f0
Add test case for file deletes not invalidating methods 2023-06-20 01:01:24 +02:00
Tinjo Schöni
3e2de9d152
Implement a way to test cache issues 2023-06-20 01:01:23 +02:00
orklah
8e636086b3
put config to true to prevent deprecations for new config files (#9857)
* put config to true to prevent deprecations for new config files
2023-06-19 22:02:29 +02:00
orklah
8ca4110e68
Merge pull request #9930 from orklah/volatile_cache
remove StementsVolatileCache for perf reasons
2023-06-19 22:00:19 +02:00
orklah
f30b4c022d
Merge pull request #9929 from orklah/perf-switch
improve perfs for switch by not creating reverse assertions against constants
2023-06-19 21:56:59 +02:00
orklah
da8c1da8be remove StementsVolatileCache for perf reasons 2023-06-19 21:44:00 +02:00
orklah
1b571a1649 improve perfs for switch by not creating reverse assertions against constants 2023-06-19 21:24:46 +02:00
orklah
2e8d575543
Merge pull request #9924 from kkmuffme/compressor-configurable-lz4-deflate-off-only
make compressor configurable v2
2023-06-18 20:34:49 +02:00
kkmuffme
9d1558b3ca make compressor configurable
Fix https://github.com/vimeo/psalm/issues/9905
Suppress throws for igbinary_unserialize like it was done for @unserialize
2023-06-18 20:22:02 +02:00
orklah
e2dde5d200
Merge pull request #9922 from robchett/elseif_shouldnt_be_modifying_outer_scope
Don't update types of the outer scope when in an elseif conditional
2023-06-18 11:00:16 +02:00
orklah
b5159517ce
Merge pull request #9920 from robchett/CoreGenericAttributes
Add a stub file for Attributes defined by PHP
2023-06-17 22:11:26 +02:00
orklah
c2c5b25fdf
Merge pull request #9921 from robchett/improve_type_of__LINE__
set type of  __LINE__ to positive int
2023-06-17 22:10:59 +02:00
robchett
620c7cd68a Fix bug surfaced from removal of elseif scope modification 2023-06-17 15:02:31 +01:00
robchett
4600d2b224 Fix line lenght 2023-06-17 14:13:04 +01:00
robchett
7792b6c36c Don't update types of the outer scope when in an elseif conditional 2023-06-17 13:36:29 +01:00
robchett
5fc48bbb62 Add a stub file for Attributes defined by PHP 2023-06-17 12:26:56 +01:00
robchett
721b65ce2f Add Type::getIntRange 2023-06-17 12:24:09 +01:00
robchett
338b50a959 Change __LINE__ to a positive-int 2023-06-17 12:24:09 +01:00
orklah
eb64a471c4
Merge pull request #9903 from ygottschalk/fix/9827-union-empty-array-and-false
Fixes #9827
2023-06-15 21:19:44 +02:00
orklah
70795bc8c6
Merge pull request #9916 from kkmuffme/slightly-improve-preg-performance
docblock parser minor performance gain
2023-06-15 21:18:53 +02:00
kkmuffme
16aaa3ae2b regex cleanup 2023-06-13 22:07:51 +02:00
kkmuffme
d4732f118e fix minor trim bug in original code and small speed up 2023-06-13 22:04:39 +02:00
kkmuffme
e75d514ada speed up on unix 2023-06-13 21:55:43 +02:00
kkmuffme
9a4d7aa719 additional gains 2023-06-13 21:52:03 +02:00
kkmuffme
3f3890382b replace all at once 2023-06-13 21:19:52 +02:00
kkmuffme
5ac3ed08df additional ones 2023-06-13 20:37:33 +02:00
kkmuffme
394a40b0f7 remove preg, minor performance gain (up to 1%) 2023-06-13 20:29:20 +02:00
orklah
49c6f31071
Merge pull request #9915 from kkmuffme/fix-psalm-6-warning-findUnusedCode
fix CI warnings for findUnusedCode in psalm 6
2023-06-13 18:24:53 +02:00
kkmuffme
51fd63cfbb fix CI warnings 2023-06-13 16:59:25 +02:00
orklah
2c50745d8f
Merge pull request #9904 from kkmuffme/sprintf-additional-validations-and-bugfix
Sprintf additional validations and bugfix
2023-06-12 20:03:29 +02:00
kkmuffme
8a8aeb6452 fix tests 2023-06-12 19:44:22 +02:00