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.

Event Timeline

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