Issues (42)

tests/TestOnly/Page/ProductPage.php (3 issues)

Severity
1
<?php
2
3
namespace Dynamic\Foxy\Discounts\Tests\TestOnly\Page;
4
5
use Dynamic\Foxy\Discounts\Extension\ProductDataExtension;
6
use Dynamic\Foxy\Extension\Purchasable;
7
use Dynamic\Foxy\Model\Variation;
8
use SilverStripe\Dev\TestOnly;
9
10
/**
11
 * Class ProductPage
12
 * @package Dynamic\Foxy\Discounts\Tests\TestOnly\Page
13
 */
14
class ProductPage extends \Page implements TestOnly
15
{
16
    /**
17
     * @var string
18
     */
19
    private static $table_name = 'FoxyProductTestPage';
0 ignored issues
show
The private property $table_name is not used, and could be removed.
Loading history...
20
21
    /**
22
     * @var string[]
23
     */
24
    private static $extensions = [
0 ignored issues
show
The private property $extensions is not used, and could be removed.
Loading history...
25
        Purchasable::class,
26
        ProductDataExtension::class,
27
    ];
28
29
    /**
30
     * @var string[]
31
     */
32
    private static $has_many = [
0 ignored issues
show
The private property $has_many is not used, and could be removed.
Loading history...
33
        'Variations' => Variation::class,
34
    ];
35
}
36