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:
parent
0f8ef45110
commit
b49c25ae76
1
.php-version
Normal file
1
.php-version
Normal file
@ -0,0 +1 @@
|
||||
8.0
|
@ -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" />
|
||||
|
@ -308,6 +308,7 @@ class DocumentationTest extends TestCase
|
||||
case 'InvalidEnumCaseValue':
|
||||
case 'DuplicateEnumCase':
|
||||
case 'DuplicateEnumCaseValue':
|
||||
case 'NoEnumProperties':
|
||||
$php_version = '8.1';
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user