Matt Brown
|
724b25b918
|
Change control_flow_graph to data_flow_graph
|
2020-10-13 17:28:12 -04:00 |
|
Matt Brown
|
516141a380
|
Rename ControlFlowGraph to more appropriate DataFlowGraph
|
2020-10-13 16:49:03 -04:00 |
|
orklah
|
62e79fb7ea
|
param types (#4313)
|
2020-10-12 15:46:47 -04:00 |
|
orklah
|
10f2966dcb
|
return types (#4311)
* return types
* remove willReturn for void methods
|
2020-10-12 15:02:52 -04:00 |
|
Matt Brown
|
595b8178e0
|
Improve error message
|
2020-10-07 15:36:31 -04:00 |
|
Matt Brown
|
fb604bfacb
|
4.x - move class constants into their own storage object
|
2020-10-05 09:50:32 -04:00 |
|
Matt Brown
|
939297484c
|
4.x - rename TFn to TClosure
|
2020-10-04 23:32:01 -04:00 |
|
Matt Brown
|
5bcd1bbb75
|
4.x - add support for get_debug_type function
Ref #4089
|
2020-10-02 19:15:47 -04:00 |
|
Matt Brown
|
74934ffdbb
|
4.x - rename GetClassT to TDependentGetClass
|
2020-10-02 18:47:23 -04:00 |
|
Matt Brown
|
14efde286f
|
4.x - refactor unused variable detection
This turns unused variable detection into an explicit control-flow problem, where before we had a more simplistic mark-and-sweep algorithm
|
2020-09-30 12:28:13 -04:00 |
|
Brown
|
19f88a2e31
|
Add improvements from unused variable checks
|
2020-09-28 00:45:02 -04:00 |
|
orklah
|
37a2f8a33d
|
unused use statements (#4228)
|
2020-09-22 01:10:46 -04:00 |
|
orklah
|
250fa8e42d
|
misc changes (#4227)
* misc changes
* misc changes
|
2020-09-22 00:44:31 -04:00 |
|
Brown
|
56cddd16bf
|
Rename TaintGraph to ControlFlowGraph because it’s about to do more
|
2020-09-20 23:59:52 -04:00 |
|
orklah
|
1a1b88bb5e
|
add visibilities to constants (#4219)
|
2020-09-20 12:54:46 -04:00 |
|
orklah
|
a9a364e363
|
Misc improvements (#4216)
* misc changes
* fix CI
|
2020-09-20 08:55:28 -04:00 |
|
orklah
|
b19f0a7034
|
Remove empty() and use strict comparison when safe (#4211)
* replace empty usage with stricter checks
* use strict comparison when safe
* replace is_null with === null for consistency
|
2020-09-19 18:26:51 -04:00 |
|
Brown
|
62d43817f6
|
Fix #4206 - add shortcut for if ((bool) $foo)
|
2020-09-19 18:15:12 -04:00 |
|
orklah
|
191495328a
|
Fix errors in return types (#4189)
* FunctionLikeAnalyzer::verifyReturnType returns void
* ArrayFunctionArgumentsAnalyzer::checkArgumentsMatch returns void
* AssertionFinder::scrapeAssertions can't return null
|
2020-09-16 17:35:55 -04:00 |
|
orklah
|
da47588f91
|
replace return; by return null; in every non-void method, add return null; when mising, add return types, remove redundant phpdoc (#4176)
|
2020-09-13 16:39:06 -04:00 |
|
orklah
|
ead107fa9e
|
More return types (#4173)
* add native return types
* redundant phpdoc
|
2020-09-12 11:24:05 -04:00 |
|
Brown
|
eda426a594
|
Improve unique issue solution
|
2020-09-10 22:54:30 -04:00 |
|
Brown
|
9936419263
|
Fix casing
|
2020-09-08 09:11:47 -04:00 |
|
Brown
|
29efab5cc2
|
Fix #4154 - treat literal numeric strings as numeric
|
2020-09-07 23:29:46 -04:00 |
|
Brown
|
4ffdbe0a21
|
Fix some signatures
|
2020-09-07 16:00:27 -04:00 |
|
orklah
|
8c7423505a
|
add native param types (#4137)
* add native param types
* redundant phpdoc
* add more param types and adds "?" to nullable types
* remove redundant phpdoc
* add more param types and remove redundant phpdoc
* add more param types and remove redundant phpdoc
|
2020-09-06 19:36:47 -04:00 |
|
orklah
|
f66d57f19d
|
add native return types (#4116)
* add native return types
* remove redundant phpdoc
|
2020-09-04 16:26:33 -04:00 |
|
orklah
|
73f6fcde48
|
Short list syntax (#4102)
* Short list syntax
* revert unrelated CS
|
2020-09-02 00:17:41 -04:00 |
|
Brown
|
40e88095d8
|
Fix #4093 - prevent redundant condition in presence of positive-int
|
2020-08-31 10:02:23 -04:00 |
|
Brown
|
5759c12fa9
|
Support mixed type natively
|
2020-08-30 13:38:03 -04:00 |
|
Brown
|
92239add4d
|
Add some backwards-incompatible changes for 4.x
|
2020-08-30 11:44:14 -04:00 |
|
Brown
|
63b74276c6
|
Report use of impure closures
|
2020-08-28 13:01:14 -04:00 |
|
Brown
|
efe143a396
|
Fix #4077 - always track closure purity
|
2020-08-28 12:42:55 -04:00 |
|
Brown
|
e9adcb8d35
|
Simplify simplification
|
2020-08-26 16:51:55 -04:00 |
|
Saif Eddin G
|
5a20092fbd
|
add pure-callable type (#4066)
|
2020-08-26 16:51:22 -04:00 |
|
Brown
|
0f18f77d49
|
Fix too-long line
|
2020-08-26 16:27:35 -04:00 |
|
Brown
|
988e17f11d
|
Make clause fully immutable
|
2020-08-26 15:35:29 -04:00 |
|
Brown
|
8ad1c2eeb1
|
Use immutable data structures for clause calculations
|
2020-08-26 10:41:47 -04:00 |
|
Matthew Brown
|
ef0486ce35
|
Add some pure annotations
|
2020-08-23 13:52:31 -04:00 |
|
Matthew Brown
|
50cc3a8afa
|
Align paramter names
|
2020-08-09 23:19:59 -04:00 |
|
Brown
|
38bfc12b98
|
Fix array_shift behaviour to be more accurate with lists
Fixes #3941
|
2020-08-05 12:43:37 -04:00 |
|
Brown
|
7fc4a85534
|
Fix CI
|
2020-08-03 02:45:55 -04:00 |
|
Brown
|
20a9b103ec
|
Restrict narrowing fix
|
2020-08-03 02:20:58 -04:00 |
|
Brown
|
b168777236
|
Fix #3924 - remove descendants after reconciled change
|
2020-08-03 02:06:42 -04:00 |
|
Brown
|
96ce488241
|
Generic key type cannot be undefined
Fixes #3905
|
2020-07-29 18:46:21 -04:00 |
|
Brown
|
7367e8e6c2
|
Allow assertions of non-empty lists on typed lists
Fixes #3906
|
2020-07-29 18:10:43 -04:00 |
|
Brown
|
1b81ce9921
|
Revert string changes
|
2020-07-26 19:55:49 -04:00 |
|
Brown
|
4a5f74c091
|
Add positive-int type
|
2020-07-26 15:51:55 -04:00 |
|
Brown
|
eaae243905
|
Fix #3857 - allow reconciliation on magic properties
|
2020-07-22 09:55:22 -04:00 |
|
Brown
|
7ef3d4711f
|
Fix some more tests
|
2020-07-21 23:16:56 -04:00 |
|