stable
Clone or download
Read-only
request #10619: Warning when a developper ask for a glyph of a plugin that does not exist
This contribution also removes the code duplication between plugins to read a glyph content. Now, plugins only have to declare glyph namaspaces and the associated paths. Change-Id: Ifa2bf27cf8da5885fc6830d0be3526a271e2924e
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/include/gitPlugin.class.php | +8 | −11 | Go to diff View file |
M | plugins/pullrequest/include/pullrequestPlugin.class.php | +8 | −11 | Go to diff View file |
M | plugins/tracker/include/trackerPlugin.class.php | +8 | −11 | Go to diff View file |
M | src/common/Glyph/GlyphFinder.php | +16 | −9 | Go to diff View file |
A | src/common/Glyph/GlyphLocation.php | +44 | −0 | Go to diff View file |
A | src/common/Glyph/GlyphLocationsCollector.php | +48 | −0 | Go to diff View file |
M | src/common/autoload.php | +4 | −2 | Go to diff View file |
M | src/common/event/Event.class.php | +0 | −9 | Go to diff View file |
M | tests/simpletest/common/Glyph/GlyphFinderTest.php | +1 | −1 | Go to diff View file |
A | tests/simpletest/common/Glyph/GlyphLocationTest.php | +30 | −0 | Go to diff View file |
A | tests/simpletest/common/Glyph/GlyphLocationsCollectorTest.php | +41 | −0 | Go to diff View file |