Page MenuHomePhabricator

"PHP Notice: Undefined index: \intent{a}{b} in /workspace/src/extensions/Math/tests/phpunit/unit/WikiTexVC/MMLGenerationTexUtilTest.php on line 249" when running phpunit
Closed, DuplicatePublic

Description

The following PHP notice is emitted when running on the Math extensions; however, because it's emitted during the data provider phase, it doesn't make the build fail.

PHP Notice: Undefined index: \intent{a}{b} in /workspace/src/extensions/Math/tests/phpunit/unit/WikiTexVC/MMLGenerationTexUtilTest.php on line 249

Can be see in every CI run that includes Math tests, e.g. https://integration.wikimedia.org/ci/job/wmf-quibble-core-vendor-mysql-php74-docker/38888/consoleFull