PhpStorm 2021.1 Help

Code Inspection: #-private fields access without explicit 'this.'

Checks for #x -like access to private fields. Such syntax was allowed in the early versions of the specification draft, but is no longer a valid syntax. In the most recent versions of the draft, only the syntax with explicit 'this.' qualifier is valid.

Suppress an inspection in the editor

  1. Position the caret at the highlighted line and press Alt+Enter or click the Intention action icon.

  2. Click the arrow next to the inspection you want to suppress and select the necessary suppress action.

Last modified: 08 March 2021