Issues (4)

tests/class-test-simple-column.spec.php (4 issues)

1
<?php
2
/**
3
 * Class Test_Simple_Column.
4
 *
5
 * @package Simple_Featured_Image_Column
6
 */
7
8
/**
9
 * Class that tests the simple featured image column
10
 */
11
class Test_Simple_Column extends WP_UnitTestCase {
0 ignored issues
show
The type WP_UnitTestCase 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...
12
13
/**
14
 * The ID of this plugin.
15
 *
16
 * @since    1.0.8
17
 * @access   private
18
 * @var      string    $plugin_name    The ID of this plugin.
19
 */
20
	
21
	private $plugin_name = 'simple-featured-image-column';
0 ignored issues
show
The private property $plugin_name is not used, and could be removed.
Loading history...
22
	
23
/**
24
 * The version of this plugin.
25
 *
26
 * @since    1.0.8
27
 * @access   private
28
 * @var      string    $version    The current version of this plugin.
29
 */
30
	private $version = '1.0.8';
0 ignored issues
show
The private property $version is not used, and could be removed.
Loading history...
31
	
32
	function setUp() {
33
		parent::setUp();
34
		$this->sfic = new Simple_Featured_Image_Column;
0 ignored issues
show
Bug Best Practice introduced by
The property sfic does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
35
		$this->assertTrue(true);
36
	}
37
}
38