Completed
Pull Request — master (#1)
by Nic
03:25
created

TestWishListPage_Controller   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 27
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 5 1
1
<?php
2
3
/**
4
 * Class TestWishListPage
5
 */
6
class TestWishListPage extends Page implements TestOnly
7
{
8
9
}
10
11
/**
12
 * Class TestWishListPage_Controller
13
 */
14
class TestWishListPage_Controller extends Page_Controller implements TestOnly
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class should be in its own file to aid autoloaders.

Having each class in a dedicated file usually plays nice with PSR autoloaders and is therefore a well established practice. If you use other autoloaders, you might not want to follow this rule.

Loading history...
15
{
16
17
    /**
18
     * @var array
19
     */
20
    private static $url_handler = [
0 ignored issues
show
Unused Code introduced by
The property $url_handler is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
21
        'test-wishlist-page-path' => 'index'
22
    ];
23
24
    /**
25
     * @var array
26
     */
27
    private static $extensions = [
28
        'ProductWishListControllerExtension',
29
    ];
30
31
    /**
32
     * empty init
33
     */
34
    public function init()
35
    {
36
        parent::init();
37
        Requirements::clear();
38
    }
39
40
}