MissingGroupException.php

Same filename in this branch
  1. 8.9.x core/lib/Drupal/Core/Test/Exception/MissingGroupException.php
Same filename in other branches
  1. 9 core/lib/Drupal/Core/Test/Exception/MissingGroupException.php
  2. 10 core/lib/Drupal/Core/Test/Exception/MissingGroupException.php
  3. 11.x core/lib/Drupal/Core/Test/Exception/MissingGroupException.php

Namespace

Drupal\simpletest\Exception

File

core/modules/simpletest/src/Exception/MissingGroupException.php

View source
<?php

namespace Drupal\simpletest\Exception;

@trigger_error(__NAMESPACE__ . '\\MissingGroupException is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \\Drupal\\Core\\Test\\Exception\\MissingGroupException instead. See https://www.drupal.org/node/2949692', E_USER_DEPRECATED);
use Drupal\Core\Test\Exception\MissingGroupException as CoreMissingGroupException;

/**
 * Exception thrown when a simpletest class is missing an @group annotation.
 *
 * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
 *   \Drupal\Core\Test\Exception\MissingGroupException instead.
 *
 * @see https://www.drupal.org/node/2949692
 */
class MissingGroupException extends CoreMissingGroupException {

}

Classes

Title Deprecated Summary
MissingGroupException

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Test\Exception\MissingGroupException instead.

Exception thrown when a simpletest class is missing an @group annotation.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.