From b2e71bcb70714bd20c22a5c34b1719ac52504b13 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 6 Jan 2015 10:47:37 -0800 Subject: [PATCH] Don't say "K&R style" in coding conventions Summary: We technically don't use K&R. These documents and the rest of the codebase are full of examples of the correct style, which should be unambiguous to a reasonable reader. Test Plan: reading Reviewers: staticshock, btrahan Reviewed By: btrahan Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D11255 --- src/docs/contributor/javascript_coding_standards.diviner | 1 - src/docs/contributor/php_coding_standards.diviner | 1 - 2 files changed, 2 deletions(-) diff --git a/src/docs/contributor/javascript_coding_standards.diviner b/src/docs/contributor/javascript_coding_standards.diviner index 7bff8a3bdf..65e15e6b55 100644 --- a/src/docs/contributor/javascript_coding_standards.diviner +++ b/src/docs/contributor/javascript_coding_standards.diviner @@ -18,7 +18,6 @@ guidelines, you can probably get away with skimming this document. - Use two spaces for indentation. Don't use literal tab characters. - Use Unix linebreaks ("\n"), not MSDOS ("\r\n") or OS9 ("\r"). - - Use K&R style braces and spacing. - Put a space after control keywords like ##if## and ##for##. - Put a space after commas in argument lists. - Put space around operators like ##=##, ##<##, etc. diff --git a/src/docs/contributor/php_coding_standards.diviner b/src/docs/contributor/php_coding_standards.diviner index a180a2ff3a..d79d340326 100644 --- a/src/docs/contributor/php_coding_standards.diviner +++ b/src/docs/contributor/php_coding_standards.diviner @@ -19,7 +19,6 @@ guidelines, you probably don't need to read this super thoroughly. - Use two spaces for indentation. Don't use tab literal characters. - Use Unix linebreaks ("\n"), not MSDOS ("\r\n") or OS9 ("\r"). - - Use K&R style braces and spacing. - Put a space after control keywords like ##if## and ##for##. - Put a space after commas in argument lists. - Put a space around operators like ##=##, ##<##, etc.