Ben Mewburn

Results 30 issues of Ben Mewburn

https://www.php.net/manual/en/function.defined.php The same could be said for `class_exists`, `function_exists`, `method_exists` etc. https://www.php.net/manual/en/function.class-exists.php This would be a way of controlling false diagnostics using PHP code rather than relying on non-standard `@suppress`...

diagnostics

code actions

Many static analysis tools now support generic notation for `Iterator` or `ArrayAccess` implementations. In this situation `Collection|ElementType[]` is not useful as it does not convey the real type and makes...

enhancement

Move a file or folder and have namespaces corrected if the original path and namespace was aligned.

Make each diagnostic accept `boolean|number` where boolean turns on/off and number sets the diagnostic severity to use. To disable - `false|0` To enable with default severity - `true` To enable...

diagnostics

8.0.0 Declaring a function called assert() inside a namespace is no longer allowed, and issues E_COMPILE_ERROR. 7.3.0 Declaring a function called assert() inside a namespace became deprecated. Such declaration now...

diagnostics

- [x] `@type` - [x] `@import-type` - [x] Type substitution - [ ] References . Refs for name, alias, `from` class, and type definition . - [ ] Completion ....