PhpStorm 2020.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 Settings/Preferences Ctrl+Alt+S.

InspectionDescriptionDefault Severity
Declaration problems



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

  • Duplicate declarations

  • Illegal identifiers



Powered by XPathView + XSLT-Support

Error Error
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.

Powered by XPathView + XSLT-Support

Error Error
Unused variable/parameter



Reports local variables and parameters that are never used.

Powered by XPathView + XSLT-Support

Warning Warning
Variable shadowing



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

Powered by XPathView + XSLT-Support

Warning Warning
Last modified: 08 March 2021