MediaTypes
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 41
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 34
dl 0
loc 41
c 0
b 0
f 0
wmc 0
1
<?php
0 ignored issues
show
introduced by
Filenames should be all lowercase with hyphens as word separators. Expected media-types.php, but found media_types.php.
Loading history...
introduced by
Class file names should be based on the class name with "class-" prepended. Expected class-mediatypes.php, but found media_types.php.
Loading history...
Coding Style introduced by
This file is missing a doc comment.
Loading history...
2
	namespace PodloveSubscribeButton;
3
4
	class MediaTypes {
0 ignored issues
show
Coding Style Documentation introduced by
Missing class doc comment
Loading history...
5
		public static $audio = array(
0 ignored issues
show
Coding Style Documentation introduced by
Missing member variable doc comment
Loading history...
6
				0 => array(
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 12 spaces but found 16
Loading history...
7
						'title' => 'MP3 audio',
0 ignored issues
show
introduced by
Multi-line array item not aligned correctly; expected 20 spaces, but found 24
Loading history...
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Array double arrow not aligned correctly; expected 5 space(s) between "'title'" and double arrow, but found 1.
Loading history...
8
						'mime_type' => 'audio/mpeg',
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
9
						'extension' => 'mp3'
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Each array item in a multi-line array declaration must end in a comma
Loading history...
10
					),
0 ignored issues
show
introduced by
Array closer not aligned correctly; expected 16 space(s) but found 20
Loading history...
11
				1 => array(
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 12 spaces but found 16
Loading history...
12
						'title' => 'MPEG-4 AAC Audio',
0 ignored issues
show
introduced by
Multi-line array item not aligned correctly; expected 20 spaces, but found 24
Loading history...
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Array double arrow not aligned correctly; expected 5 space(s) between "'title'" and double arrow, but found 1.
Loading history...
13
						'mime_type' => 'audio/mp4',
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
14
						'extension' => 'aac'
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Each array item in a multi-line array declaration must end in a comma
Loading history...
15
					),
0 ignored issues
show
introduced by
Array closer not aligned correctly; expected 16 space(s) but found 20
Loading history...
16
				2 => array(
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 12 spaces but found 16
Loading history...
17
						'title' => 'MPEG-4 ALAC Audio',
0 ignored issues
show
introduced by
Multi-line array item not aligned correctly; expected 20 spaces, but found 24
Loading history...
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Array double arrow not aligned correctly; expected 5 space(s) between "'title'" and double arrow, but found 1.
Loading history...
18
						'mime_type' => 'audio/mp4',
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
19
						'extension' => 'aac'
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Each array item in a multi-line array declaration must end in a comma
Loading history...
20
					),
0 ignored issues
show
introduced by
Array closer not aligned correctly; expected 16 space(s) but found 20
Loading history...
21
				3 => array(
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 12 spaces but found 16
Loading history...
22
						'title' => 'Ogg Vorbis Audio',
0 ignored issues
show
introduced by
Multi-line array item not aligned correctly; expected 20 spaces, but found 24
Loading history...
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Array double arrow not aligned correctly; expected 5 space(s) between "'title'" and double arrow, but found 1.
Loading history...
23
						'mime_type' => 'audio/ogg',
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
24
						'extension' => 'ogg'
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Each array item in a multi-line array declaration must end in a comma
Loading history...
25
					),
0 ignored issues
show
introduced by
Array closer not aligned correctly; expected 16 space(s) but found 20
Loading history...
26
				4 => array(
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 12 spaces but found 16
Loading history...
27
						'title' => 'WebM Audio',
0 ignored issues
show
introduced by
Multi-line array item not aligned correctly; expected 20 spaces, but found 24
Loading history...
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Array double arrow not aligned correctly; expected 5 space(s) between "'title'" and double arrow, but found 1.
Loading history...
28
						'mime_type' => 'audio/webm',
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
29
						'extension' => 'webm'
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Each array item in a multi-line array declaration must end in a comma
Loading history...
30
					),
0 ignored issues
show
introduced by
Array closer not aligned correctly; expected 16 space(s) but found 20
Loading history...
31
				5 => array(
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 12 spaces but found 16
Loading history...
32
						'title' => 'FLAC Audio',
0 ignored issues
show
introduced by
Multi-line array item not aligned correctly; expected 20 spaces, but found 24
Loading history...
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Array double arrow not aligned correctly; expected 5 space(s) between "'title'" and double arrow, but found 1.
Loading history...
33
						'mime_type' => 'audio/flac',
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
34
						'extension' => 'flac'
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Each array item in a multi-line array declaration must end in a comma
Loading history...
35
					),
0 ignored issues
show
introduced by
Array closer not aligned correctly; expected 16 space(s) but found 20
Loading history...
36
				6 => array(
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 12 spaces but found 16
Loading history...
37
						'title' => 'Matroska Audio',
0 ignored issues
show
introduced by
Multi-line array item not aligned correctly; expected 20 spaces, but found 24
Loading history...
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Array double arrow not aligned correctly; expected 5 space(s) between "'title'" and double arrow, but found 1.
Loading history...
38
						'mime_type' => 'audio/x-matroska',
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
39
						'extension' => 'mka'
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Each array item in a multi-line array declaration must end in a comma
Loading history...
40
					),
0 ignored issues
show
introduced by
Array closer not aligned correctly; expected 16 space(s) but found 20
Loading history...
41
				7 => array(
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 12 spaces but found 16
Loading history...
42
						'title' => 'Opus Audio',
0 ignored issues
show
introduced by
Multi-line array item not aligned correctly; expected 20 spaces, but found 24
Loading history...
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Array double arrow not aligned correctly; expected 5 space(s) between "'title'" and double arrow, but found 1.
Loading history...
43
						'mime_type' => 'audio/opus',
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
44
						'extension' => 'opus'
0 ignored issues
show
introduced by
Array item not aligned correctly; expected 20 spaces but found 24
Loading history...
introduced by
Each array item in a multi-line array declaration must end in a comma
Loading history...
45
					)
0 ignored issues
show
introduced by
Each array item in a multi-line array declaration must end in a comma
Loading history...
introduced by
Array closer not aligned correctly; expected 16 space(s) but found 20
Loading history...
46
			);
0 ignored issues
show
introduced by
Array closer not aligned correctly; expected 8 space(s) but found 12
Loading history...
47
	}