<commit_before>--TEST--
Test XML config enforceTimeLimit, defaultTimeLimit without php-invoker, with pcntl
--SKIPIF--
<?php
if (\class_exists(Invoker::class)) {
    print "Skip: package phpunit/php-invoker is installed" . PHP_EOL;
}

if (!\extension_loaded('pcntl') || \strpos(\ini_get('disable_functions'), 'pcntl') !== false) {
    print "Skip: extension pcntl is required for enforcing time limits" . PHP_EOL;
}
--DESCRIPTION--
https://github.com/sebastianbergmann/phpunit/issues/2085
--FILE--
<?php<commit_msg>Fix SKIPIF condition<commit_after>--TEST--
Test XML config enforceTimeLimit, defaultTimeLimit without php-invoker, with pcntl
--SKIPIF--
<?php
require __DIR__ . '/../../../bootstrap.php';

if (\class_exists(SebastianBergmann\Invoker\Invoker::class)) {
    print "Skip: package phpunit/php-invoker is installed" . PHP_EOL;
}

if (!\extension_loaded('pcntl') || \strpos(\ini_get('disable_functions'), 'pcntl') !== false) {
    print "Skip: extension pcntl is required for enforcing time limits" . PHP_EOL;
}
--DESCRIPTION--
https://github.com/sebastianbergmann/phpunit/issues/2085
--FILE--
<?php
{'fraction_non_alphanumeric': 0.16169828364950317, 'fraction_numerical': 0.007226738934056007, 'mean_word_length': 4.54, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2898467', 'n_tokens_mistral': 384, 'n_tokens_neox': 371, 'n_words': 86}