Test Failed
Push — master ( 31c635...ef6440 )
by Paul
07:17 queued 01:32
created

ValidateReviewDefaults   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 12
dl 0
loc 18
ccs 0
cts 13
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A defaults() 0 13 1
1
<?php
2
3
namespace GeminiLabs\SiteReviews\Defaults;
4
5
use GeminiLabs\SiteReviews\Defaults\DefaultsAbstract as Defaults;
6
7
class ValidateReviewDefaults extends Defaults
8
{
9
    /**
10
     * @return array
11
     */
12
    protected function defaults()
13
    {
14
        return [
15
            'assign_to' => '',
16
            'category' => '',
17
            'content' => '',
18
            'email' => '',
19
            'form_id' => '',
20
            'ip_address' => '',
21
            'name' => '',
22
            'rating' => '0',
23
            'terms' => '',
24
            'title' => '',
25
        ];
26
    }
27
}
28