Leafo\ScssPhp\Parser::matchString
Match string looking for either ending delim, escape, or string interpolation
{@internal This is a workaround for preg_match's 250K string match limit. }}
Signature
protected function matchString(array&
$m,
string
$delim )
Parameters
$m
— array- Matches (passed by reference)
$delim
— string- Delimeter
Returns
- boolean
- True if match; false otherwise
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
826 | ShortVariable | Avoid variables with short names like $m. Configured minimum length is 3. |