GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

JsControl   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 1
cbo 1
dl 0
loc 11
ccs 5
cts 5
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 6 2
1
<?php
2
3
namespace GulpAssets;
4
5
/**
6
 * @author Adam Bisek <[email protected]>
7
 */
8
class JsControl extends BaseControl
9
{
10
11 1
	public function render()
12
	{
13 1
		foreach ($this->files as $file) {
14 1
			echo '<script type="text/javascript" src="' . $this->formatFileUrl($file) . '"></script>';
15 1
		}
16 1
	}
17
18
}