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:
Michael Voříšek
2023-12-23 17:02:19 +01:00
committed by GitHub
parent 9ea87a14b2
commit 3e458fa5fd
114 changed files with 380 additions and 365 deletions

View File

@@ -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;
}