- How to override warning "Constant from class 'App\Models\Foo' referenced through child?"
- Here is copy/paste
of problem:
[{
"code": "PHP6606",
"severity": 2,
"message": "Constant from class 'App\\Models\\NebmedTemplate\\AbstractModel' referenced through child.",
"source": "PHP",
}]
I tried this in settings.json and it worked in the past but stopped working:
"php.problems.exclude": {
// workaround - see https://github.com/DEVSENSE/phptools-docs/issues/833
"**/*": [ 416, 6606 ],
"/" : [416, 6606],
//"/": [6606, 406, 416],
"vendor/": true,
},
- DevSense Version1.58.17223
- VsCode Version: 1.101.0 (user setup)