]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Finalize Arcanist Classes
authorepriestley <git@epriestley.com>
Tue, 31 Jan 2012 20:07:05 +0000 (12:07 -0800)
committerepriestley <git@epriestley.com>
Tue, 31 Jan 2012 20:07:05 +0000 (12:07 -0800)
Summary:
Mark all applicable Arcanist classes as "final", except PhutilLintEngine, which
needs a little finesse.

@jungejason / @nh, does this break any Facebook stuff?

Test Plan: Linter no longer raises warnings. Ran "testEverythingImplemented" in
Phabricator.

Reviewers: btrahan, jungejason, nh

Reviewed By: btrahan

CC: aran, epriestley
Maniphest Tasks: T795

Differential Revision: https://secure.phabricator.com/D1519

75 files changed:
src/branch/BranchInfo.php
src/configuration/ArcanistConfiguration.php
src/difference/__tests__/ArcanistDiffUtilsTestCase.php
src/differential/commitmessage/ArcanistDifferentialCommitMessage.php
src/differential/commitmessage/ArcanistDifferentialCommitMessageParserException.php
src/differential/revision/ArcanistDifferentialRevisionRef.php
src/exception/ArcanistChooseInvalidRevisionException.php
src/exception/ArcanistChooseNoRevisionsException.php
src/exception/usage/ArcanistUsageException.php
src/exception/usage/noeffect/ArcanistNoEffectException.php
src/exception/usage/noengine/ArcanistNoEngineException.php
src/exception/usage/userabort/ArcanistUserAbortException.php
src/lint/engine/base/ArcanistLintEngine.php
src/lint/engine/comprehensive/ComprehensiveLintEngine.php
src/lint/engine/example/ExampleLintEngine.php
src/lint/engine/liberate/ArcanistLiberateLintEngine.php
src/lint/engine/phutil/PhutilLintEngine.php
src/lint/linter/apachelicense/ArcanistApacheLicenseLinter.php
src/lint/linter/apachelicense/__tests__/ArcanistApacheLicenseLinterTestCase.php
src/lint/linter/base/ArcanistLinter.php
src/lint/linter/conduit/ArcanistConduitLinter.php
src/lint/linter/filename/ArcanistFilenameLinter.php
src/lint/linter/generated/ArcanistGeneratedLinter.php
src/lint/linter/jshint/ArcanistJSHintLinter.php
src/lint/linter/nolint/ArcanistNoLintLinter.php
src/lint/linter/pep8/ArcanistPEP8Linter.php
src/lint/linter/phutilmodule/ArcanistPhutilModuleLinter.php
src/lint/linter/pyflakes/ArcanistPyFlakesLinter.php
src/lint/linter/pylint/ArcanistPyLintLinter.php
src/lint/linter/spelling/ArcanistSpellingLinter.php
src/lint/linter/spelling/__tests__/ArcanistSpellingLinterTestCase.php
src/lint/linter/text/ArcanistTextLinter.php
src/lint/linter/text/__tests__/ArcanistTextLinterTestCase.php
src/lint/linter/xhpast/ArcanistXHPASTLinter.php
src/lint/linter/xhpast/__tests__/ArcanistXHPASTLinterTestCase.php
src/lint/message/ArcanistLintMessage.php
src/lint/renderer/ArcanistLintJSONRenderer.php
src/lint/renderer/ArcanistLintRenderer.php
src/lint/renderer/ArcanistLintSummaryRenderer.php
src/lint/severity/ArcanistLintSeverity.php
src/parser/bundle/ArcanistBundle.php
src/parser/diff/ArcanistDiffParser.php
src/parser/diff/__tests__/ArcanistDiffParserTestCase.php
src/parser/diff/change/ArcanistDiffChange.php
src/parser/diff/changetype/ArcanistDiffChangeType.php
src/parser/diff/hunk/ArcanistDiffHunk.php
src/parser/phutilmodule/PhutilModuleRequirements.php
src/repository/api/git/ArcanistGitAPI.php
src/repository/api/mercurial/ArcanistMercurialAPI.php
src/repository/api/subversion/ArcanistSubversionAPI.php
src/repository/hookapi/subversion/ArcanistSubversionHookAPI.php
src/unit/engine/phutil/PhutilUnitTestEngine.php
src/unit/engine/phutil/__tests__/PhutilUnitTestEngineTestCase.php
src/unit/engine/phutil/testcase/exception/ArcanistPhutilTestTerminatedException.php
src/unit/result/ArcanistUnitTestResult.php
src/workflow/amend/ArcanistAmendWorkflow.php
src/workflow/base/ArcanistBaseWorkflow.php
src/workflow/branch/ArcanistBranchWorkflow.php
src/workflow/call-conduit/ArcanistCallConduitWorkflow.php
src/workflow/commit/ArcanistCommitWorkflow.php
src/workflow/cover/ArcanistCoverWorkflow.php
src/workflow/diff/ArcanistDiffWorkflow.php
src/workflow/git-hook-pre-receive/ArcanistGitHookPreReceiveWorkflow.php
src/workflow/help/ArcanistHelpWorkflow.php
src/workflow/install-certificate/ArcanistInstallCertificateWorkflow.php
src/workflow/land/ArcanistLandWorkflow.php
src/workflow/liberate/ArcanistLiberateWorkflow.php
src/workflow/list/ArcanistListWorkflow.php
src/workflow/mark-committed/ArcanistMarkCommittedWorkflow.php
src/workflow/merge/ArcanistMergeWorkflow.php
src/workflow/shell-complete/ArcanistShellCompleteWorkflow.php
src/workflow/svn-hook-pre-commit/ArcanistSvnHookPreCommitWorkflow.php
src/workflow/unit/ArcanistUnitWorkflow.php
src/workflow/which/ArcanistWhichWorkflow.php
src/workingcopyidentity/ArcanistWorkingCopyIdentity.php

index 38881c3cd2931035674f4962fc42d8212d5e0d3e..39d14d64956a23d08e25511c77b09ed4a849da93 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -20,7 +20,7 @@
  * Holds information about a single git branch, and provides methods
  * for loading and display.
  */
-class BranchInfo {
+final class BranchInfo {
 
   private $branchName;
   private $currentHead = false;
index a382ef7af1e3d2774a6725165e95af8fae8e8cb2..1a6eadda0c2b8d85acc28db7aea8eeca23b12e2e 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -37,6 +37,7 @@
  *      getCustomArgumentsForCommand().
  *
  * @group config
+ * @concrete-extensible
  */
 class ArcanistConfiguration {
 
index 0f4e37648e6a542e363a0846dc610d5e1b265e36..f34eb7cb558cfdc38f113281f332583cddda353a 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group testcase
  */
-class ArcanistDiffUtilsTestCase extends ArcanistPhutilTestCase {
+final class ArcanistDiffUtilsTestCase extends ArcanistPhutilTestCase {
   public function testLevenshtein() {
     $tests = array(
       array(
index f807221c4e29dc8ae1c10ccece7cab7c5d9e36c6..1be8f67554b754c9eb9ead541079f75f3f95eea6 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group differential
  */
-class ArcanistDifferentialCommitMessage {
+final class ArcanistDifferentialCommitMessage {
 
   private $rawCorpus;
   private $revisionID;
index e4faf5aa61100fd7dd9c15deb72cd418ebbb4c76..dea1b0eb29af037ca579c56e1feaf6c9d84686aa 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group differential
  */
-class ArcanistDifferentialCommitMessageParserException extends Exception {
+final class ArcanistDifferentialCommitMessageParserException extends Exception {
 
   private $parserErrors;
 
index 5a7668b40e340519e399b6c58c4b1647002a34c2..03796c68ed69167769da93bf3634add7bad33ef2 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group differential
  */
-class ArcanistDifferentialRevisionRef {
+final class ArcanistDifferentialRevisionRef {
 
   protected $id;
   protected $name;
index f49558d3bf73e4f1f995c9a042dc7ad8c5c8dafe..459f0cc2b18a7b834bb8c98d686e5da931a8748c 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,6 +21,6 @@
  *
  * @group workflow
  */
-class ArcanistChooseInvalidRevisionException extends Exception {
+final class ArcanistChooseInvalidRevisionException extends Exception {
 
 }
index cc8d1a739b9570e149cc6bdd2c1bd29ffade9703..e0e7d2bff2a387436990d5083d758c9e73e0597f 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -22,6 +22,6 @@
  *
  * @group workflow
  */
-class ArcanistChooseNoRevisionsException extends Exception {
+final class ArcanistChooseNoRevisionsException extends Exception {
 
 }
index 1948c69bbcacf2d91200e956569983e01a86660c..6ec385ebe2ea1b0991024397fe000f7f62759731 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,6 +21,7 @@
  * than a technical problem.
  *
  * @group workflow
+ * @concrete-extensible
  */
 class ArcanistUsageException extends Exception {
 
index fed8371e728416f7618640c7d9b3d97d0787c4f8..4cca1ab033e5ed6946641665a91171969d5a3318 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -22,5 +22,5 @@
  *
  * @group workflow
  */
-class ArcanistNoEffectException extends ArcanistUsageException {
+final class ArcanistNoEffectException extends ArcanistUsageException {
 }
index 5a118af95a02132041db46c795f4b61f3cb41b26..ba76e449dfa31474affd9c502a2ed0fa18d132ed 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,5 +21,5 @@
  *
  * @group workflow
  */
-class ArcanistNoEngineException extends ArcanistUsageException {
+final class ArcanistNoEngineException extends ArcanistUsageException {
 }
index 43b6c05fcdc99550296661068c2b4775ac626fad..c6ed1d5c609c7f9ecdedf9d3f64768ac77a930bf 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -22,7 +22,7 @@
  *
  * @group workflow
  */
-class ArcanistUserAbortException extends ArcanistUsageException {
+final class ArcanistUserAbortException extends ArcanistUsageException {
   public function __construct() {
     parent::__construct('User aborted the workflow.');
   }
index 72d441f6686f29b87ecb6bd13d82e51eed4f1c52..45edff2897819af6cbeb8e3e15862b909e42838e 100644 (file)
@@ -56,6 +56,7 @@
  * and Workflows} for more information about configuring lint engines.
  *
  * @group lint
+ * @stable
  */
 abstract class ArcanistLintEngine {
 
index 2aea781af72a7a0b6a87b7e6ad0649a0adebbe27..6e0c0d26818f68ae4f4d57f4dd2f2c94073a20d5 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group linter
  */
-class ComprehensiveLintEngine extends ArcanistLintEngine {
+final class ComprehensiveLintEngine extends ArcanistLintEngine {
 
   public function buildLinters() {
     $linters = array();
index d99e7e8101d237f4b1698ed2a37ff91dc8302df0..b6106d7949c8b4f4fd86f51ec8c517c73b4061c1 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -23,7 +23,7 @@
  *
  * @group linter
  */
-class ExampleLintEngine extends ArcanistLintEngine {
+final class ExampleLintEngine extends ArcanistLintEngine {
 
   public function buildLinters() {
 
index 111ad43ab52658c18c7fecd7f1f608bfbbe5534e..3b1d9e47d91c401c055517ffad2127deedf57810 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group linter
  */
-class ArcanistLiberateLintEngine extends ArcanistLintEngine {
+final class ArcanistLiberateLintEngine extends ArcanistLintEngine {
 
   public function buildLinters() {
     // We just run the module linter, 'arc liberate' is only interested in
index ac4ecdd8b2ee7567965892c03a5f89361c7a2cfe..42d811849d1d528b0a682e8d1d647323ec9ed5fa 100644 (file)
@@ -19,6 +19,8 @@
 /**
  * Lint engine which enforces libphutil rules.
  *
+ * TODO: Deal with PhabricatorLintEngine extending this and then finalize it.
+ *
  * @group linter
  */
 class PhutilLintEngine extends ArcanistLintEngine {
index f150572aa61aae571ee12fa2cabe4f5033bd5532..ff0336da5f3ef3b417b435e36fc239c9f2212148 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group linter
  */
-class ArcanistApacheLicenseLinter extends ArcanistLicenseLinter {
+final class ArcanistApacheLicenseLinter extends ArcanistLicenseLinter {
   public function getLinterName() {
     return 'APACHELICENSE';
   }
index def0666dbbfff77edb9f172233ac03f2ea481d7b..5c5f6939ceab798ae1e1c461d7188455a8a28fbe 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group testcase
  */
-class ArcanistApacheLicenseLinterTestCase extends ArcanistLinterTestCase {
+final class ArcanistApacheLicenseLinterTestCase extends ArcanistLinterTestCase {
 
   public function testApacheLicenseLint() {
     $linter = new ArcanistApacheLicenseLinter();
index de9db19b3f1fc18fa5e61c7e2fc88037dca3bc19..366c0a69d73fe1412b3434fc749eb690f5c96a46 100644 (file)
@@ -20,6 +20,7 @@
  * Implements lint rules, like syntax checks for a specific language.
  *
  * @group linter
+ * @stable
  */
 abstract class ArcanistLinter {
 
index 97d1eaf248a7ce32565cbcdf40b52e96f26850d2..68c03132e2efe285d5932ccb20b5144bdb858bac 100644 (file)
@@ -49,7 +49,7 @@
  * This class is intended for customization via instantiation, not via
  * subclassing.
  */
-class ArcanistConduitLinter extends ArcanistLinter {
+final class ArcanistConduitLinter extends ArcanistLinter {
   const CONDUIT_METHOD = 'lint.getalllint';
 
   private $conduitURI;
index f5630c03957520753077cff4c94f5f3cdd665768..a529bd74b86163aa53b03b04b86d782e6f43c5e6 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group linter
  */
-class ArcanistFilenameLinter extends ArcanistLinter {
+final class ArcanistFilenameLinter extends ArcanistLinter {
 
   const LINT_BAD_FILENAME = 1;
 
index 91e30eff513dbc9a923ba63befc4a0d95e11a93c..84ee58bee97d9fc0a39b22023df79e95193adc52 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group linter
  */
-class ArcanistGeneratedLinter extends ArcanistLinter {
+final class ArcanistGeneratedLinter extends ArcanistLinter {
 
   public function willLintPaths(array $paths) {
     return;
index db4c53a200f23e369b5edbf68288daca09b1c3b7..6d25a4dd56d66e609e57a9851caecc6dcc500560 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -52,7 +52,7 @@
  *
  * @group linter
  */
-class ArcanistJSHintLinter extends ArcanistLinter {
+final class ArcanistJSHintLinter extends ArcanistLinter {
 
   const JSHINT_ERROR = 1;
 
index 705446eec41403be8631b956e2654a8a74545564..a6c4b6e48ddbebc47ff853c57e93834adaf51230 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -22,7 +22,7 @@
  *
  * @group linter
  */
-class ArcanistNoLintLinter extends ArcanistLinter {
+final class ArcanistNoLintLinter extends ArcanistLinter {
   public function willLintPaths(array $paths) {
     return;
   }
index d05bc9b6b266814c1b2d46a64ed7ab6be9abea54..9e5aa6b2935f384b47d52806e5df0690ea9d4a16 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group linter
  */
-class ArcanistPEP8Linter extends ArcanistLinter {
+final class ArcanistPEP8Linter extends ArcanistLinter {
 
   public function willLintPaths(array $paths) {
     return;
index b8d5698051e15dd7dcb0cfc01db15bfa6e234cbd..71e3f785064617910be5a0e9020f321f377e5a45 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group linter
  */
-class ArcanistPhutilModuleLinter extends ArcanistLinter {
+final class ArcanistPhutilModuleLinter extends ArcanistLinter {
 
   const LINT_UNDECLARED_CLASS       = 1;
   const LINT_UNDECLARED_FUNCTION    = 2;
index 3b2dfbaa12e92c33c202a1b81d6b581a2e4b20d9..921db13d005f0ec029e1a85a484622c80dd47eed 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group linter
  */
-class ArcanistPyFlakesLinter extends ArcanistLinter {
+final class ArcanistPyFlakesLinter extends ArcanistLinter {
 
   public function willLintPaths(array $paths) {
     return;
index 51c48fdd18a2489a749285367b406bf077bf1a0b..0a01c64e9fad84c20cdbb04e850c77336de14c2b 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -67,7 +67,7 @@
  *
  * @group linter
  */
-class ArcanistPyLintLinter extends ArcanistLinter {
+final class ArcanistPyLintLinter extends ArcanistLinter {
 
   private function getMessageCodeSeverity($code) {
 
index 4560f7ee53d723203e54714640e0519d81b559e6..5abd8933a297435a1a45db7a4c7f99b7d19798e5 100644 (file)
@@ -24,7 +24,7 @@
  *
  * @group linter
  */
-class ArcanistSpellingLinter extends ArcanistLinter {
+final class ArcanistSpellingLinter extends ArcanistLinter {
 
   const LINT_SPELLING_PICKY = 0;
   const LINT_SPELLING_IMPORTANT = 1;
index cbaa17b91c80d33ea03599eabde7bbe11e282f02..cdead793e048cc61c3052d86748f39c9cc0be638 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group testcase
  */
-class ArcanistSpellingLinterTestCase extends ArcanistLinterTestCase {
+final class ArcanistSpellingLinterTestCase extends ArcanistLinterTestCase {
 
   public function testSpellingLint() {
     $linter = new ArcanistSpellingLinter();
index a3c1df301fbde095de8b7562cc2596596dd8e4aa..8326af264c52240ea342c7ada4dd7192becf0c72 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group linter
  */
-class ArcanistTextLinter extends ArcanistLinter {
+final class ArcanistTextLinter extends ArcanistLinter {
 
   const LINT_DOS_NEWLINE            = 1;
   const LINT_TAB_LITERAL            = 2;
index a271bcc05ee24b86c14de703896ad052b965ffd1..021eff46a217d6aa156017a23b9d78e58763c702 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group testcase
  */
-class ArcanistTextLinterTestCase extends ArcanistLinterTestCase {
+final class ArcanistTextLinterTestCase extends ArcanistLinterTestCase {
 
   public function testTextLint() {
     $linter = new ArcanistTextLinter();
index 97598bfda21d0b8c0388c56ec98de0d66cde61ad..f78cd3abe0624fbea699f8aa4e9162eac212351b 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group linter
  */
-class ArcanistXHPASTLinter extends ArcanistLinter {
+final class ArcanistXHPASTLinter extends ArcanistLinter {
 
   protected $trees = array();
 
index b18aafd4ae5d12d643227c0432f3d1a503fcf096..6228aee3ba3f1b03caa45eeb7c88eb1b165daef9 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group testcase
  */
-class ArcanistXHPASTLinterTestCase extends ArcanistLinterTestCase {
+final class ArcanistXHPASTLinterTestCase extends ArcanistLinterTestCase {
 
   public function testXHPASTLint() {
     $linter = new ArcanistXHPASTLinter();
index dcfa241803bf257254f4905169fcaef7c96931fb..8fe9850ef6186a0668baabf2f440db1b41739993 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group lint
  */
-class ArcanistLintMessage {
+final class ArcanistLintMessage {
 
   protected $path;
   protected $line;
index d5bed9a6f78c94b7c21cd06e18524644b91ceca3..5cde7cce28ea03deeade0503077a8e8f354e85f1 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group lint
  */
-class ArcanistLintJSONRenderer {
+final class ArcanistLintJSONRenderer {
   const LINES_OF_CONTEXT = 3;
 
   public function renderLintResult(ArcanistLintResult $result) {
index 235e1612bba45cd8ba0bf63d085adc96bb86b6bc..cdc416e2540d4a3805b6d44470fe6f83299bf04b 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group lint
  */
-class ArcanistLintRenderer {
+final class ArcanistLintRenderer {
   public function renderLintResult(ArcanistLintResult $result) {
     $messages = $result->getMessages();
     $path = $result->getPath();
index b5b224778209d4c699ad87db8ed5f658f6eb3c88..a9d053753fe6a7a51f85a9000ac74582a565b262 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group lint
  */
-class ArcanistLintSummaryRenderer {
+final class ArcanistLintSummaryRenderer {
   public function renderLintResult(ArcanistLintResult $result) {
     $messages = $result->getMessages();
     $path = $result->getPath();
index 62b1159188a04bc2cc220f159fa3fefa8e750463..f4d3191b83519c23f174be9f6525d61315fe4b50 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group lint
  */
-class ArcanistLintSeverity {
+final class ArcanistLintSeverity {
 
   const SEVERITY_ADVICE       = 'advice';
   const SEVERITY_WARNING      = 'warning';
index 5acc8603db1c43d43892ff70f860c43e91f55426..f7be40d24c9daed7432ae18489f70a2a768c6250 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group diff
  */
-class ArcanistBundle {
+final class ArcanistBundle {
 
   private $changes;
   private $conduit;
index 1a7d478da5e6de77026a1805fc337fe7dac99d8c..c279e7c87fb272df7f517facb55c7dc7e0efb65a 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group diff
  */
-class ArcanistDiffParser {
+final class ArcanistDiffParser {
 
   protected $api;
   protected $text;
index 3bac9f98d50b140e7c22c1f0433d23e8d2a197b1..5164db798a21c4812222512952d5bf306df29b79 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group testcase
  */
-class ArcanistDiffParserTestCase extends ArcanistPhutilTestCase {
+final class ArcanistDiffParserTestCase extends ArcanistPhutilTestCase {
 
   public function testParser() {
     $root = dirname(__FILE__).'/data/';
index 3b0935013729061b533759a7a27d51a73b5fab25..16ab7c3d1344ef7ae09250d28475bb93260f374e 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group diff
  */
-class ArcanistDiffChange {
+final class ArcanistDiffChange {
 
   protected $metadata = array();
 
index be68a5b648ba4aa9c2858dbde31974feb13dbf8b..fb3ea4641a1c52b69548468a1235cfae8830eeb5 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group diff
  */
-class ArcanistDiffChangeType {
+final class ArcanistDiffChangeType {
   const TYPE_ADD        = 1;
   const TYPE_CHANGE     = 2;
   const TYPE_DELETE     = 3;
index e634f6212cc1d4d6ab5e2cb7358decbff028fbfa..150815de617ab91857c90fc12bcf7794e13a1758 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group diff
  */
-class ArcanistDiffHunk {
+final class ArcanistDiffHunk {
 
   protected $oldOffset;
   protected $oldLength;
index 894932b6052f62efc6aa61178002973a05611e39..4b50e4b912fd9aed00042fe5a7a1a30856fc295f 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group module
  */
-class PhutilModuleRequirements {
+final class PhutilModuleRequirements {
 
   protected $builtins = array(
     'class'       => array(),
index c25f3d6617cb1655d097728645605d0b7211d859..890f17ab5d6a6f39b916aa774e9e8f977f75b787 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group workingcopy
  */
-class ArcanistGitAPI extends ArcanistRepositoryAPI {
+final class ArcanistGitAPI extends ArcanistRepositoryAPI {
 
   private $status;
   private $relativeCommit = null;
index 9aa736b99ab10cfe07eabe9200de189c50886956..f7c54ffb526ceb73adaf2f414c302518d3076dc8 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group workingcopy
  */
-class ArcanistMercurialAPI extends ArcanistRepositoryAPI {
+final class ArcanistMercurialAPI extends ArcanistRepositoryAPI {
 
   private $status;
   private $base;
index 2070734e84da8c5e60654a85a24349fbc6aed0ad..d580da09cc1acf8700060617125efcd33707cd42 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group workingcopy
  */
-class ArcanistSubversionAPI extends ArcanistRepositoryAPI {
+final class ArcanistSubversionAPI extends ArcanistRepositoryAPI {
 
   protected $svnStatus;
   protected $svnBaseRevisions;
index 0982f03331a568a7d2cd0a53736a58eb9a24c8b1..2381df43f42a71c34848a16cff649e3c452ddebb 100644 (file)
@@ -19,7 +19,7 @@
 /**
  * Interfaces with Subversion while running as a commit hook.
  */
-class ArcanistSubversionHookAPI extends ArcanistHookAPI {
+final class ArcanistSubversionHookAPI extends ArcanistHookAPI {
 
   protected $root;
   protected $transaction;
index f46862285dc5a5b2de537cd8b5a227ccb630b47f..7f8f5199893871bb2802d8c9ffeaa9e40d6216e2 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group unitrun
  */
-class PhutilUnitTestEngine extends ArcanistBaseUnitTestEngine {
+final class PhutilUnitTestEngine extends ArcanistBaseUnitTestEngine {
 
   public function run() {
 
index 9b55c8472ee033dd6f5d7de6318d2f456a9960a4..b8d45bc2761acace8b56452db44e47a1fb4e034f 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group testcase
  */
-class PhutilUnitTestEngineTestCase extends ArcanistPhutilTestCase {
+final class PhutilUnitTestEngineTestCase extends ArcanistPhutilTestCase {
 
   static $allTestsCounter = 0;
   static $oneTestCounter = 0;
index 1c80ea4c06c15d821a8437ee479c50f7b9c07163..5d0c76e72ccc5c67f80e4f65f36ca42f5678a32b 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,4 +21,4 @@
  *
  * @group unitrun
  */
-class ArcanistPhutilTestTerminatedException extends Exception {}
+final class ArcanistPhutilTestTerminatedException extends Exception {}
index e2d633663720bb452fe7702195be709a7e1069ec..688dc894d0cae88d832e974a7a423ee67916bc65 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group unit
  */
-class ArcanistUnitTestResult {
+final class ArcanistUnitTestResult {
 
   const RESULT_PASS         = 'pass';
   const RESULT_FAIL         = 'fail';
index e2cb9844bca494004e405d9cfd9b0b23e2e2dcb5..fa0bc7c7ddbfd61541b847ff8b98eed9823c9747 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistAmendWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistAmendWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
index 7a4598610b32909cea7ebc9d74f240e222a9397d..c51820580c58e82d544063c532ab18a8b0494b48 100644 (file)
@@ -39,8 +39,9 @@
  *
  * @task  conduit   Conduit
  * @group workflow
+ * @stable
  */
-class ArcanistBaseWorkflow {
+abstract class ArcanistBaseWorkflow {
 
   private $conduit;
   private $conduitURI;
index fa6767f8e003657186ad3d07adb90a64ce0a777b..cc56998e2b0a9b4f563eaecab5a145375ca1c6a5 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistBranchWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistBranchWorkflow extends ArcanistBaseWorkflow {
 
   private $branches;
 
index 7a225dd3a0e1dda5b8cf055ac2d209cc39de3266..713e4840db77b9d3d3a3e4f5f2aa7814bb19c92a 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistCallConduitWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistCallConduitWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
index f683988132f4f7eb37b38611baeb6a53777eb139..dca10af6f9558edf195ec80df2ad867d6d992906 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistCommitWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistCommitWorkflow extends ArcanistBaseWorkflow {
 
   private $revisionID;
 
index 44d5792fcb16b4b7617da85848ce32d81b289ce1..6413a8be7db8eee846c67c727ba4b4d676acb791 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistCoverWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistCoverWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
index 0643fcce766745d5b215727ccf3d294b90a85737..49d28bcfed1ee33947cc646daeaa514e4ec1062f 100644 (file)
@@ -26,7 +26,7 @@
  *
  * @group workflow
  */
-class ArcanistDiffWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistDiffWorkflow extends ArcanistBaseWorkflow {
 
   private $hasWarnedExternals = false;
   private $unresolvedLint;
index 1f36277ea65d2d5c05e12fcefda0c0afa8b4923f..27d13519f903b456b5b4ae9522202e8607be0a1c 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistGitHookPreReceiveWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistGitHookPreReceiveWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
index d4421e82be1e5f4cfb42e5a50e60e3db9663e05f..8a72513e99322efa8dcd6d55be59884fce4d2652 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistHelpWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistHelpWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
index eea0cffadb52fabfd14ad840c2be3e35c5ad7f74..36aadc93b46d5a3fd459df7513c31b483620095f 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistInstallCertificateWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistInstallCertificateWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
index f6fd53cc88081704508971f441d8fb37024722c0..742896d13d59470f4165087e620645477e8895d2 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistLandWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistLandWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
index 6828939225d1ec3ee349834114d4830827a40a9e..f779d348eb57d21bbfe9472788b880c62c1f35d0 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -27,7 +27,7 @@
  *
  * @group workflow
  */
-class ArcanistLiberateWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistLiberateWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
index 0ab5fd65612c6027a8b557bad4ab220443a6f0e6..f020ebf184cb09724c4fa6ca86dc2f04513a7ee2 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistListWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistListWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
index a83b5f25b35a2007ba3c6fad8026663bb9d0f63b..6d4a326d0f8cfb4767352e0cf3edf346aad18e93 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistMarkCommittedWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistMarkCommittedWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
index 881e1fb966254a015de38e5281274bc076d40dd2..0271c1278fcad8f8d2e952616fb45ce9876a0ba4 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -22,7 +22,7 @@
  *
  * @group workflow
  */
-class ArcanistMergeWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistMergeWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
index 7cd8463ef35e7005a63a214da6994ac8510a70c7..c297ac0b9ce4cb6deafd878170829967bcd6b6e3 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistShellCompleteWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistShellCompleteWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
index 4e2acd3dd981c5adc1076bcb1700d67301fa0ba1..a8fc9ddec46598eef956c034bee64f1dd7bf2705 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistSvnHookPreCommitWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistSvnHookPreCommitWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
index 9b9c21a2bcbdf1ff26e4dac8d0cc0f23b1bea301..4c4c1259a84a696dba334ff7ae7c21b5c6184fa3 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistUnitWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistUnitWorkflow extends ArcanistBaseWorkflow {
 
   const RESULT_OKAY      = 0;
   const RESULT_UNSOUND   = 1;
index 0c73bb7ec19f2b48a77fe19ee3b35ad13ceddf53..d344b0e15e1adef36b5a7cdfc195abd19077d5ac 100644 (file)
@@ -21,7 +21,7 @@
  *
  * @group workflow
  */
-class ArcanistWhichWorkflow extends ArcanistBaseWorkflow {
+final class ArcanistWhichWorkflow extends ArcanistBaseWorkflow {
 
   public function getCommandHelp() {
     return phutil_console_format(<<<EOTEXT
index 7763ac9a110b5de9f3b693179207a62fd215794d..0468074dc97f6c3e9f352f4129ad3867347c9aab 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 /*
- * Copyright 2011 Facebook, Inc.
+ * 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.
@@ -21,7 +21,7 @@
  *
  * @group workingcopy
  */
-class ArcanistWorkingCopyIdentity {
+final class ArcanistWorkingCopyIdentity {
 
   protected $projectConfig;
   protected $projectRoot;