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

ValidateReviewDefaults::defaults()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 13
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 11
nc 1
nop 0
dl 0
loc 13
ccs 0
cts 13
cp 0
crap 2
rs 9.9
c 0
b 0
f 0
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