Page MenuHomePhabricator

PHP Fatal error: Cannot declare class Version, because the name is already in use in maintenance/Version.php on line 33
Open, Needs TriagePublic

Description

Seen on PHP 8.3, running composer phpunit:unit.

Using --testdox I see:

Foreign DBFile
 ✔ Should construct correct instance from title
 ✔ Valid covers
 ◐ running tests

It looks like we need to add a namespace to maintenance/version.php.