1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Config: document default on new option

Also add it to the config schema.
This commit is contained in:
Daniel Beardsley 2023-03-27 10:37:29 -07:00
parent 7b541ed74f
commit bf00ecae91
No known key found for this signature in database
GPG Key ID: FBA578B2B3CA898E
2 changed files with 2 additions and 1 deletions

View File

@ -62,6 +62,7 @@
<xs:attribute name="reportMixedIssues" type="xs:boolean" default="true" /> <xs:attribute name="reportMixedIssues" type="xs:boolean" default="true" />
<xs:attribute name="useDocblockTypes" type="xs:boolean" default="true" /> <xs:attribute name="useDocblockTypes" type="xs:boolean" default="true" />
<xs:attribute name="useDocblockPropertyTypes" type="xs:boolean" default="false" /> <xs:attribute name="useDocblockPropertyTypes" type="xs:boolean" default="false" />
<xs:attribute name="docblockPropertyTypesSealProperties" type="xs:boolean" default="true" />
<xs:attribute name="usePhpDocMethodsWithoutMagicCall" type="xs:boolean" default="false" /> <xs:attribute name="usePhpDocMethodsWithoutMagicCall" type="xs:boolean" default="false" />
<xs:attribute name="usePhpDocPropertiesWithoutMagicCall" type="xs:boolean" default="false" /> <xs:attribute name="usePhpDocPropertiesWithoutMagicCall" type="xs:boolean" default="false" />
<xs:attribute name="skipChecksOnUnresolvableIncludes" type="xs:boolean" default="false" /> <xs:attribute name="skipChecksOnUnresolvableIncludes" type="xs:boolean" default="false" />

View File

@ -97,7 +97,7 @@ If not using all docblock types, you can still use docblock property types. Defa
docblockPropertyTypesSealProperties="[bool]" docblockPropertyTypesSealProperties="[bool]"
> >
``` ```
Whether using @property in class docblocks should imply @psalm-seal-properties Whether using @property in class docblocks should imply @psalm-seal-properties. Defaults to `true`.
#### usePhpDocMethodsWithoutMagicCall #### usePhpDocMethodsWithoutMagicCall