mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
deprecate allowPhpStormGenerics
This commit is contained in:
parent
1aad830392
commit
3db477e3c5
@ -44,7 +44,14 @@
|
||||
</xs:attribute>
|
||||
|
||||
<xs:attribute name="allowFileIncludes" type="xs:boolean" default="true" />
|
||||
<xs:attribute name="allowPhpStormGenerics" type="xs:boolean" default="false" />
|
||||
<xs:attribute name="allowPhpStormGenerics" type="xs:boolean" default="false">
|
||||
<xs:annotation>
|
||||
<!-- note: for PHPStorm to mark the attribute as deprecated the doc entry has to be *single line* and start with the word `deprecated` -->
|
||||
<xs:documentation xml:lang="en">
|
||||
Deprecated. PHPStorm now supports generics for the most part and @psalm- annotations can be used
|
||||
</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:attribute>
|
||||
<xs:attribute name="allowStringToStandInForClass" type="xs:boolean" default="false" />
|
||||
<xs:attribute name="checkForThrowsDocblock" type="xs:boolean" default="false" />
|
||||
<xs:attribute name="checkForThrowsInGlobalScope" type="xs:boolean" default="false" />
|
||||
|
@ -143,6 +143,8 @@ Setting this to `false` means that any function calls will cause Psalm to forget
|
||||
```
|
||||
Allows you to specify whether or not to use the typed iterator docblock format supported by PHP Storm e.g. `ArrayIterator|string[]`, which Psalm transforms to `ArrayIterator<string>`. Defaults to `false`.
|
||||
|
||||
This config is deprecated and will be removed in Psalm v5
|
||||
|
||||
#### allowStringToStandInForClass
|
||||
|
||||
```xml
|
||||
|
Loading…
Reference in New Issue
Block a user