1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 02:47:02 +01:00
psalm/src/Psalm/Internal/Analyzer/Statements
Bruce Weirdan f5b71a3a5f
Infer mb_strtolower() result as string when encoding is specified
`mb_strtolower()` may return characters we generally consider uppercase
when it's given the encoding argument. This PR makes Psalm to err on the
side of caution and treat the return type as `string` rather than
`lowercase-string` in this case

Refs vimeo/psalm#6908
2021-11-14 03:57:10 +02:00
..
Block fix regression 2021-10-21 21:10:12 +02:00
Expression Infer mb_strtolower() result as string when encoding is specified 2021-11-14 03:57:10 +02:00
BreakAnalyzer.php redundant variable check 2021-09-26 22:37:17 +02:00
ContinueAnalyzer.php redundant variable check 2021-09-26 22:37:17 +02:00
EchoAnalyzer.php don't register taints for numeric variables 2021-11-04 00:29:07 +01:00
ExpressionAnalyzer.php fix CS 2021-11-04 00:28:40 +01:00
GlobalAnalyzer.php fix issue when setting a value to a global is considered unused 2021-07-17 22:00:54 +02:00
ReturnAnalyzer.php coalesce operator 2021-09-26 23:34:31 +02:00
StaticAnalyzer.php
ThrowAnalyzer.php better combining 2021-09-25 11:21:06 +02:00
UnsetAnalyzer.php remove cache after unsetting a key from a TKeyedArray 2021-08-19 20:40:25 +02:00
UnusedAssignmentRemover.php shorter operations 2021-09-26 22:44:33 +02:00