Changeset View
Changeset View
Standalone View
Standalone View
src/docs/contributor/php_coding_standards.diviner
@title PHP Coding Standards | @title PHP Coding Standards | ||||
@group standards | @group standards | ||||
This document describes PHP coding standards for Phabricator and related | This document describes PHP coding standards for Phorge and related | ||||
projects (like Arcanist). | projects (like Arcanist). | ||||
= Overview = | = Overview = | ||||
This document outlines technical and style guidelines which are followed in | This document outlines technical and style guidelines which are followed in | ||||
Phabricator and Arcanist. Contributors should also follow these guidelines. | Phorge and Arcanist. Contributors should also follow these guidelines. | ||||
Many of these guidelines are automatically enforced by lint. | Many of these guidelines are automatically enforced by lint. | ||||
These guidelines are essentially identical to the Facebook guidelines, since I | These guidelines are essentially identical to the Facebook guidelines, since I | ||||
basically copy-pasted them. If you are already familiar with the Facebook | basically copy-pasted them. If you are already familiar with the Facebook | ||||
guidelines, you probably don't need to read this super thoroughly. | guidelines, you probably don't need to read this super thoroughly. | ||||
= Spaces, Linebreaks and Indentation = | = Spaces, Linebreaks and Indentation = | ||||
▲ Show 20 Lines • Show All 160 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0