noverify
noverify copied to clipboard
Some class-scoped expressions are not analyzed
Code Example
<?php
class C {
public static $arr = [
'key1' => 'something',
'key2' => 'other_thing',
'key1' => 'third_thing', // duplicate
];
}
Actual Behavior
No warnings.
Expected Behavior
Warning about duplicated array key.