Page MenuHomePhabricator

Write tests for AutoLoader
Closed, ResolvedPublic


Verify that all entries in the autoloader are correct, that:

  • The file exists
  • The file does in fact define this class

(if possible)

  • The file defines no other classes (except those also listed in AutoLoader and pointing to this file).

Reason: I8a0c4d42d8e4e7a80a5155ad8b1dd51c73dc3f05

Version: unspecified
Severity: major



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:45 AM
bzimport set Reference to bz41833.

Another way: parse all the PHP files, find out all the class we have and then ask the autoloader to resolve the names :-]

ccing IAlex that detected an autoload error recently.

I simply use maintenance/checkAutoLoader.php...

Change-Id: I0a307f23175d52345180cdfc7c2d5e172536be1b