Page MenuHomePhabricator

Octal escape sequence overflow in Preferences test
Closed, ResolvedPublicBUG REPORT

Description

Environment:

MediaWikimaster 1fb1241
PHP7.2.7

Steps to Reproduce:

$ php tests/phpunit/phpunit.php

Actual Results:

Using PHP 7.2.7
PHP Warning:  Octal escape sequence overflow \666 is greater than \377 in /mediawiki/tests/phpunit/includes/preferences/FiltersTest.php on line 105
PHPUnit 6.5.9 by Sebastian Bergmann and contributors.

.......

Expected Results:
Without PHP Warning before starting test.

Details

Related Gerrit Patches:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 19 2018, 12:53 PM

Change 446825 had a related patch set uploaded (by 星耀晨曦; owner: 星耀晨曦):
[mediawiki/core@master] Fix octal escape sequence overflow in FiltersTest.php

https://gerrit.wikimedia.org/r/446825

RazeSoldier triaged this task as Medium priority.

Change 446825 merged by jenkins-bot:
[mediawiki/core@master] Fix octal escape sequence overflow in FiltersTest.php

https://gerrit.wikimedia.org/r/446825

RazeSoldier closed this task as Resolved.Jul 20 2018, 9:13 PM
RazeSoldier moved this task from Untriaged to MediaWiki core on the PHP 7.2 support board.