PhpStorm 2022.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:

Powered by XPathView + XSLT-Support

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.

Powered by XPathView + XSLT-Support

Error Error

Shadowed variable

Reports shadowed XSLT variables.

Powered by XPathView + XSLT-Support

Warning Warning

Unused variable or parameter

Reports local variables and parameters that are never used.

Powered by XPathView + XSLT-Support

Warning Warning

Last modified: 13 May 2022