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

Breadcrumb

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

function NodeTestCase::checkDataProvider

@beforeClass

File

vendor/twig/twig/src/Test/NodeTestCase.php, line 117

Class

NodeTestCase

Namespace

Twig\Test

Code

public static final function checkDataProvider() : void {
    $r = new \ReflectionMethod(static::class, 'getTests');
    if (self::class !== $r->getDeclaringClass()
        ->getName()) {
        trigger_deprecation('twig/twig', '3.13', 'Implementing "%s::getTests()" in "%s" is deprecated, implement "provideTests()" instead.', self::class, static::class);
    }
}
RSS feed
Powered by Drupal