Translations:Manual:Coding conventions/PHP/302/en

Mark new code with proper visibility modifiers, including $public if appropriate, but do not add visibility to existing code without first checking, testing and refactoring as required. It's generally a good idea to avoid visibility changes unless you're making changes to the function which would break old uses of it anyway.