mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-19 22:37:01 +01:00
Refer native constants unambiguously (#9275)
* Fix "native_constant_invocation" CS * "self_accessor" was fixed in 9269 PR * "php_unit_strict" was fixed in 9268 PR
This commit is contained in:
@@ -181,7 +181,7 @@ class rcmail_utils
|
||||
$result[] = $m[1];
|
||||
}
|
||||
}
|
||||
sort($result, SORT_NUMERIC);
|
||||
sort($result, \SORT_NUMERIC);
|
||||
|
||||
foreach ($result as $v) {
|
||||
if (empty($opts['quiet'])) {
|
||||
@@ -317,7 +317,7 @@ class rcmail_utils
|
||||
}
|
||||
|
||||
// host can be a URL like tls://192.168.12.44
|
||||
$host_url = parse_url($args['host'], PHP_URL_HOST);
|
||||
$host_url = parse_url($args['host'], \PHP_URL_HOST);
|
||||
if ($host_url) {
|
||||
$args['host'] = $host_url;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user