1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 19:07:00 +01:00
psalm/src/Psalm/Internal/Analyzer/Statements/Expression
Joe Hoyle 4bb675ea72
Pass CodeLocation to FunctionParamsProviderInterface interface (#4444)
Currently the `getFunctionParams()` method of the `FunctionParamsProviderInterface` is never passed the CodeLocation of the analyzed function call. As this is in-scope in the only call site, we can pass the CodeLocation. This means the `getFunctionParams()` is able to issue it's own Issues (which required the code location to attached the Issue to)
2020-10-29 19:53:21 -04:00
..
Assignment Misc improvements (#4314) 2020-10-15 13:23:35 -04:00
BinaryOp Improve binary op || analysis for chain 2020-10-17 17:16:47 -04:00
Call Pass CodeLocation to FunctionParamsProviderInterface interface (#4444) 2020-10-29 19:53:21 -04:00
Fetch Fix default value 2020-10-15 13:20:42 -04:00
ArrayAnalyzer.php Change control_flow_graph to data_flow_graph 2020-10-13 17:28:12 -04:00
AssertionFinder.php Fix #4414 - allow multiple @psalm-assert-if-true on same var 2020-10-25 10:49:39 -04:00
AssignmentAnalyzer.php Fix #4336 - don’t merge sources twice for null coalesce 2020-10-15 09:57:37 -04:00
BinaryOpAnalyzer.php Change control_flow_graph to data_flow_graph 2020-10-13 17:28:12 -04:00
BitwiseNotAnalyzer.php Make ExpressionAnalyzer more beautiful 2020-05-18 15:13:27 -04:00
BooleanNotAnalyzer.php 4.x - refactor unused variable detection 2020-09-30 12:28:13 -04:00
CallAnalyzer.php Use lists everywhere for args 2020-10-28 12:45:26 -04:00
CastAnalyzer.php Fix #4435 - ensure casts are always flow-sensitive 2020-10-28 14:06:05 -04:00
CloneAnalyzer.php Allow cloning interfaces 2020-07-01 11:14:31 -04:00
EmptyAnalyzer.php add native return types (#4116) 2020-09-04 16:26:33 -04:00
EncapsulatedStringAnalyzer.php Change control_flow_graph to data_flow_graph 2020-10-13 17:28:12 -04:00
EvalAnalyzer.php Change control_flow_graph to data_flow_graph 2020-10-13 17:28:12 -04:00
ExitAnalyzer.php Change control_flow_graph to data_flow_graph 2020-10-13 17:28:12 -04:00
ExpressionIdentifier.php add native param types (#4137) 2020-09-06 19:36:47 -04:00
IncDecExpressionAnalyzer.php Misc improvements (#4314) 2020-10-15 13:23:35 -04:00
IncludeAnalyzer.php Change control_flow_graph to data_flow_graph 2020-10-13 17:28:12 -04:00
InstanceofAnalyzer.php 4.x - refactor unused variable detection 2020-09-30 12:28:13 -04:00
IssetAnalyzer.php More return types (#4173) 2020-09-12 11:24:05 -04:00
MagicConstAnalyzer.php __TRAIT__ can be string or non-empty-string (#3469) 2020-05-27 19:23:46 -04:00
MatchAnalyzer.php unused use statements (#4228) 2020-09-22 01:10:46 -04:00
NullsafeAnalyzer.php Misc improvements (#4314) 2020-10-15 13:23:35 -04:00
PrintAnalyzer.php Change control_flow_graph to data_flow_graph 2020-10-13 17:28:12 -04:00
SimpleTypeInferer.php param types (#4313) 2020-10-12 15:46:47 -04:00
TernaryAnalyzer.php Misc improvements (#4314) 2020-10-15 13:23:35 -04:00
UnaryPlusMinusAnalyzer.php Make ExpressionAnalyzer more beautiful 2020-05-18 15:13:27 -04:00
YieldAnalyzer.php Break apart InstancePropertyFetchAnalyzer and others 2020-10-15 09:21:44 -04:00
YieldFromAnalyzer.php Add some backwards-incompatible changes for 4.x 2020-08-30 11:44:14 -04:00