mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Add documentation for MixedClone
This commit is contained in:
parent
8c86d47eb7
commit
3c5b4dec06
@ -259,6 +259,7 @@
|
||||
<xs:element name="MixedArrayOffset" type="IssueHandlerType" minOccurs="0" />
|
||||
<xs:element name="MixedArrayTypeCoercion" type="IssueHandlerType" minOccurs="0" />
|
||||
<xs:element name="MixedAssignment" type="IssueHandlerType" minOccurs="0" />
|
||||
<xs:element name="MixedClone" type="ArgumentIssueHandlerType" minOccurs="0" />
|
||||
<xs:element name="MixedFunctionCall" type="IssueHandlerType" minOccurs="0" />
|
||||
<xs:element name="MixedInferredReturnType" type="IssueHandlerType" minOccurs="0" />
|
||||
<xs:element name="MixedMethodCall" type="IssueHandlerType" minOccurs="0" />
|
||||
|
@ -101,6 +101,7 @@
|
||||
- [MixedArrayOffset](issues/MixedArrayOffset.md)
|
||||
- [MixedArrayTypeCoercion](issues/MixedArrayTypeCoercion.md)
|
||||
- [MixedAssignment](issues/MixedAssignment.md)
|
||||
- [MixedClone](issues/MixedClone.md)
|
||||
- [MixedFunctionCall](issues/MixedFunctionCall.md)
|
||||
- [MixedInferredReturnType](issues/MixedInferredReturnType.md)
|
||||
- [MixedMethodCall](issues/MixedMethodCall.md)
|
||||
|
9
docs/running_psalm/issues/MixedClone.md
Normal file
9
docs/running_psalm/issues/MixedClone.md
Normal file
@ -0,0 +1,9 @@
|
||||
# MixedClone
|
||||
|
||||
Emitted when trying to clone a value whose type is not known
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
||||
$a = clone $_GET["a"];
|
||||
```
|
Loading…
Reference in New Issue
Block a user