You appear to be a bot. Output may be restricted
Description
Usage
PHPUnit_Util_Test::getTickets( $class_name, $method_name );
Parameters
- $class_name
- ( mixed ) required –
- $method_name
- ( mixed ) required –
Returns
void
Source
File name: wordpress-develop-tests/phpunit/includes/phpunit6/compat.php
Lines:
1 to 15 of 15
public static function getTickets( $class_name, $method_name ) { $annotations = PHPUnit\Util\Test::parseTestMethodAnnotations( $class_name, $method_name ); $tickets = array(); if ( isset( $annotations['class']['ticket'] ) ) { $tickets = $annotations['class']['ticket']; } if ( isset( $annotations['method']['ticket'] ) ) { $tickets = array_merge( $tickets, $annotations['method']['ticket'] ); } return array_unique( $tickets ); }