]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Make properties in the `PhutilUnitTestEngineTestCase` class private
authorJoshua Spence <josh@joshuaspence.com>
Thu, 8 Jan 2015 11:43:44 +0000 (22:43 +1100)
committerJoshua Spence <josh@joshuaspence.com>
Thu, 8 Jan 2015 11:43:44 +0000 (22:43 +1100)
Summary: There's no need for these properties to be (implicitly) public.

Test Plan: N/A

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

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

src/unit/engine/__tests__/PhutilUnitTestEngineTestCase.php

index 717c00b36619d5731719d07fbc73069ee711d99a..aa055910ac590a528f3580f9c53041cf9a0fd004 100644 (file)
@@ -5,10 +5,10 @@
  */
 final class PhutilUnitTestEngineTestCase extends ArcanistTestCase {
 
-  static $allTestsCounter = 0;
-  static $oneTestCounter = 0;
-  static $distinctWillRunTests = array();
-  static $distinctDidRunTests = array();
+  private static $allTestsCounter = 0;
+  private static $oneTestCounter = 0;
+  private static $distinctWillRunTests = array();
+  private static $distinctDidRunTests = array();
 
   protected function willRunTests() {
     self::$allTestsCounter++;