Skip to content

Commit fea4ec8

Browse files
committed
Allow for tests to run on PHP 8+
1 parent 9f63e52 commit fea4ec8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

templates/plugin-bootstrap.mustache

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
* @package {{plugin_package}}
66
*/
77

8-
if ( PHP_MAJOR_VERSION >= 8 ) {
9-
echo "The scaffolded tests cannot currently be run on PHP 8.0+. See https://github.com/wp-cli/scaffold-command/issues/285" . PHP_EOL; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
10-
exit( 1 );
11-
}
12-
138
$_tests_dir = getenv( 'WP_TESTS_DIR' );
149

1510
if ( ! $_tests_dir ) {

0 commit comments

Comments
 (0)