checkClassCommandRequirements example


  private PhpExecutableFinder $phpFinder;

  /** * {@inheritdoc} */
  public static function setUpBeforeClass(): void {
    parent::setUpBeforeClass();
    static::checkClassCommandRequirements();
  }

  /** * {@inheritdoc} */
  protected function setUp(): void {
    parent::setUp();
    static::checkMethodCommandRequirements($this->getName());
    $this->phpFinder = new PhpExecutableFinder();
    // Set up the workspace directory.     // @todo Glean working directory from env vars, etc.
Home | Imprint | This part of the site doesn't use cookies.