mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Merge pull request #6089 from garas/2.6-i18n-ExtractTask-function-warnings
Do not warn about i18n functions definitions on extract task
This commit is contained in:
commit
c3e1ba1dc9
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ class ExtractTask extends AppShell {
|
|||
if ($categoryName !== 'LC_TIME') {
|
||||
$this->_addTranslation($categoryName, $domain, $singular, $details);
|
||||
}
|
||||
} else {
|
||||
} elseif (!is_array($this->_tokens[$count - 1]) || $this->_tokens[$count - 1][0] != T_FUNCTION) {
|
||||
$this->_markerError($this->_file, $line, $functionName, $count);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue