Passed
Pull Request — master (#774)
by
unknown
05:46
created

tests/TopPage/TestBlockPage.php (3 issues)

1
<?php
2
3
namespace DNADesign\Elemental\Tests\TopPage;
4
5
use DNADesign\Elemental\Extensions\ElementalPageExtension;
6
use Page;
0 ignored issues
show
The type Page was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
7
use SilverStripe\Dev\TestOnly;
8
9
/**
10
 * Class TestBlockPage
11
 *
12
 * @mixin ElementalPageExtension
13
 * @package DNADesign\Elemental\Tests\TopPage
14
 */
15
class TestBlockPage extends Page implements TestOnly
16
{
17
    /**
18
     * @var string
19
     */
20
    private static $table_name = 'TestBlockPage';
0 ignored issues
show
The private property $table_name is not used, and could be removed.
Loading history...
21
22
    /**
23
     * @var array
24
     */
25
    private static $extensions = [
0 ignored issues
show
The private property $extensions is not used, and could be removed.
Loading history...
26
        ElementalPageExtension::class,
27
    ];
28
}
29