Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 600 Bytes

SlevomatCodingStandard.Strings.DisallowVariableParsing.md

File metadata and controls

17 lines (10 loc) · 600 Bytes

Pattern: Use of variable parsing

Issue: -

Description

Disallows variable parsing inside strings.

Rule provides the following settings:

  • disallowDollarCurlySyntax: disallows usage of ${...}, enabled by default.
  • disallowCurlyDollarSyntax: disallows usage of {$...}, disabled by default.
  • disallowSimpleSyntax: disallows usage of $..., disabled by default.

Further Reading