The new php85 job is failing, this is one of the issues preventing it from passing:
1) /src/lib/Less/Parser.php:1585 PHP Deprecated: ord(): Providing an empty string is deprecated
The new php85 job is failing, this is one of the issues preventing it from passing:
1) /src/lib/Less/Parser.php:1585 PHP Deprecated: ord(): Providing an empty string is deprecated
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Hokwelum | T411213 mediawiki/libs/less.php release for PHP 8.5 | |||
| Resolved | Hokwelum | T411397 Fix "ord(): Providing an empty string is deprecated" PHP 8.5 warning in Less_Parser |
See also: T338103: Micro-optimize ApiResult::isMetadataKey with str_starts_with once we support PHP8+
ord() has a few issues, requiring changes and guarding... It may make more sense to use other functions.
Change #1218783 had a related patch set uploaded (by Hokwelum; author: Hokwelum):
[mediawiki/libs/less.php@master] Less_Parser: Fix ord(): Providing an empty string is deprecated PHP 8.5 warning
Change #1218783 merged by jenkins-bot:
[mediawiki/libs/less.php@master] Less_Parser: Fix "ord(): Providing an empty string is deprecated" PHP 8.5 warning