mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Add test for NoEnumProperties
This was somehow missed from vimeo/psalm#6836
This commit is contained in:
parent
b49c25ae76
commit
f0f085e084
@ -1 +0,0 @@
|
||||
8.0
|
@ -288,6 +288,17 @@ class EnumTest extends TestCase
|
||||
false,
|
||||
'8.1',
|
||||
],
|
||||
'propsOnEnum' => [
|
||||
'<?php
|
||||
enum Status {
|
||||
public $prop;
|
||||
}
|
||||
',
|
||||
'error_message' => 'NoEnumProperties',
|
||||
[],
|
||||
false,
|
||||
'8.1',
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user