Passed
Push — master ( 817cab...57b58d )
by Paul
09:30 queued 02:21
created

SiteReviewsFormShortcode::with()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 7
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace GeminiLabs\SiteReviews\Shortcodes;
4
5
class SiteReviewsFormShortcode extends Shortcode
6
{
7 7
    protected function hideOptions()
8
    {
9
        return [
10 7
            'rating' => _x('Hide the rating field', 'admin-text', 'site-reviews'),
11 7
            'title' => _x('Hide the title field', 'admin-text', 'site-reviews'),
12 7
            'content' => _x('Hide the review field', 'admin-text', 'site-reviews'),
13 7
            'name' => _x('Hide the name field', 'admin-text', 'site-reviews'),
14 7
            'email' => _x('Hide the email field', 'admin-text', 'site-reviews'),
15 7
            'terms' => _x('Hide the terms field', 'admin-text', 'site-reviews'),
16
        ];
17
    }
18
}
19