phpBB’s coding guidelines are maintained in its source code repository. You can find the latest versions on area51:
Rules for Olympus (3.0.x) code
Rules for Ascraeus (3.1.x) code
Rules for Rhea (3.2.x) code
Rules for Proteus (3.3.x) code
These documents are automatically updated when changes are made to them.