mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-18 02:40:50 +00:00
Bug: Detect classes within the special directory
Change-Id: I317b58bfae1c8a79a933949293e7bec29b613460
This commit is contained in:
parent
c2c3aba65f
commit
830e7c4e4f
|
@ -93,4 +93,5 @@ $wgAutoloadClasses['MWEchoNotifUser'] = __DIR__ . '/includes/NotifUser.php';
|
|||
$wgAutoloadClasses['MWEchoNotifUserTest'] = __DIR__ . '/tests/phpunit/includes/NotifUserTest.php';
|
||||
$wgAutoloadClasses['MWEchoNotificationEmailBundleJob'] = __DIR__ . '/jobs/NotificationEmailBundleJob.php';
|
||||
$wgAutoloadClasses['NotificationControllerTest'] = __DIR__ . '/tests/phpunit/controller/NotificationControllerTest.php';
|
||||
$wgAutoloadClasses['SpecialNotifications'] = __DIR__ . '/special/SpecialNotifications.php';
|
||||
$wgAutoloadClasses['SuppressionMaintenanceTest'] = __DIR__ . '/tests/phpunit/maintenance/SupressionMaintenanceTest.php';
|
||||
|
|
|
@ -133,9 +133,14 @@ function main() {
|
|||
$base = dirname( __DIR__ );
|
||||
$generator = new AutoloadGenerator( $base );
|
||||
$dirs = array(
|
||||
'api', 'controller',
|
||||
'formatters', 'includes',
|
||||
'jobs', 'model', 'tests'
|
||||
'api',
|
||||
'controller',
|
||||
'formatters',
|
||||
'includes',
|
||||
'jobs',
|
||||
'model',
|
||||
'special',
|
||||
'tests',
|
||||
);
|
||||
foreach ( $dirs as $dir ) {
|
||||
$generator->readDir( $base . '/' . $dir );
|
||||
|
|
Loading…
Reference in a new issue