We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f6c0e7 commit 7833d68Copy full SHA for 7833d68
tests/phpunit/test_scan.php
@@ -32,4 +32,20 @@ function test_scan_default_PHP_70() {
32
33
$this->assertContains( 'PHP 7.0 compatible.', $results );
34
}
35
+
36
+ function test_scan_default_PHP_72() {
37
+ $root_dir = realpath( dirname( __FILE__ ) . '/../../' );
38
39
+ $wpephpc = new WPEPHPCompat( $root_dir );
40
41
+ $wpephpc->clean_after_scan();
42
43
+ $wpephpc->test_version = '7.2';
44
45
+ $wpephpc->only_active = 'yes';
46
47
+ $results = $wpephpc->start_test();
48
49
+ $this->assertContains( 'PHP 7.2 compatible.', $results );
50
+ }
51
0 commit comments