Bruce Weirdan
|
0c77ccc238
|
Check whether constructor is internal on new call (#5843)
Fixes vimeo/psalm#5841
|
2021-05-28 09:44:07 -04:00 |
|
Ian Dunn
|
2a5afe3d03
|
Docs: Correct beeing typo (#5840)
|
2021-05-28 09:43:36 -04:00 |
|
orklah
|
276d355ebb
|
fix issue reporting when baseline already exists (#5838)
|
2021-05-28 09:43:15 -04:00 |
|
Oliver Hader
|
b259296457
|
[BUGFIX] Continue processing psalm-flow graph after first taint sink (#5832)
Related: #5830
|
2021-05-26 16:04:22 -04:00 |
|
Oliver Hader
|
4898cd262e
|
[TASK] Enrich taint details for outputting core stubs (#5827)
Affects `printf`, `print_r`, `var_dump`, `var_export`
|
2021-05-24 16:42:18 -04:00 |
|
Matt Brown
|
38c452ae58
|
Add example given in ticket and ensure that works too
|
2021-05-24 00:09:51 -04:00 |
|
Matt Brown
|
c258303f78
|
Fix test
|
2021-05-23 22:03:43 -04:00 |
|
Matt Brown
|
8f333337cb
|
Fix #5804 - don’t choke on conditional return types when converting to callables
|
2021-05-23 21:41:07 -04:00 |
|
orklah
|
67413c88f9
|
fix #5797 (#5822)
|
2021-05-23 19:12:02 -04:00 |
|
orklah
|
aaab522a98
|
update baseline and fix issues (#5821)
|
2021-05-23 16:49:46 -04:00 |
|
orklah
|
de1bb954cf
|
Handle the case where a switch return on each case (#5819)
* Handle the case where a switch return on each case
* introduce a "hybrid" case exit type for cases where there's both "none" and something else
|
2021-05-23 16:24:29 -04:00 |
|
Matt Brown
|
7354ec9903
|
Fix #5298 - improve handling of method that may write properties
|
2021-05-23 16:22:52 -04:00 |
|
orklah
|
350df114f3
|
Transform bad offsets (#5817)
* Transform bad offset access
* fix build
|
2021-05-23 14:43:30 -04:00 |
|
Matt Brown
|
d1262b0bec
|
Fix #5799 — improve expansion of templated types
|
2021-05-23 14:39:59 -04:00 |
|
orklah
|
89f815ff62
|
Add assertions for >=0 (#5815)
|
2021-05-23 14:24:15 -04:00 |
|
Matt Brown
|
938afc5aea
|
Allow union of 0|positive-int to bypass PossiblyUndefinedIntArrayOffset error
|
2021-05-23 13:59:40 -04:00 |
|
Fran Moreno
|
e89f7e3960
|
Add mongodb Cursor and CursorInterface stubs and fix WriteConcern::__construct (#5813)
* Add mongodb Cursor and CursorInterface stubs
* Use proper variable name
* Update WriteConcern constructor
Based on https://www.php.net/manual/es/mongodb-driver-writeconcern.construct.php
|
2021-05-22 19:03:07 -04:00 |
|
orklah
|
c69cf9a849
|
Allow empty-string in first position of an type (#5814)
|
2021-05-22 12:36:02 -04:00 |
|
Matt Brown
|
6a61298074
|
Fix #5810 - detect properties that are never read
|
2021-05-21 09:25:57 -04:00 |
|
Matt Brown
|
4f9067f5c8
|
Fix unused properties in Psalm’s own codebase
|
2021-05-21 09:15:23 -04:00 |
|
orklah
|
4d6be66d98
|
Prioritize TCallableString handling to avoid simpler checks for TLowercaseString vs TString (#5811)
|
2021-05-21 07:44:26 -04:00 |
|
Matt Brown
|
4b17cc9a4b
|
Fix #5809 - remove unnecessary issue suppression
|
2021-05-21 07:35:01 -04:00 |
|
yoshifp
|
110c9ef4e1
|
Fix typo in configuration.md (#5805)
|
2021-05-20 10:58:17 -04:00 |
|
Matt Brown
|
964c91c502
|
Fix skipped test
|
2021-05-20 10:57:25 -04:00 |
|
Matt Brown
|
3a811f1fb5
|
Fix/suppress failures
|
2021-05-19 15:30:36 -04:00 |
|
still-dreaming-1
|
ecb4ca8730
|
strlen can return positive-int (#5793)
|
2021-05-19 15:20:56 -04:00 |
|
Matt Brown
|
bbbde2ffa1
|
Fix empty line
|
2021-05-19 15:20:28 -04:00 |
|
Matt Brown
|
ccd50fdb34
|
Fix ##5795 - array casts should always be lists
|
2021-05-19 15:17:50 -04:00 |
|
orklah
|
f62b83a190
|
Assert intersection type when two variables are compared (#5774)
|
2021-05-18 16:14:58 -04:00 |
|
Matt Brown
|
3c43bc1522
|
Fix #5789 - prevent incorrect return type inference when all cases return
|
2021-05-18 08:52:41 -04:00 |
|
pawel-slowik
|
d82f02879c
|
Don't migrate virtual nodes (#5780)
* Add a failing test for issue #5002
* Don't try to migrate virtual nodes
Fixes #5002
|
2021-05-17 22:21:32 -04:00 |
|
Matt Brown
|
9eda9f9bbf
|
Fix cs
|
2021-05-17 19:44:55 -04:00 |
|
still-dreaming-1
|
a62ee22adb
|
htmlspecialchars can return non-empty-string (#5785)
|
2021-05-17 19:43:08 -04:00 |
|
Matt Brown
|
21456f51e6
|
Only call ScopeAnalyzer once on whole function body
|
2021-05-17 18:52:25 -04:00 |
|
Matt Brown
|
787c0f30d6
|
Fix #5784 - only real-asserted variables from context knowledge
Any assertions added in the addNestedAssertions method should not illegitimise current knowledge
|
2021-05-17 15:11:27 -05:00 |
|
Matt Brown
|
836587ec1d
|
Fix combination of end states with never
|
2021-05-17 12:35:27 -05:00 |
|
orklah
|
ff0c1ce567
|
update hardcoded Psalm version (#5783)
* change hardcoded Psalm version to something more recent
* change hardcoded Psalm version to something more recent
|
2021-05-17 08:27:08 -05:00 |
|
Matt Brown
|
9635ca620c
|
Correctly interpret continue 2 in nested loops
|
2021-05-17 08:26:38 -05:00 |
|
orklah
|
4c4d574bed
|
better inference of string increment (#5777)
* better inference of string increment
* fix combination
|
2021-05-17 07:44:53 -05:00 |
|
Matt Brown
|
f6bdeb6234
|
Fix switch-with-continue bug
|
2021-05-17 07:27:58 -05:00 |
|
olsavmic
|
2f6d2e8ef7
|
Fix CS (#5781)
|
2021-05-17 07:27:46 -05:00 |
|
orklah
|
6501ca7b95
|
Redundant cast to Int preserve type (#5773)
* Redundant cast to Int preserve type
* add test
|
2021-05-15 07:19:18 -04:00 |
|
Matt Brown
|
1195335078
|
Fix #5768 - call methods with proper params
|
2021-05-14 22:50:11 -04:00 |
|
Samuel Parkinson
|
264c454ad0
|
Add issue link to GitHub Actions report (#5759)
If an issue link is available, include it in the annotations on GitHub.
|
2021-05-14 20:24:19 -04:00 |
|
orklah
|
55079e92fe
|
Mixed contains everything (#5763)
|
2021-05-14 20:23:54 -04:00 |
|
olsavmic
|
4fb2b65164
|
Fix ArrayFillReturnTypeProvider - consider second param (#5770)
Add test
Fix
|
2021-05-14 20:12:39 -04:00 |
|
Matt Brown
|
5f780e7ef7
|
Improve count inference
|
2021-05-14 20:12:28 -04:00 |
|
Matt Brown
|
c4aea7c82c
|
Fix #5434 - prevent crash with class-string-map
|
2021-05-14 19:44:11 -04:00 |
|
orklah
|
1bb4a05725
|
NullsafeMethodCall makes the variable not null for the rest of the scope (#5771)
|
2021-05-14 19:21:01 -04:00 |
|
orklah
|
0b96f40198
|
quote offset value (#5760)
|
2021-05-14 17:19:23 -04:00 |
|