Changeset View
Changeset View
Standalone View
Standalone View
core/kernel/db/dblist.php
Show First 20 Lines • Show All 1759 Lines • ▼ Show 20 Line(s) | |||||
* | * | ||||
* @param string $escaped_alias | * @param string $escaped_alias | ||||
* @param string $string | * @param string $string | ||||
* @return bool | * @return bool | ||||
* @access private | * @access private | ||||
*/ | */ | ||||
private function matchAlias($escaped_alias, $string) | private function matchAlias($escaped_alias, $string) | ||||
{ | { | ||||
return preg_match('/(`' . $escaped_alias . '`|' . $escaped_alias . ')\./', $string); | return preg_match('/\b(`' . $escaped_alias . '`|' . $escaped_alias . ')\./s', $string); | ||||
} | } | ||||
Lint: Squiz.WhiteSpace.FunctionSpacing.AfterLast: Expected 1 blank line after function; 0 found | |||||
} | } |
Expected 1 blank line after function; 0 found