1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Fixed tests

* Added new issue to the config.xsd
* Marked NoEnumProperties as PHP 8.1 issue
This commit is contained in:
Bruce Weirdan 2021-11-06 22:22:38 +02:00
parent 0f8ef45110
commit b49c25ae76
No known key found for this signature in database
GPG Key ID: CFC3AAB181751B0D
3 changed files with 3 additions and 0 deletions

1
.php-version Normal file
View File

@ -0,0 +1 @@
8.0

View File

@ -354,6 +354,7 @@
<xs:element name="MoreSpecificReturnType" type="IssueHandlerType" minOccurs="0" />
<xs:element name="MutableDependency" type="PropertyIssueHandlerType" minOccurs="0" />
<xs:element name="NamedArgumentNotAllowed" type="ArgumentIssueHandlerType" minOccurs="0" />
<xs:element name="NoEnumProperties" type="ClassIssueHandlerType" minOccurs="0" />
<xs:element name="NoInterfaceProperties" type="ClassIssueHandlerType" minOccurs="0" />
<xs:element name="NonStaticSelfCall" type="IssueHandlerType" minOccurs="0" />
<xs:element name="NoValue" type="IssueHandlerType" minOccurs="0" />

View File

@ -308,6 +308,7 @@ class DocumentationTest extends TestCase
case 'InvalidEnumCaseValue':
case 'DuplicateEnumCase':
case 'DuplicateEnumCaseValue':
case 'NoEnumProperties':
$php_version = '8.1';
break;
}