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
erikjwaxx 25d8c6d21e
Narrow inference of $a <=> $b from "int" to "-1|0|1" (#4680)
* A <=> operator has a literal type of -1|0|1 and not simply int

* Test to verify inferred type of $a <=> $b is -1|0|1
2020-11-23 13:10:51 -05:00
..
Assignment Unfix fixes 2020-11-18 19:19:07 -05:00
BinaryOp null operations should return mixed results (#4655) 2020-11-22 09:06:03 -05:00
Call Fix bug 2020-11-22 23:32:14 -05:00
Fetch Unused psalm-suppress (#4646) 2020-11-21 17:39:40 -05:00
ArrayAnalyzer.php Break aparat type combiner 2020-11-21 18:11:29 -05:00
AssertionFinder.php Fix #4637 - prevent regression when negating function call with === false 2020-11-20 09:56:53 -05:00
AssignmentAnalyzer.php Allow immutable classes to be specialised through calls 2020-11-19 01:38:20 -05:00
BinaryOpAnalyzer.php Narrow inference of $a <=> $b from "int" to "-1|0|1" (#4680) 2020-11-23 13:10:51 -05: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 Fix #4524 - do better template param inheritance 2020-11-11 13:25:17 -05:00
CastAnalyzer.php Break aparat type combiner 2020-11-21 18:11:29 -05: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 Fix #4527 - improve interpolated string types 2020-11-11 00:38:26 -05:00
EvalAnalyzer.php Break out TaintedInput issues into a lot of separate ones 2020-11-17 12:44:31 -05:00
ExitAnalyzer.php Fix #4599 - propagate taints to parent callers where necessary 2020-11-18 09:59:54 -05:00
ExpressionIdentifier.php add native param types (#4137) 2020-09-06 19:36:47 -04:00
IncDecExpressionAnalyzer.php Fix #4467 - variables are only the same if they were set in the same location 2020-11-01 11:26:42 -05:00
IncludeAnalyzer.php Break out TaintedInput issues into a lot of separate ones 2020-11-17 12:44:31 -05: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 Fix #4544 - improve handling of get_class in match 2020-11-13 11:55:42 -05:00
NullsafeAnalyzer.php Misc improvements (#4314) 2020-10-15 13:23:35 -04:00
PrintAnalyzer.php Fix #4599 - propagate taints to parent callers where necessary 2020-11-18 09:59:54 -05:00
SimpleTypeInferer.php Narrow inference of $a <=> $b from "int" to "-1|0|1" (#4680) 2020-11-23 13:10:51 -05:00
TernaryAnalyzer.php Consolidate similar functionality 2020-11-07 00:58:20 -05: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