Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Delete license headers from files

Summary:
This commit doesn't change license of any file. It just makes the license implicit (inherited from LICENSE file in the root directory).

We are removing the headers for these reasons:

- It wastes space in editors, less code is visible in editor upon opening a file.
- It brings noise to diff of the first change of any file every year.
- It confuses Git file copy detection when creating small files.
- We don't have an explicit license header in other files (JS, CSS, images, documentation).
- Using license header in every file is not obligatory: http://www.apache.org/dev/apply-license.html#new.

This change is approved by Alma Chao (Lead Open Source and IP Counsel at Facebook).

Test Plan: Verified that the license survived only in LICENSE file.

Reviewers: epriestley, davidrecordon

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2035

Differential Revision: https://secure.phabricator.com/D3887
  • Loading branch information...
commit 4f9915ecac8130503e26a8f16003314d0af93235 1 parent c6d1650
vrana authored
Showing with 379 additions and 4,029 deletions.
  1. +1 −2  .arcconfig
  2. +174 −10 LICENSE
  3. +5 −0 NOTICE
  4. +4 −0 README
  5. +0 −16 scripts/__init_script__.php
  6. +0 −16 scripts/daemon/exec/exec_daemon.php
  7. +0 −16 scripts/daemon/launch_daemon.php
  8. +0 −16 scripts/daemon/torture/resist-death.php
  9. +0 −16 scripts/example/calculator.php
  10. +0 −16 scripts/example/subworkflow.php
  11. +0 −16 scripts/kill_init.php
  12. +0 −16 scripts/sandpit/harden_directory.php
  13. +0 −16 scripts/test/deferred_log.php
  14. +0 −16 scripts/test/http.php
  15. +0 −16 scripts/test/interactive_editor.php
  16. +0 −16 scripts/test/mime.php
  17. +0 −16 scripts/test/prompt.php
  18. +0 −16 scripts/test/test_service_profiler.php
  19. +0 −16 scripts/utils/directory_fixture.php
  20. +0 −16 scripts/utils/envinfo.php
  21. +0 −16 scripts/utils/lock.php
  22. +0 −16 scripts/utils/utf8.php
  23. +0 −16 src/__phutil_library_init__.php
  24. +0 −16 src/aphront/storage/connection/AphrontDatabaseConnection.php
  25. +0 −16 src/aphront/storage/connection/AphrontDatabaseTransactionState.php
  26. +0 −16 src/aphront/storage/connection/AphrontIsolatedDatabaseConnection.php
  27. +0 −16 src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnection.php
  28. +0 −16 src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnectionBase.php
  29. +0 −16 src/aphront/storage/connection/mysql/AphrontMySQLiDatabaseConnection.php
  30. +0 −16 src/aphront/storage/exception/AphrontQueryAccessDeniedException.php
  31. +0 −16 src/aphront/storage/exception/AphrontQueryConnectionException.php
  32. +0 −16 src/aphront/storage/exception/AphrontQueryConnectionLostException.php
  33. +0 −16 src/aphront/storage/exception/AphrontQueryCountException.php
  34. +0 −16 src/aphront/storage/exception/AphrontQueryDeadlockException.php
  35. +0 −16 src/aphront/storage/exception/AphrontQueryDuplicateKeyException.php
  36. +0 −16 src/aphront/storage/exception/AphrontQueryException.php
  37. +0 −16 src/aphront/storage/exception/AphrontQueryNotSupportedException.php
  38. +0 −16 src/aphront/storage/exception/AphrontQueryObjectMissingException.php
  39. +0 −16 src/aphront/storage/exception/AphrontQueryParameterException.php
  40. +0 −16 src/aphront/storage/exception/AphrontQueryRecoverableException.php
  41. +0 −16 src/aphront/storage/exception/AphrontQuerySchemaException.php
  42. +0 −16 src/aphront/writeguard/AphrontScopedUnguardedWriteCapability.php
  43. +0 −16 src/aphront/writeguard/AphrontWriteGuard.php
  44. +0 −16 src/channel/PhutilChannel.php
  45. +0 −16 src/channel/PhutilChannelChannel.php
  46. +0 −16 src/channel/PhutilExecChannel.php
  47. +0 −16 src/channel/PhutilJSONProtocolChannel.php
  48. +0 −16 src/channel/PhutilPHPObjectProtocolChannel.php
  49. +0 −16 src/channel/PhutilProtocolChannel.php
  50. +0 −16 src/channel/PhutilSocketChannel.php
  51. +0 −16 src/channel/__tests__/PhutilJSONProtocolChannelTestCase.php
  52. +0 −16 src/channel/__tests__/PhutilPHPObjectProtocolChannelTestCase.php
  53. +0 −16 src/conduit/ConduitClient.php
  54. +0 −16 src/conduit/ConduitClientException.php
  55. +0 −16 src/conduit/ConduitFuture.php
  56. +0 −16 src/console/PhutilConsole.php
  57. +0 −16 src/console/PhutilConsoleFormatter.php
  58. +0 −16 src/console/PhutilConsoleMessage.php
  59. +0 −16 src/console/PhutilConsoleServer.php
  60. +0 −16 src/console/PhutilConsoleServerChannel.php
  61. +0 −16 src/console/PhutilConsoleStdinNotInteractiveException.php
  62. +0 −16 src/console/PhutilInteractiveEditor.php
  63. +0 −16 src/console/__tests__/PhutilConsoleWrapTestCase.php
  64. +0 −16 src/console/format.php
  65. +0 −16 src/daemon/PhutilDaemon.php
  66. +0 −16 src/daemon/PhutilDaemonOverseer.php
  67. +0 −16 src/daemon/torture/PhutilExcessiveServiceCallsDaemon.php
  68. +0 −16 src/daemon/torture/PhutilFatalDaemon.php
  69. +0 −16 src/daemon/torture/PhutilHangForeverDaemon.php
  70. +0 −16 src/daemon/torture/PhutilNiceDaemon.php
  71. +0 −16 src/daemon/torture/PhutilProcessGroupDaemon.php
  72. +0 −16 src/daemon/torture/PhutilSaturateStdoutDaemon.php
  73. +0 −16 src/daemon/torture/PhutilTortureTestDaemon.php
  74. +0 −16 src/error/PhutilAggregateException.php
  75. +0 −16 src/error/PhutilErrorHandler.php
  76. +0 −16 src/error/PhutilOpaqueEnvelope.php
  77. +0 −16 src/error/PhutilOpaqueEnvelopeKey.php
  78. +0 −16 src/error/__tests__/PhutilOpaqueEnvelopeTestCase.php
  79. +0 −16 src/error/phlog.php
  80. +0 −16 src/events/PhutilEvent.php
  81. +0 −16 src/events/PhutilEventEngine.php
  82. +0 −16 src/events/PhutilEventListener.php
  83. +0 −16 src/events/constant/PhutilEventConstants.php
  84. +0 −16 src/events/constant/PhutilEventType.php
  85. +0 −16 src/filesystem/FileFinder.php
  86. +0 −16 src/filesystem/FileList.php
  87. +0 −16 src/filesystem/Filesystem.php
  88. +0 −16 src/filesystem/FilesystemException.php
  89. +0 −16 src/filesystem/PhutilDeferredLog.php
  90. +0 −16 src/filesystem/PhutilDirectoryFixture.php
  91. +0 −16 src/filesystem/PhutilFileLock.php
  92. +0 −16 src/filesystem/PhutilFileTree.php
  93. +0 −16 src/filesystem/PhutilLock.php
  94. +0 −16 src/filesystem/PhutilLockException.php
  95. +0 −16 src/filesystem/TempFile.php
  96. +0 −16 src/filesystem/__tests__/PhutilDeferredLogTestCase.php
  97. +0 −16 src/filesystem/__tests__/PhutilFileLockTestCase.php
  98. +0 −16 src/filesystem/linesofalarge/LinesOfALarge.php
  99. +0 −16 src/filesystem/linesofalarge/LinesOfALargeExecFuture.php
  100. +0 −16 src/filesystem/linesofalarge/LinesOfALargeFile.php
  101. +0 −16 src/filesystem/linesofalarge/__tests__/LinesOfALargeExecFutureTestCase.php
  102. +0 −16 src/filesystem/linesofalarge/__tests__/LinesOfALargeFileTestCase.php
  103. +0 −16 src/future/Future.php
  104. +0 −16 src/future/FutureIterator.php
  105. +0 −16 src/future/FutureProxy.php
  106. +0 −16 src/future/ImmediateFuture.php
  107. +0 −16 src/future/__tests__/FutureIteratorTestCase.php
  108. +0 −16 src/future/aws/PhutilAWSEC2Future.php
  109. +0 −16 src/future/aws/PhutilAWSException.php
  110. +0 −16 src/future/aws/PhutilAWSFuture.php
  111. +0 −16 src/future/exec/CommandException.php
  112. +0 −16 src/future/exec/ExecFuture.php
  113. +0 −16 src/future/exec/__tests__/ExecFutureTestCase.php
  114. +0 −16 src/future/exec/execx.php
  115. +0 −16 src/future/functions.php
  116. +0 −16 src/future/http/BaseHTTPFuture.php
  117. +0 −16 src/future/http/HTTPFuture.php
  118. +0 −16 src/future/http/HTTPSFuture.php
  119. +0 −16 src/future/http/status/HTTPFutureResponseStatus.php
  120. +0 −16 src/future/http/status/HTTPFutureResponseStatusCURL.php
  121. +0 −16 src/future/http/status/HTTPFutureResponseStatusHTTP.php
  122. +0 −16 src/future/http/status/HTTPFutureResponseStatusParse.php
  123. +0 −16 src/future/http/status/HTTPFutureResponseStatusTransport.php
  124. +0 −16 src/infrastructure/testing/PhutilTestCase.php
  125. +0 −16 src/internationalization/PhutilPerson.php
  126. +0 −16 src/internationalization/PhutilTranslator.php
  127. +0 −16 src/internationalization/__tests__/PhutilPHTTestCase.php
  128. +0 −16 src/internationalization/__tests__/PhutilPersonTest.php
  129. +0 −16 src/internationalization/__tests__/PhutilTranslatorTestCase.php
  130. +0 −16 src/internationalization/pht.php
  131. +0 −16 src/lexer/PhutilLexer.php
  132. +0 −16 src/lexer/PhutilPHPFragmentLexer.php
  133. +0 −16 src/lexer/__tests__/PhutilPHPFragmentLexerTestCase.php
  134. +0 −16 src/markup/PhutilMarkupEngine.php
  135. +0 −16 src/markup/__tests__/PhutilMarkupTestCase.php
  136. +0 −16 src/markup/engine/PhutilRemarkupEngine.php
  137. +0 −16 src/markup/engine/__tests__/PhutilRemarkupEngineTestCase.php
  138. +0 −16 src/markup/engine/remarkup/PhutilRemarkupBlockStorage.php
  139. +0 −16 src/markup/engine/remarkup/blockrule/PhutilRemarkupEngineBlockRule.php
  140. +0 −16 src/markup/engine/remarkup/blockrule/PhutilRemarkupEngineRemarkupCodeBlockRule.php
  141. +0 −16 src/markup/engine/remarkup/blockrule/PhutilRemarkupEngineRemarkupDefaultBlockRule.php
  142. +0 −16 src/markup/engine/remarkup/blockrule/PhutilRemarkupEngineRemarkupHeaderBlockRule.php
  143. +0 −16 src/markup/engine/remarkup/blockrule/PhutilRemarkupEngineRemarkupInlineBlockRule.php
  144. +0 −16 src/markup/engine/remarkup/blockrule/PhutilRemarkupEngineRemarkupListBlockRule.php
  145. +0 −16 src/markup/engine/remarkup/blockrule/PhutilRemarkupEngineRemarkupLiteralBlockRule.php
  146. +0 −16 src/markup/engine/remarkup/blockrule/PhutilRemarkupEngineRemarkupNoteBlockRule.php
  147. +0 −16 src/markup/engine/remarkup/blockrule/PhutilRemarkupEngineRemarkupQuotesBlockRule.php
  148. +0 −16 src/markup/engine/remarkup/blockrule/PhutilRemarkupEngineRemarkupSimpleTableBlockRule.php
  149. +0 −16 src/markup/engine/remarkup/blockrule/PhutilRemarkupEngineRemarkupTableBlockRule.php
  150. +0 −16 src/markup/engine/remarkup/markuprule/PhutilRemarkupRule.php
  151. +0 −16 src/markup/engine/remarkup/markuprule/PhutilRemarkupRuleBold.php
  152. +0 −16 src/markup/engine/remarkup/markuprule/PhutilRemarkupRuleDel.php
  153. +0 −16 src/markup/engine/remarkup/markuprule/PhutilRemarkupRuleDocumentLink.php
  154. +0 −16 src/markup/engine/remarkup/markuprule/PhutilRemarkupRuleEscapeHTML.php
  155. +0 −16 src/markup/engine/remarkup/markuprule/PhutilRemarkupRuleEscapeRemarkup.php
  156. +0 −16 src/markup/engine/remarkup/markuprule/PhutilRemarkupRuleHyperlink.php
  157. +0 −16 src/markup/engine/remarkup/markuprule/PhutilRemarkupRuleItalic.php
  158. +0 −16 src/markup/engine/remarkup/markuprule/PhutilRemarkupRuleLinebreaks.php
  159. +0 −16 src/markup/engine/remarkup/markuprule/PhutilRemarkupRuleMonospace.php
  160. +0 −16 src/markup/render.php
  161. +0 −16 src/markup/syntax/engine/PhutilDefaultSyntaxHighlighterEngine.php
  162. +0 −16 src/markup/syntax/engine/PhutilSyntaxHighlighterEngine.php
  163. +0 −16 src/markup/syntax/engine/__tests__/PhutilDefaultSyntaxHighlighterEngineTestCase.php
  164. +0 −16 src/markup/syntax/highlighter/PhutilConsoleSyntaxHighlighter.php
  165. +0 −16 src/markup/syntax/highlighter/PhutilDefaultSyntaxHighlighter.php
  166. +0 −16 src/markup/syntax/highlighter/PhutilDivinerSyntaxHighlighter.php
  167. +0 −16 src/markup/syntax/highlighter/PhutilLexerSyntaxHighlighter.php
  168. +0 −16 src/markup/syntax/highlighter/PhutilPygmentsSyntaxHighlighter.php
  169. +0 −16 src/markup/syntax/highlighter/PhutilRainbowSyntaxHighlighter.php
  170. +0 −16 src/markup/syntax/highlighter/PhutilSyntaxHighlighter.php
  171. +0 −16 src/markup/syntax/highlighter/PhutilSyntaxHighlighterException.php
  172. +0 −16 src/markup/syntax/highlighter/PhutilXHPASTSyntaxHighlighter.php
  173. +0 −16 src/markup/syntax/highlighter/__tests__/PhutilPHPFragmentLexerHighlighterTestCase.php
  174. +0 −16 src/markup/syntax/highlighter/__tests__/PhutilXHPASTSyntaxHighlighterTestCase.php
  175. +0 −16 src/markup/syntax/highlighter/pygments/PhutilDefaultSyntaxHighlighterEnginePygmentsFuture.php
  176. +0 −16 src/moduleutils/moduleutils.php
  177. +0 −16 src/object/Phobject.php
  178. +0 −16 src/parser/PhutilDocblockParser.php
  179. +0 −16 src/parser/PhutilEmailAddress.php
  180. +0 −16 src/parser/PhutilGitURI.php
  181. +0 −16 src/parser/PhutilJSON.php
  182. +0 −16 src/parser/PhutilLanguageGuesser.php
  183. +0 −16 src/parser/PhutilSimpleOptions.php
  184. +0 −16 src/parser/PhutilURI.php
  185. +0 −16 src/parser/__tests__/PhutilDocblockParserTestCase.php
  186. +0 −16 src/parser/__tests__/PhutilEmailAddressTestCase.php
  187. +0 −16 src/parser/__tests__/PhutilGitURITestCase.php
  188. +0 −16 src/parser/__tests__/PhutilJSONTestCase.php
  189. +0 −16 src/parser/__tests__/PhutilLanguageGuesserTestCase.php
  190. +0 −16 src/parser/__tests__/PhutilSimpleOptionsTestCase.php
  191. +0 −16 src/parser/__tests__/PhutilURITestCase.php
  192. +0 −16 src/parser/aast/api/AASTNode.php
  193. +0 −16 src/parser/aast/api/AASTNodeList.php
  194. +0 −16 src/parser/aast/api/AASTToken.php
  195. +0 −16 src/parser/aast/api/AASTTree.php
  196. +0 −16 src/parser/argument/PhutilArgumentParser.php
  197. +0 −16 src/parser/argument/PhutilArgumentSpecification.php
  198. +0 −16 src/parser/argument/__tests__/PhutilArgumentParserTestCase.php
  199. +0 −16 src/parser/argument/__tests__/PhutilArgumentSpecificationTestCase.php
  200. +0 −16 src/parser/argument/exception/PhutilArgumentParserException.php
  201. +0 −16 src/parser/argument/exception/PhutilArgumentSpecificationException.php
  202. +0 −16 src/parser/argument/exception/PhutilArgumentUsageException.php
  203. +0 −16 src/parser/argument/workflow/PhutilArgumentWorkflow.php
  204. +0 −16 src/parser/argument/workflow/PhutilHelpArgumentWorkflow.php
  205. +0 −16 src/parser/xhpast/api/XHPASTNode.php
  206. +0 −16 src/parser/xhpast/api/XHPASTSyntaxErrorException.php
  207. +0 −16 src/parser/xhpast/api/XHPASTToken.php
  208. +0 −16 src/parser/xhpast/api/XHPASTTree.php
  209. +0 −16 src/parser/xhpast/api/__tests__/XHPASTTreeTestCase.php
  210. +0 −16 src/parser/xhpast/bin/xhpast_parse.php
  211. +0 −16 src/parser/xhpast/parser_tokens.php
  212. +0 −16 src/readableserializer/PhutilReadableSerializer.php
  213. +0 −16 src/readableserializer/__tests__/PhutilReadableSerializerTestCase.php
  214. +0 −16 src/serviceprofiler/PhutilServiceProfiler.php
  215. +0 −16 src/sprites/PhutilSprite.php
  216. +0 −16 src/sprites/PhutilSpriteSheet.php
  217. +0 −16 src/symbols/PhutilSymbolLoader.php
  218. +0 −16 src/symbols/exception/PhutilMissingSymbolException.php
  219. +0 −16 src/utils/AbstractDirectedGraph.php
  220. +0 −16 src/utils/PhutilBufferedIterator.php
  221. +0 −16 src/utils/PhutilBufferedIteratorExample.php
  222. +0 −16 src/utils/__tests__/AbstractDirectedGraphTestCase.php
  223. +0 −16 src/utils/__tests__/MFilterTestHelper.php
  224. +0 −16 src/utils/__tests__/PhutilBufferedIteratorTestCase.php
  225. +0 −16 src/utils/__tests__/PhutilUTF8TestCase.php
  226. +0 −16 src/utils/__tests__/PhutilUtilsTestCase.php
  227. +0 −16 src/utils/__tests__/TestAbstractDirectedGraph.php
  228. +0 −16 src/utils/utf8.php
  229. +0 −16 src/utils/utils.php
  230. +0 −16 src/xsprintf/csprintf.php
  231. +0 −16 src/xsprintf/jsprintf.php
  232. +0 −16 src/xsprintf/ldapsprintf.php
  233. +0 −16 src/xsprintf/qsprintf.php
  234. +0 −16 src/xsprintf/queryfx.php
  235. +0 −16 src/xsprintf/xsprintf.php
  236. +0 −16 support/xhpast/ast.hpp
  237. +0 −16 support/xhpast/astnode.cpp
  238. +0 −16 support/xhpast/astnode.hpp
  239. +0 −16 support/xhpast/generate_nodes.php
  240. +0 −16 support/xhpast/parser.y
  241. +0 −16 support/xhpast/scanner.l
  242. +186 −200 support/xhpast/scanner.lex.cpp
  243. +9 −9 support/xhpast/scanner.lex.hpp
  244. +0 −16 support/xhpast/xhpast.cpp
View
3  .arcconfig
@@ -2,6 +2,5 @@
"project_id" : "libphutil",
"conduit_uri" : "https://secure.phabricator.com/api/",
"lint.engine" : "PhutilLintEngine",
- "unit.engine" : "PhutilUnitTestEngine",
- "copyright_holder" : "Facebook, Inc."
+ "unit.engine" : "PhutilUnitTestEngine"
}
View
184 LICENSE
@@ -1,13 +1,177 @@
-Copyright 2011 Facebook, Inc.
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
- http://www.apache.org/licenses/LICENSE-2.0
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
View
5 NOTICE
@@ -0,0 +1,5 @@
+libphutil
+Copyright 2012 Facebook, Inc.
+
+This product includes software developed at
+Facebook, Inc. (http://www.facebook.com/facebook).
View
4 README
@@ -43,3 +43,7 @@ Utilities
A handful of solid utility functions.
libphutil is used by Phabricator, Arcanist and Diviner.
+
+LICENSE
+
+libphutil is released under the Apache 2.0 license except as otherwise noted.
View
16 scripts/__init_script__.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
function __phutil_init_script__() {
// Adjust the runtime language configuration to be reasonable and inline with
// expectations. We do this first, then load libraries.
View
16 scripts/daemon/exec/exec_daemon.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
$root = dirname(dirname(dirname(dirname(__FILE__))));
require_once $root.'/scripts/__init_script__.php';
View
16 scripts/daemon/launch_daemon.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
$root = dirname(dirname(dirname(__FILE__)));
require_once $root.'/scripts/__init_script__.php';
$overseer = new PhutilDaemonOverseer($argv);
View
16 scripts/daemon/torture/resist-death.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2011 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
// This script just creates a process which is difficult to terminate. It is
// used for daemon resiliance tests.
View
16 scripts/example/calculator.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
require_once dirname(dirname(__FILE__)).'/__init_script__.php';
$args = new PhutilArgumentParser($argv);
View
16 scripts/example/subworkflow.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
require_once dirname(dirname(__FILE__)).'/__init_script__.php';
$args = new PhutilArgumentParser($argv);
View
16 scripts/kill_init.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
require_once dirname(__FILE__).'/__init_script__.php';
$root = idx($argv, 1);
View
16 scripts/sandpit/harden_directory.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2011 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
require_once dirname(dirname(__FILE__)).'/__init_script__.php';
// PhutilServiceProfiler::installEchoListener();
View
16 scripts/test/deferred_log.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
$root = dirname(dirname(dirname(__FILE__)));
require_once $root.'/scripts/__init_script__.php';
View
16 scripts/test/http.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2011 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
$root = dirname(dirname(dirname(__FILE__)));
require_once $root.'/scripts/__init_script__.php';
View
16 scripts/test/interactive_editor.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
$root = dirname(dirname(dirname(__FILE__)));
require_once $root.'/scripts/__init_script__.php';
View
16 scripts/test/mime.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
$root = dirname(dirname(dirname(__FILE__)));
require_once $root.'/scripts/__init_script__.php';
View
16 scripts/test/prompt.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
$root = dirname(dirname(dirname(__FILE__)));
require_once $root.'/scripts/__init_script__.php';
View
16 scripts/test/test_service_profiler.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
$root = dirname(dirname(dirname(__FILE__)));
require_once $root.'/scripts/__init_script__.php';
View
16 scripts/utils/directory_fixture.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
require_once dirname(dirname(__FILE__)).'/__init_script__.php';
$args = new PhutilArgumentParser($argv);
View
16 scripts/utils/envinfo.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
show_ini('display_errors');
show_ini('error_reporting');
show_ini('error_log');
View
16 scripts/utils/lock.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
require_once dirname(dirname(__FILE__)).'/__init_script__.php';
$args = new PhutilArgumentParser($argv);
View
16 scripts/utils/utf8.php
@@ -1,22 +1,6 @@
#!/usr/bin/env php
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
require_once dirname(dirname(__FILE__)).'/__init_script__.php';
$args = new PhutilArgumentParser($argv);
View
16 src/__phutil_library_init__.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
define('__LIBPHUTIL__', true);
/**
View
16 src/aphront/storage/connection/AphrontDatabaseConnection.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @task xaction Transaction Management
* @group storage
View
16 src/aphront/storage/connection/AphrontDatabaseTransactionState.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Represents current transaction state of a connection.
*
View
16 src/aphront/storage/connection/AphrontIsolatedDatabaseConnection.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*/
View
16 src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnection.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*/
View
16 src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnectionBase.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*/
View
16 src/aphront/storage/connection/mysql/AphrontMySQLiDatabaseConnection.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*
View
16 src/aphront/storage/exception/AphrontQueryAccessDeniedException.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*/
View
16 src/aphront/storage/exception/AphrontQueryConnectionException.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*/
View
16 src/aphront/storage/exception/AphrontQueryConnectionLostException.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*/
View
16 src/aphront/storage/exception/AphrontQueryCountException.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*/
View
16 src/aphront/storage/exception/AphrontQueryDeadlockException.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*/
View
16 src/aphront/storage/exception/AphrontQueryDuplicateKeyException.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*/
View
16 src/aphront/storage/exception/AphrontQueryException.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
* @concrete-extensible
View
16 src/aphront/storage/exception/AphrontQueryNotSupportedException.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*/
View
16 src/aphront/storage/exception/AphrontQueryObjectMissingException.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*/
View
16 src/aphront/storage/exception/AphrontQueryParameterException.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*/
View
16 src/aphront/storage/exception/AphrontQueryRecoverableException.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*/
View
16 src/aphront/storage/exception/AphrontQuerySchemaException.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group storage
*/
View
16 src/aphront/writeguard/AphrontScopedUnguardedWriteCapability.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group aphront
*/
View
16 src/aphront/writeguard/AphrontWriteGuard.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Guard writes against CSRF. The Aphront structure takes care of most of this
* for you, you just need to call:
View
16 src/channel/PhutilChannel.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Wrapper arounds streams, pipes, and other things that have basic read/write
* I/O characteristics.
View
16 src/channel/PhutilChannelChannel.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Channel that wraps some other channel. This class is not interesting on its
* own and just serves as a no-op proxy, but extending it allows you to compose
View
16 src/channel/PhutilExecChannel.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Channel on an underlying @{class:ExecFuture}. For a description of channels,
* see @{class:PhutilChannel}.
View
16 src/channel/PhutilJSONProtocolChannel.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Channel that transmits dictionaries of primitives using JSON serialization.
* This channel is not binary safe.
View
16 src/channel/PhutilPHPObjectProtocolChannel.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Channel that transmits PHP objects using PHP serialization. This channel
* is binary safe.
View
16 src/channel/PhutilProtocolChannel.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Wraps a @{class:PhutilChannel} and implements a message-oriented protocol
* on top of it. A protocol channel behaves like a normal channel, except that
View
16 src/channel/PhutilSocketChannel.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Channel on an underlying stream socket or socket pair. For a description of
* channels, see @{class:PhutilChannel}.
View
16 src/channel/__tests__/PhutilJSONProtocolChannelTestCase.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
final class PhutilJSONProtocolChannelTestCase extends PhutilTestCase {
public function testJSONChannelBasics() {
View
16 src/channel/__tests__/PhutilPHPObjectProtocolChannelTestCase.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
final class PhutilPHPObjectProtocolChannelTestCase extends PhutilTestCase {
public function testPHPObjectChannelBasics() {
View
16 src/conduit/ConduitClient.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group conduit
*/
View
16 src/conduit/ConduitClientException.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group conduit
*/
View
16 src/conduit/ConduitFuture.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group conduit
*/
View
16 src/console/PhutilConsole.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Provides access to the command-line console. Instead of reading from or
* writing to stdin/stdout/stderr directly, this class provides a richer API
View
16 src/console/PhutilConsoleFormatter.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group console
*/
View
16 src/console/PhutilConsoleMessage.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
final class PhutilConsoleMessage {
const TYPE_CONFIRM = 'phutil:confirm';
View
16 src/console/PhutilConsoleServer.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group console
*/
View
16 src/console/PhutilConsoleServerChannel.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group console
*/
View
16 src/console/PhutilConsoleStdinNotInteractiveException.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2011 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Thrown when you prompt the user with @{function:phutil_console_prompt} or
* @{function:phutil_console_confirm} but stdin is not an interactive TTY so
View
16 src/console/PhutilInteractiveEditor.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Edit a document interactively, by launching $EDITOR (like vi or nano).
*
View
16 src/console/__tests__/PhutilConsoleWrapTestCase.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group testcase
*/
View
16 src/console/format.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* @group console
*/
View
16 src/daemon/PhutilDaemon.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Scaffolding for implementing robust background processing scripts.
*
View
16 src/daemon/PhutilDaemonOverseer.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
/**
* Oversees a daemon and restarts it if it fails.
*
View
16 src/daemon/torture/PhutilExcessiveServiceCallsDaemon.php
@@ -1,21 +1,5 @@
<?php
-/*
- * Copyright 2012 Facebook, Inc.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may ob