PhpStorm 2020.1 Help

Code Inspection: Potentially invalid constructor usage

Reports potentially invalid constructor function usages such as: using non constructor in new, using constructor's prototype and constructor call without new. Constructor function assumed to have upper case name (optional) or have explicit JSDoc @constructor tag. The validation works in JavaScript, html or jsp files.

Last modified: 1 June 2020