Skip to content

Commit 2481b5b

Browse files
committed
fix: skipif for 7.4+
1 parent f0579a5 commit 2481b5b

7 files changed

+49
-0
lines changed

tests/integration/frameworks/drupal/test_hook_implementations_map_empty_array.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
Verify agent behavior when key value is an empty array
99
*/
1010

11+
/*SKIPIF
12+
<?php
13+
if (version_compare(PHP_VERSION, '7.4', '<')) {
14+
die("skip: PHP >= 7.4 required\n");
15+
}
16+
*/
17+
1118
/*INI
1219
newrelic.framework = drupal8
1320
*/

tests/integration/frameworks/drupal/test_hook_implementations_map_empty_key.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
Verify agent behavior when key is an empty string
99
*/
1010

11+
/*SKIPIF
12+
<?php
13+
if (version_compare(PHP_VERSION, '7.4', '<')) {
14+
die("skip: PHP >= 7.4 required\n");
15+
}
16+
*/
17+
1118
/*INI
1219
newrelic.framework = drupal8
1320
*/

tests/integration/frameworks/drupal/test_hook_implementations_map_invalid_key.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
Verify agent does not crash when map key is not a string.
99
*/
1010

11+
/*SKIPIF
12+
<?php
13+
if (version_compare(PHP_VERSION, '7.4', '<')) {
14+
die("skip: PHP >= 7.4 required\n");
15+
}
16+
*/
17+
1118
/*INI
1219
newrelic.framework = drupal8
1320
*/

tests/integration/frameworks/drupal/test_hook_implementations_map_invalid_map.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
Verify the agent does not crash when handling an invalid hookImplementationsMap property.
99
*/
1010

11+
/*SKIPIF
12+
<?php
13+
if (version_compare(PHP_VERSION, '7.4', '<')) {
14+
die("skip: PHP >= 7.4 required\n");
15+
}
16+
*/
17+
1118
/*INI
1219
newrelic.framework = drupal8
1320
*/

tests/integration/frameworks/drupal/test_hook_implementations_map_invalid_module.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
Verify agent does not crash when module name is not a string.
99
*/
1010

11+
/*SKIPIF
12+
<?php
13+
if (version_compare(PHP_VERSION, '7.4', '<')) {
14+
die("skip: PHP >= 7.4 required\n");
15+
}
16+
*/
17+
1118
/*INI
1219
newrelic.framework = drupal8
1320
*/

tests/integration/frameworks/drupal/test_hook_implementations_map_invalid_value.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
Verify agent does not crash when key value is not an array.
99
*/
1010

11+
/*SKIPIF
12+
<?php
13+
if (version_compare(PHP_VERSION, '7.4', '<')) {
14+
die("skip: PHP >= 7.4 required\n");
15+
}
16+
*/
17+
1118
/*INI
1219
newrelic.framework = drupal8
1320
*/

tests/integration/frameworks/drupal/test_hook_implementations_map_valid.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
Verify agent behavior on valid hookImplementationsMap
99
*/
1010

11+
/*SKIPIF
12+
<?php
13+
if (version_compare(PHP_VERSION, '7.4', '<')) {
14+
die("skip: PHP >= 7.4 required\n");
15+
}
16+
*/
17+
1118
/*INI
1219
newrelic.framework = drupal8
1320
*/

0 commit comments

Comments
 (0)