Skip to content

Commit

Permalink
Merge pull request #17 from helsingborg-stad/test/php-8+
Browse files Browse the repository at this point in the history
test: allow php 8+
  • Loading branch information
NiclasNorin authored May 21, 2024
2 parents 07e192f + 81cda1f commit e455642
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions bootstrap-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
* @package Algolia Index
*/

if (PHP_MAJOR_VERSION >= 8) {
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
exit(1);
}

$_tests_dir = getenv('WP_TESTS_DIR');

if (!$_tests_dir) {
Expand Down

0 comments on commit e455642

Please sign in to comment.