1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 18:36:58 +01:00
psalm/src/Psalm/Internal/Analyzer
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
..
FunctionLike fix errors 2021-11-09 22:31:40 +01:00
Statements Infer mb_strtolower() result as string when encoding is specified 2021-11-14 03:57:10 +02:00
AlgebraAnalyzer.php Fix false positive ParadoxicalCondition in negation of in_array 2021-09-06 21:15:04 -04:00
AttributeAnalyzer.php Fix typos in message about Attribute usage 2021-11-12 23:11:59 +01:00
CanAlias.php use of strtolower only once 2021-10-13 20:16:06 +02:00
ClassAnalyzer.php Forbid properties on enums 2021-11-06 21:57:49 +02:00
ClassLikeAnalyzer.php coalesce operator 2021-09-26 23:34:31 +02:00
ClassLikeNameOptions.php
ClosureAnalyzer.php code trimming 2021-09-25 02:34:21 +02:00
CommentAnalyzer.php fix errors 2021-10-02 10:01:05 +02:00
DataFlowNodeData.php
FileAnalyzer.php replace elvis operator by coalesce operator when applicable 2021-10-13 20:16:06 +02:00
FunctionAnalyzer.php
FunctionLikeAnalyzer.php Revert "Merge remote-tracking branch 'upstream/master' into test5" 2021-10-16 00:20:38 +03:00
InterfaceAnalyzer.php
IssueData.php
MethodAnalyzer.php
MethodComparator.php replace elvis operator by coalesce operator when applicable 2021-10-13 20:16:06 +02:00
NamespaceAnalyzer.php
ProjectAnalyzer.php use of strtolower only once 2021-10-13 20:16:06 +02:00
ScopeAnalyzer.php Added phpcs SelfMemberReference rule, and applied 2021-11-07 15:47:39 +09:00
SourceAnalyzer.php unset instead of reassign 2021-09-25 18:11:54 +02:00
StatementsAnalyzer.php don't stop processing for class usage after raising an issue 2021-11-12 09:24:39 +01:00
TraitAnalyzer.php
TypeAnalyzer.php