stable

Clone or download

Read-only

Do not force .class.php naming for base class of plugin

.php extension is good enough. Fix request #13357: Plugin base class should not be forced to have .class.php extension Change-Id: I3ecf98d81bcb96846d84a208f36965a4508a1ded

Modified Files

Name
M src/common/plugin/PluginFactory.class.php +13 −8 Go to diff View file
A tests/phpunit/common/Plugin/PluginFactoryTest.php +88 −0 Go to diff View file
A tests/phpunit/common/Plugin/_fixtures/customplugins/customdoc/include/customdocPlugin.php +42 −0 Go to diff View file
A tests/phpunit/common/Plugin/_fixtures/customplugins/customgitman/include/customgitmanPlugin.class.php +42 −0 Go to diff View file
A tests/phpunit/common/Plugin/_fixtures/plugins/doc/include/docPlugin.php +42 −0 Go to diff View file
A tests/phpunit/common/Plugin/_fixtures/plugins/gitman/include/gitmanPlugin.class.php +42 −0 Go to diff View file