Brown
|
8876499ddd
|
Fix #2252 - allow destructuring of ArrayAccess objects
|
2019-10-22 11:17:42 -04:00 |
|
Brown
|
353cf2351e
|
Fix #2259 - if error suppression is use, list destructuring values will be nullable
|
2019-10-22 10:40:37 -04:00 |
|
Tyson Andre
|
94636476d2
|
Fix checking if union type with mixed is nullable (#2253)
Fixes #2249
|
2019-10-20 17:06:59 -04:00 |
|
Matthew Brown
|
22e35a7233
|
Improve message for mixed method call
|
2019-10-20 11:13:23 -04:00 |
|
Matthew Brown
|
0a35c9cd6a
|
Remove unnecessary computation
|
2019-10-19 23:03:59 -04:00 |
|
Matthew Brown
|
5910a362ea
|
Improve report output of taint analysis
|
2019-10-19 17:59:10 -04:00 |
|
Matthew Brown
|
9115ffd237
|
Fix #2215 - refine closure type if it doesn’t clash
|
2019-10-15 20:34:41 -04:00 |
|
Brown
|
b29227aaf6
|
Allow taints to be removed via annotation
|
2019-10-15 16:25:27 -04:00 |
|
Brown
|
22a12444df
|
Fix #2220 - detect destructuring of non-array
|
2019-10-15 13:55:30 -04:00 |
|
Brown
|
5e649f684c
|
Fix erroneous return type resolution
|
2019-10-14 17:10:30 -04:00 |
|
Matthew Brown
|
8c6b234c2c
|
Improve speed of taint analysis
|
2019-10-13 20:10:31 -04:00 |
|
Matthew Brown
|
7e2d00d6ed
|
Allow taints to be added to root array types
|
2019-10-12 12:23:40 -04:00 |
|
Matthew Brown
|
e5623e9257
|
Fix function call
|
2019-10-11 23:33:36 -04:00 |
|
Matthew Brown
|
4478d31593
|
Taint arrays in creation
|
2019-10-11 23:28:17 -04:00 |
|
Brown
|
3f837a3493
|
Fix #2192 - allow static return value on templated object
|
2019-10-11 12:02:41 -04:00 |
|
Matthew Brown
|
7857b07f91
|
Fix list-could-be-array issue
|
2019-10-11 08:24:35 -04:00 |
|
Matthew Brown
|
03c39cbe7c
|
Fix #2223 - make sure lists are handled in more places
|
2019-10-10 20:16:43 -04:00 |
|
Brown
|
cc9a925e84
|
Allow list to be coerced to callable
|
2019-10-10 10:26:13 -04:00 |
|
Brown
|
54d5a25077
|
Remove known array offsets after altering array
|
2019-10-09 10:36:55 -04:00 |
|
Brown
|
b75720c32b
|
Add more list types
|
2019-10-09 10:04:34 -04:00 |
|
Brown
|
0b0534d41b
|
Add more list annotations to Psalm’s codebase
|
2019-10-09 09:17:43 -04:00 |
|
Brown
|
2d4a7fbe3e
|
Fix array fetch analysis offset
|
2019-10-08 19:01:00 -04:00 |
|
Brown
|
16c33d1565
|
Add support for list type
Fixes #2209
|
2019-10-08 18:44:46 -04:00 |
|
Brown
|
94001aad4a
|
Fix #2208 - handle templated property types appropriately
|
2019-10-04 13:51:36 -04:00 |
|
Brown
|
b0aaede9e1
|
Add support for checking integer array offsets
|
2019-10-04 11:08:08 -04:00 |
|
Matthew Brown
|
d85fbaec09
|
Add stricter checks after first isset
|
2019-10-03 21:34:56 -04:00 |
|
Brown
|
549aee47f1
|
Fix bug asserting array emptiness
|
2019-10-03 15:27:55 -04:00 |
|
Brown
|
d225374d6d
|
Fix #2156 - do better inference after isset
|
2019-10-01 19:31:08 -04:00 |
|
Brown
|
a81c3067ad
|
Store the whole type
|
2019-10-01 17:09:32 -04:00 |
|
Brown
|
f8f8b633b1
|
Suppress a bunch of PossiblyUndefinedArrayOffset issues
|
2019-10-01 15:44:43 -04:00 |
|
Matthew Brown
|
9f10564184
|
Add another array addition check
|
2019-10-01 09:13:31 -04:00 |
|
Matthew Brown
|
95c7b986c2
|
Fix formatting
|
2019-10-01 08:46:37 -04:00 |
|
Matthew Brown
|
2ffdf1bacc
|
Fix undefined numeric offset
|
2019-10-01 08:45:36 -04:00 |
|
Matthew Brown
|
f8a2eae0e2
|
Fix #2186 - use expanded class name for aliased class
|
2019-09-30 22:15:48 -04:00 |
|
Matthew Brown
|
a9d0296252
|
Fix #2182 - allow modification to cloned objects inside
|
2019-09-30 22:07:20 -04:00 |
|
Matthew Brown
|
14adc9b491
|
Fix phpcs
|
2019-09-29 16:04:32 -04:00 |
|
Matthew Brown
|
4ec22cffca
|
Fix #2184 - execute __invoke methods explicitly
|
2019-09-29 16:01:33 -04:00 |
|
Brown
|
4ff3a5517d
|
Fix typo
|
2019-09-26 17:12:57 -04:00 |
|
Brown
|
cf799d0926
|
Fix #2173 - remove @var annotations automatically
|
2019-09-26 15:08:05 -04:00 |
|
Brown
|
2c9a082b3e
|
Fix #2172 - only complain about missing offset if it’s really missing
|
2019-09-25 19:02:49 -04:00 |
|
Brown
|
648dda67ed
|
Fix Psalm issues
|
2019-09-25 13:12:29 -04:00 |
|
Brown
|
1a48be8e9c
|
Fix #2165 - coerce null array offset to zero
|
2019-09-25 12:17:37 -04:00 |
|
Brown
|
c68dcf2f74
|
Don’t coerce false to null when coming from ignore-false type
|
2019-09-20 15:30:29 -04:00 |
|
Brown
|
be4894c8e0
|
Fix #2155 - coerce false to 0, true to 1 in array offset
|
2019-09-20 15:21:38 -04:00 |
|
Brown
|
f6b0de08f8
|
Remove unnecessary assertion
|
2019-09-19 15:41:44 -04:00 |
|
Brown
|
e6f90ab83f
|
Fix #2146 - check count args length
|
2019-09-19 15:07:49 -04:00 |
|
Brown
|
c5ef2516b5
|
Fix #2150 - add detection for unnecessary @var annotations
And also remove them from codebase
|
2019-09-19 11:59:43 -04:00 |
|
Matthew Brown
|
9ad6c36d9b
|
Conditionally verify that array offsets exist (#2147)
* Check array offsets idea
* Clean up some issues
* Add a few light fixes
* Add docs
|
2019-09-18 14:21:06 -04:00 |
|
Matthew Brown
|
0b4981f01b
|
Fix #1551 - do better at inferring class constant types
|
2019-09-14 14:26:31 -04:00 |
|
Matthew Brown
|
d941294a84
|
Move class const analysis
|
2019-09-14 13:12:54 -04:00 |
|