title: PHPUnit: setUpBeforeClass and tearDownAfterClass is not working
body: <p>In my test cases, I have extend my test case class to another base class, where I have used <code>setUp</code> to set the global variables. I have extended this base class to child class where I have written test cases. Now, I have many child test classes which extends this base class. That's why, rather than using <code>setUp</code> in each child class, I have used only in base class. </p>
  
  <p>This is my setup:</p>
  
  <ol>
  <li><p>Base Class</p>
  
  <pre><code>use PHPUnit\Framework\TestCase;
  
  class BaseClass extends TestCase
  {
      public static function setUpBeforeClass(){
          //global vars setup
      }
  
      public static function tearDownAfterClass(){
          //global vars teardown
      }
  }
  </code></pre></li>
  <li><p>Child Class</p>
  
  <pre><code>class ChildClass extends BaseClass
  {
      public static function setUpBeforeClass(){
          //setup some other stuff related to only this child class 
          parent::setUpBeforeClass();
      }
  
      public static function tearDownAfterClass(){
          //teardown some other stuff related to only this child class 
          parent::tearDownAfterClass();
      }
  }
  </code></pre></li>
  </ol>
  
  <p>Now, I want to use PHPUnit's <code>setUpBeforeClass</code> and <code>tearDownAfterClass</code> in my child classes to do some other stuff which is only related to only this child class. </p>
  
  <p>But it is not working. After running tests, PHPUnit stops suddenly without throwing any errors. Kindly guide me here.</p>