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 Phabricator and related | ||||
projects (like Arcanist and libphutil). | 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 | ||||
libphutil. Contributors should also follow these guidelines. Many of these | Phabricator and Arcanist. Contributors should also follow these guidelines. | ||||
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 159 Lines • Show Last 20 Lines |