PhpStorm 2019.2 Help

Code Inspections in XSLT



Default Severity

Unused Variable/Parameter

Reports local variables and parameters that are never used.

Warning icon Warning

Template Invocation Problems

This inspection checks for problems in invocations of named XSLT templates, such as missing arguments, passing arguments that are not declared by the template or passing an argument for a certain parameter more than once.

The inspection assumes that parameters declared with a default-value are optional and will not complain if an invocation does not specify an argument for such parameters.

Error icon Error

Declaration Problems

This inspections checks for various problems in declarations of XSLT variables, parameters and named templates:

  • Duplicate declarations

  • Illegal identifiers

Error icon Error

Variable Shadowing

This inspections checks for shadowed XSLT variables which can lead to possibly undesired effects.

Warning icon Warning

Last modified: 3 September 2019