Brown
|
f97a8f0d5b
|
Use more accurate way to determine list size
|
2019-11-26 16:34:19 -05:00 |
|
Brown
|
0bcb7863f3
|
Use better system for storing inferred types and assertions
|
2019-11-25 11:44:54 -05:00 |
|
Brown
|
96586f16c0
|
Fix phpcs issues
|
2019-11-11 10:11:42 -05:00 |
|
Brown
|
af5f83602e
|
Break out more specific possibly defined offset errors
|
2019-11-11 09:59:56 -05:00 |
|
Matthew Brown
|
5910a362ea
|
Improve report output of taint analysis
|
2019-10-19 17:59:10 -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 |
|
Matthew Brown
|
03c39cbe7c
|
Fix #2223 - make sure lists are handled in more places
|
2019-10-10 20:16:43 -04:00 |
|
Brown
|
b75720c32b
|
Add more list types
|
2019-10-09 10:04:34 -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
|
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
|
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
|
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 |
|
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
|
d27935d109
|
Improve accuracy around array addition
|
2019-09-08 10:23:12 -04:00 |
|
Brown
|
aba3659311
|
Add more specific key coercion rules when assigning to arrays
|
2019-08-27 15:12:25 -04:00 |
|
Brown
|
4db8ca6a1d
|
Cleanup extra issues from recent fixes
|
2019-08-27 14:16:34 -04:00 |
|
Brown
|
3b865f6509
|
Fix #2048 - allow mixed array to be assigned specific string keys
|
2019-08-27 10:18:58 -04:00 |
|
Matthew Brown
|
1b983babd0
|
Allow unset of potentially invalid array key type
|
2019-08-18 18:06:41 -04:00 |
|
Matthew Brown
|
600999a3a8
|
Add better typing
|
2019-08-14 00:47:57 -04:00 |
|
Brown
|
c3949e3194
|
Improve taint protection for exec-related commands
|
2019-08-13 19:18:50 -04:00 |
|
Matthew Brown
|
d5b026839c
|
Add support for different taint types ref #1990
|
2019-08-12 23:16:05 -04:00 |
|
Matthew Brown
|
b2c0993cdc
|
Add framework for taint analysis to Psalm
Ref #611
|
2019-08-04 10:37:36 -04:00 |
|
Matthew Brown
|
1ae9ea5fed
|
Use object instead of by-ref params
|
2019-07-10 01:35:57 -04:00 |
|
LeSuisse
|
f29826b958
|
Fully qualify constants and function calls (#1849)
This should give a small performance boost.
Part of #1837.
The change is enforced via phpcs and can be autofixed
with phpcbf.
|
2019-06-26 16:52:29 -04:00 |
|
Matthew Brown
|
b0678bdc74
|
Improve treatment of key-of
Ref #1698
|
2019-06-07 21:27:50 -04:00 |
|
Brown
|
cf02e9c22c
|
Fix access on matched T[K]
|
2019-05-27 18:36:34 -04:00 |
|
Matthew Brown
|
574545e149
|
Add initial support for key-of<T>
Ref #762
|
2019-05-23 23:53:48 -04:00 |
|
Brown
|
56daa390fc
|
Allow array access on @template T as array
Ref #1607
|
2019-05-23 18:06:22 -04:00 |
|
Brown
|
9b75683796
|
Search better, and avoid fatal error
|
2019-05-09 19:34:38 -04:00 |
|
Brown
|
0e4c8ce482
|
Split apart TypeCoercion issues, allowing more granular issue filtering
|
2019-04-25 18:02:19 -04:00 |
|
Brown
|
8f1dbc072d
|
Allow empty offset sets on arrayaccess objects
|
2019-04-10 17:25:25 -04:00 |
|
Matthew Brown
|
ee56419fd6
|
Improve accuracy and durability of mixed counts
|
2019-03-23 09:50:47 -04:00 |
|
Brown
|
85f34f2aca
|
Add defining class and increas string length
|
2019-03-12 12:58:04 -04:00 |
|
Matthew Brown
|
95b986d2d4
|
Fix #1367 - allow assertions on mixed arrays to define objectlike type
|
2019-03-10 23:38:30 -04:00 |
|
Matthew Brown
|
82e6876011
|
Fix #1397 - fix get_class behaviour for new instances
|
2019-03-02 18:02:11 -05:00 |
|
Matthew Brown
|
b310cc07b5
|
Array access on objects should always be treated as method call
|
2019-02-26 21:24:30 -05:00 |
|
bugreportuser
|
7f7125f334
|
Fix crash for empty string array access
|
2019-02-25 08:26:12 -05:00 |
|
Matthew Brown
|
1c8a573b5f
|
Change TGenericParam to TTemplateParam
|
2019-02-21 21:40:06 -05:00 |
|
Brown
|
348b8eef1f
|
Fix #1366 - don’t complain about invalid array offset when possibly mixed
|
2019-02-19 11:42:24 -05:00 |
|
Bruce Weirdan
|
8408effe57
|
Dropped unused uses
|
2019-02-17 13:17:45 -05:00 |
|
Matthew Brown
|
ed4ed957c8
|
Use more specific templated argument
|
2019-02-07 15:21:34 -05:00 |
|
Brown
|
2054e3753f
|
Fix #1260 - improve handling of ArrayAccess assignment
|
2019-01-31 12:45:47 -05:00 |
|