MDLSITE-2127 Support recent phploc versions.
Merge pull request #6 from stronk7/MDLSITE-2127

MDLSITE-2127 Support recent phploc versions.