PhpStorm 2023.3 Help

Code Inspections in XSLT

This topic lists all PhpStorm code inspections available in XSLT.

You can toggle specific inspections or change their severity level on the Editor | Inspections page of the IDE settingsĀ  Ctrl+Alt+S.

Inspection

Description

Default Severity

Incorrect declaration

Reports duplicate declarations and illegal identifiers in XSLT variables, parameters, and named templates:

Error Error

Incorrect template invocation

Reports missing arguments, passing arguments that are not declared, and passing arguments for parameters more than once in named XSLT template invocations.

Parameters declared with a default value are optional and will not be reported as missing.

Error Error

Shadowed variable

Reports shadowed XSLT variables.

Warning Warning

Unused variable or parameter

Reports local variables and parameters that are never used.

Warning Warning

Last modified: 25 March 2024