Bruce Weirdan
|
6abce3525a
|
Enforce use sort (#5900)
|
2021-06-07 22:55:21 -04:00 |
|
Matt Brown
|
ccd50fdb34
|
Fix ##5795 - array casts should always be lists
|
2021-05-19 15:17:50 -04: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 |
|
Bruce Weirdan
|
8be77aaa2e
|
Track variable usage in bool to int casts (#5349)
Fixes vimeo/psalm#4956
|
2021-03-11 00:08:32 -05:00 |
|
Matt Brown
|
0f2a07a9a3
|
Fix #5137 – support @psalm-flow in methods
|
2021-01-31 22:40:48 -05:00 |
|
orklah
|
62d5ea83a1
|
Allow int casts if the type comes from calculation (#4768)
|
2020-12-03 23:15:07 -05:00 |
|
Matt Brown
|
2f00500c91
|
Improve message
|
2020-12-02 22:08:14 -05:00 |
|
Matt Brown
|
e7f9ce6da0
|
Break out RedundantCast issues
|
2020-12-01 17:25:45 -05:00 |
|
orklah
|
b6a3282589
|
Detect redundant cast (#4695)
* detect redundant cast
* fix redundant cast issues
* fix redundant cast in tests
|
2020-11-25 12:04:48 -05:00 |
|
Matt Brown
|
f0ae0e5cb4
|
Break aparat type combiner
|
2020-11-21 18:11:29 -05:00 |
|
Matt Brown
|
5c784dc7cb
|
Fix #4435 - ensure casts are always flow-sensitive
|
2020-10-28 14:06:05 -04:00 |
|
Matt Brown
|
724b25b918
|
Change control_flow_graph to data_flow_graph
|
2020-10-13 17:28:12 -04:00 |
|
Matt Brown
|
127e66df65
|
Elevate trait mismatch issues in PHP 8.0
|
2020-10-03 22:59:43 -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 |
|
Brown
|
56cddd16bf
|
Rename TaintGraph to ControlFlowGraph because it’s about to do more
|
2020-09-20 23:59:52 -04:00 |
|
Brown
|
2968b3b065
|
Add to StatementsAnalyzer taint object instead of Context
|
2020-09-20 18:42:21 -04:00 |
|
Brown
|
abb9502921
|
Rename Taint object to TaintGraph
|
2020-09-20 18:27:02 -04:00 |
|
Brown
|
92239add4d
|
Add some backwards-incompatible changes for 4.x
|
2020-08-30 11:44:14 -04:00 |
|
Brown
|
f6e2e0a84a
|
Perform string casting for taints in ArgumentAnalyzer
|
2020-06-29 13:21:33 -04:00 |
|
Brown
|
45c21853e5
|
Fix #3709 - don’t crash on inherited __toString tainting
|
2020-06-29 12:11:11 -04:00 |
|
Brown
|
aab90fb74e
|
Fix Psalm errors
|
2020-06-29 09:29:19 -04:00 |
|
Brown
|
38977d797e
|
Fix #3697 - cast types via implied __toString method
|
2020-06-29 09:13:19 -04:00 |
|
Matthew Brown
|
187b944680
|
Add faster taint analysis
|
2020-05-22 12:33:29 -04:00 |
|
Brown
|
b5ae0167a2
|
Fix typo
|
2020-05-19 14:58:53 -04:00 |
|
Brown
|
b38d945b12
|
Cast null and false to empty string
Ref #3408
|
2020-05-19 14:53:06 -04:00 |
|
Brown
|
8e5b330c5a
|
Break apart CallAnalyzer
|
2020-05-18 22:57:00 -04:00 |
|
Brown
|
ea0a99d3a8
|
Fix bad merge
|
2020-05-18 16:02:10 -04:00 |
|
Brown
|
5ee1487a01
|
Make ExpressionAnalyzer more beautiful
|
2020-05-18 15:13:27 -04:00 |
|