Brown
|
067104e170
|
Fix #3084 - keep track of upper and lower bounds of inferred template types
|
2020-04-07 00:13:56 -04:00 |
|
Matthew Brown
|
b01bc9ab12
|
Fix union-of-mixed array key creation
|
2020-02-22 21:13:14 -05:00 |
|
Matthew Brown
|
4dae5b3190
|
Prevent more mixed array keys
|
2020-02-22 20:52:39 -05:00 |
|
Matthew Brown
|
6ad3d039df
|
Prevent more array<mixed,...> creation
|
2020-02-22 12:12:40 -05:00 |
|
Matthew Brown
|
9fa2db1b6c
|
Move Union::getTypes to Union::getAtomicTypes
|
2020-01-04 12:20:26 -05:00 |
|
Matthew Brown
|
55c2f7faa2
|
Fix #2508 - don’t replace templated types with generic ones inside own function
|
2019-12-28 18:38:02 -05:00 |
|
Matthew Brown
|
068afa09d3
|
Add very basic implementation for class-string-map
Fixes #1969
|
2019-12-27 12:49:28 -05:00 |
|
Matthew Brown
|
2f2cd85a6a
|
Identify invalid static property array assignment
|
2019-12-27 10:34:51 -05:00 |
|
Matthew Brown
|
ee35db5a3b
|
Refine assignment somewhat
|
2019-12-22 12:43:57 +00:00 |
|
Matthew Brown
|
141bfd313f
|
Improve handling of assignments in arrays
|
2019-12-22 12:36:16 +00:00 |
|
Matthew Brown
|
cc3df7d6be
|
Remove errant comma
|
2019-12-18 23:50:57 +00:00 |
|
Matthew Brown
|
af28d650f3
|
Fix #2408 - existing offsets checked with isset should be valid
|
2019-12-18 23:48:25 +00:00 |
|
Brown
|
2469f04715
|
Improve reconciliation of arrays with constant offsets
|
2019-12-13 17:17:14 -05:00 |
|
Brown
|
0bcb7863f3
|
Use better system for storing inferred types and assertions
|
2019-11-25 11:44:54 -05:00 |
|
Brown
|
7516b7b0cf
|
Fix #2336 - detect used variable in mixed array offset
|
2019-11-13 13:38:34 -05:00 |
|
Brown
|
895737d8be
|
Fix style
|
2019-11-08 12:49:53 -05:00 |
|
Brown
|
ac6256e645
|
Fix #2312, improve understanding of template replacement
|
2019-11-08 11:56:41 -05:00 |
|
Matthew Brown
|
d7e435c352
|
Add slashes
|
2019-11-05 19:08:16 -05:00 |
|
Matthew Brown
|
050045209f
|
Only allow string offset assignment when offset is integer
|
2019-11-05 19:05:43 -05:00 |
|
Matthew Brown
|
cbaf050bd2
|
Fix #2307 - allow setting of array string offset
|
2019-11-05 19:03:59 -05:00 |
|
Matthew Brown
|
7e2d00d6ed
|
Allow taints to be added to root array types
|
2019-10-12 12:23:40 -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
|
16c33d1565
|
Add support for list type
Fixes #2209
|
2019-10-08 18:44:46 -04:00 |
|
Brown
|
549aee47f1
|
Fix bug asserting array emptiness
|
2019-10-03 15:27:55 -04:00 |
|
Brown
|
095ea1a554
|
Properly clone array when changing value
|
2019-08-27 17:00:00 -04:00 |
|
Matthew Brown
|
c5f62d261d
|
Remove redundant @psalm-suppress in Psalm’s codebsae
|
2019-08-18 16:10:12 -04:00 |
|
Matthew Brown
|
d0f6f85dba
|
Fix #1899 - detect dead code after array assignment
|
2019-07-04 16:38:31 -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 |
|
Brown
|
8f1dbc072d
|
Allow empty offset sets on arrayaccess objects
|
2019-04-10 17:25:25 -04:00 |
|
Matthew Brown
|
ef8292cfc7
|
Fix #1510 - analyse mixed array offsets
|
2019-03-31 15:42:15 -04:00 |
|
Brown
|
2054e3753f
|
Fix #1260 - improve handling of ArrayAccess assignment
|
2019-01-31 12:45:47 -05:00 |
|
Brown
|
c195e8fd21
|
Add more nuanced analysis of array access fetch
|
2019-01-30 15:40:37 -05:00 |
|
Matthew Brown
|
9d8c2792e2
|
Add array-key type and improve general type handling
Fixes #1144
|
2019-01-05 00:15:53 -05:00 |
|
Brown
|
fb848d62e9
|
Add checks for if (count($a)) and if (count($a) [operator] [number])
|
2018-12-19 16:15:19 -05:00 |
|
Brown
|
8e5e3564bc
|
Fix erroneous redundant condition warning
|
2018-12-19 16:10:09 -05:00 |
|
Matthew Brown
|
ea89a6ba29
|
Revert "First pass"
This reverts commit 9ed047234f .
|
2018-12-19 08:45:14 -05:00 |
|
Matthew Brown
|
9ed047234f
|
First pass
|
2018-12-19 01:59:14 -05:00 |
|
Matthew Brown
|
fd0ab47b80
|
Fix #1118 - detect possible issues with unions of mixed
|
2018-12-08 13:18:55 -05:00 |
|
Matthew Brown
|
b32000fa05
|
Fix #689 - add checks for @internal annotations
|
2018-12-01 18:37:49 -05:00 |
|
Brown
|
e7b63a86a6
|
Differentiate between types merged in a write context vs types merged in return
|
2018-11-28 10:41:49 -05:00 |
|
Matthew Brown
|
4d79b61e93
|
Change _checker to _analyzer
|
2018-11-12 11:20:59 -05:00 |
|
Matthew Brown
|
4688b25fd9
|
Move internal classes to own namespace
|
2018-11-12 11:20:59 -05:00 |
|