<commit_before><?php

namespace UniEngine\Engine\Modules\FlightControl\Utils\Validators;

/**
 * @param array $props
 * @param Record<shipId: string, shipCount: string> $props['fleet']
 * @param ref $props['planet']
 * @param boolean | null $props['isFromDirectUserInput']
 *  - Allows ships count to be prettified
 *  - Allows ships count to be 0
 */
function validateFleetArray ($props) {
    global $_Vars_ElementCategories, $_Vars_Prices;

    $isValid = function () {
        return [
            'isValid' => true,
        ];
    };
    $isInvalid = function ($errors) {
        return [
            'isValid' => false,
            'errors' => $errors,
        ];
    };
<commit_msg>GH-139 Remove unused global variable access<commit_after><?php

namespace UniEngine\Engine\Modules\FlightControl\Utils\Validators;

/**
 * @param array $props
 * @param Record<shipId: string, shipCount: string> $props['fleet']
 * @param ref $props['planet']
 * @param boolean | null $props['isFromDirectUserInput']
 *  - Allows ships count to be prettified
 *  - Allows ships count to be 0
 */
function validateFleetArray ($props) {
    global $_Vars_ElementCategories;

    $isValid = function () {
        return [
            'isValid' => true,
        ];
    };
    $isInvalid = function ($errors) {
        return [
            'isValid' => false,
            'errors' => $errors,
        ];
    };

{'fraction_non_alphanumeric': 0.135678391959799, 'fraction_numerical': 0.003589375448671931, 'mean_word_length': 2.7074468085106385, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, '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': '6201723', 'n_tokens_mistral': 423, 'n_tokens_neox': 422, 'n_words': 104}