Page MenuHomePhabricator

AutoloaderTest doesn't like namespaces
Closed, ResolvedPublic

Description

It doesn't like when you use similar named classes to core. You get this:

  • 'Http' => 'includes/HttpFunctions.php'

+ 'Http' => '/vagrant/mediawiki/extensions/Elastica/Elastica/lib/Elastica/Transport/Http.php'

It also doesn't like namespaced classes at all:

  • 'Elastica\Rescore\AbstractRescore' => '/vagrant/mediawiki/extensions...re.php'

+ 'AbstractRescore' => '/vagrant/mediawiki/extensions...re.php'


Version: unspecified
Severity: normal

Details

Reference
bz67644

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:42 AM
bzimport set Reference to bz67644.
bzimport added a subscriber: Unknown Object (MLST).
demon created this task.Jul 8 2014, 12:40 AM

Change 146661 had a related patch set uploaded by Chad:
WIP: Make AutoLoaderTest handle namespaces

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

Change 146661 merged by jenkins-bot:
Make AutoLoaderTest handle namespaces

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