1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-10 23:18:40 +01:00
psalm/src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method
Bruce Weirdan 71a0457284
Emit ImplicitToStringCast in more places (#5344)
* Emit ImplicitToStringCast in more places

Fixes vimeo/psalm#5320

`to_string_cast` is set on successful comparison, thus it needs to
always bubble up (it will be ignored in UnionTypeComparator if some part
does not match).

* Fix implicit casts

* Fix handling of string method references in self-out context
2021-03-11 00:07:39 -05:00
..
AtomicCallContext.php
AtomicMethodCallAnalysisResult.php
AtomicMethodCallAnalyzer.php
ExistingAtomicMethodCallAnalyzer.php Emit ImplicitToStringCast in more places (#5344) 2021-03-11 00:07:39 -05:00
MethodCallProhibitionAnalyzer.php
MethodCallPurityAnalyzer.php Fix #5325 – remove all memoised methods when calling a method with property mutations 2021-03-05 00:39:25 -05:00
MethodCallReturnTypeFetcher.php Only replace static type once 2021-02-22 00:25:13 -05:00
MethodVisibilityAnalyzer.php
MissingMethodCallHandler.php Emit ImplicitToStringCast in more places (#5344) 2021-03-11 00:07:39 -05:00