Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TestTriggeredDeprecationSubscriber.php

class TestTriggeredDeprecationSubscriber

Same name in this branch
  1. 11.1.x vendor/phpunit/phpunit/src/TextUI/Output/Default/ProgressPrinter/Subscriber/TestTriggeredDeprecationSubscriber.php \PHPUnit\TextUI\Output\Default\ProgressPrinter\TestTriggeredDeprecationSubscriber
  2. 11.1.x vendor/phpunit/phpunit/src/Runner/Baseline/Subscriber/TestTriggeredDeprecationSubscriber.php \PHPUnit\Runner\Baseline\TestTriggeredDeprecationSubscriber
  3. 11.1.x vendor/phpunit/phpunit/src/Runner/TestResult/Subscriber/TestTriggeredDeprecationSubscriber.php \PHPUnit\TestRunner\TestResult\TestTriggeredDeprecationSubscriber

@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

@internal This class is not covered by the backward compatibility promise for PHPUnit

Hierarchy

  • class \PHPUnit\Logging\TestDox\Subscriber
    • class \PHPUnit\Logging\TestDox\TestTriggeredDeprecationSubscriber extends \PHPUnit\Logging\TestDox\Subscriber implements \PHPUnit\Event\Test\DeprecationTriggeredSubscriber

Expanded class hierarchy of TestTriggeredDeprecationSubscriber

File

vendor/phpunit/phpunit/src/Logging/TestDox/TestResult/Subscriber/TestTriggeredDeprecationSubscriber.php, line 20

Namespace

PHPUnit\Logging\TestDox
View source
final class TestTriggeredDeprecationSubscriber extends Subscriber implements DeprecationTriggeredSubscriber {
    public function notify(DeprecationTriggered $event) : void {
        $this->collector()
            ->testTriggeredDeprecation($event);
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
Subscriber::$collector private property
Subscriber::collector protected function
Subscriber::__construct public function
TestTriggeredDeprecationSubscriber::notify public function Overrides DeprecationTriggeredSubscriber::notify

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal