Completed
Push — master ( 40e85b...a444ad )
by Jeroen De
05:09
created

MediaWikiBoundTestCase   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A setUpBeforeClass() 0 5 2
1
<?php
2
3
namespace GitHub\Tests;
4
5
use PHPUnit\Framework\TestCase;
6
7
abstract class MediaWikiBoundTestCase extends TestCase {
8
9
	public static function setUpBeforeClass() {
10
		if ( !class_exists( 'Parser' ) ) {
11
			self::markTestSkipped( 'MediaWiki is not available' );
12
		}
13
	}
14
15
}
16