1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 02:47:02 +01:00
psalm/src/Psalm/Internal/Scanner/UnresolvedConstant
AndrolGenhald 9a03598a6d
Improve type resolution of class constants. (#5591)
Handle array plus operator (fixes #5588).
Handle array spread operator.
Improve string concatenation to resolve to literal instead of unknown string.

I feel like it should be possible to let ConstantTypeResolver take advantage of
the better type analysis in ArrayAnalyzer, ConcatAnalyzer, etc, but it would
require a restructuring that's beyond me for the time being.
2021-04-07 21:56:35 -04:00
..
ArrayOffsetFetch.php Add a bunch of immutable & pure annotations 2020-08-24 19:29:00 -04:00
ArraySpread.php Improve type resolution of class constants. (#5591) 2021-04-07 21:56:35 -04:00
ArrayValue.php Improve type resolution of class constants. (#5591) 2021-04-07 21:56:35 -04:00
ClassConstant.php Add a bunch of immutable & pure annotations 2020-08-24 19:29:00 -04:00
Constant.php Add a bunch of immutable & pure annotations 2020-08-24 19:29:00 -04:00
KeyValuePair.php Add a bunch of immutable & pure annotations 2020-08-24 19:29:00 -04:00
ScalarValue.php Add a bunch of immutable & pure annotations 2020-08-24 19:29:00 -04:00
UnresolvedAdditionOp.php Add a bunch of immutable & pure annotations 2020-08-24 19:29:00 -04:00
UnresolvedBinaryOp.php Add a bunch of immutable & pure annotations 2020-08-24 19:29:00 -04:00
UnresolvedBitwiseAnd.php support shift and bitwise operations in constants (#4740) 2020-11-29 21:43:49 -05:00
UnresolvedBitwiseOr.php Add a bunch of immutable & pure annotations 2020-08-24 19:29:00 -04:00
UnresolvedBitwiseXor.php support shift and bitwise operations in constants (#4740) 2020-11-29 21:43:49 -05:00
UnresolvedConcatOp.php Add a bunch of immutable & pure annotations 2020-08-24 19:29:00 -04:00
UnresolvedDivisionOp.php Add a bunch of immutable & pure annotations 2020-08-24 19:29:00 -04:00
UnresolvedMultiplicationOp.php Add a bunch of immutable & pure annotations 2020-08-24 19:29:00 -04:00
UnresolvedSubtractionOp.php Add a bunch of immutable & pure annotations 2020-08-24 19:29:00 -04:00
UnresolvedTernary.php Add a bunch of immutable & pure annotations 2020-08-24 19:29:00 -04:00