<commit_before><?php

namespace Smartling\File\Params;

/**
 * Class UploadFileParameters
 *
 * @package Smartling\Params
 */
class UploadFileParameters extends BaseParameters
{

    const CLIENT_LIB_ID_SDK = 'smartling-api-sdk-php';
    const CLIENT_LIB_ID_VERSION = '1.0.0';

    public function __construct($clientLibId = self::CLIENT_LIB_ID_SDK, $clientLibVersion = self::CLIENT_LIB_ID_VERSION)
    {
        $this->setClientLibId($clientLibId, $clientLibVersion);
    }

    /**
     * @param string $client_lib_id
     * @param string $version
     *
     * @return UploadFileParameters
     */
    public function setClientLibId($client_lib_id, $version)
    {

        $this->set(
            'smartling.client_lib_id',
            json_encode(
                [
                    'client' => $client_lib_id,
                    'version' => $version,
                ],
                JSON_FORCE_OBJECT | JSON_UNESCAPED_UNICODE
            )
        );

        return $this;<commit_msg>UpMerge branch '2.0.0' into 2.0.0-g5<commit_after><?php

namespace Smartling\File\Params;

/**
 * Class UploadFileParameters
 *
 * @package Smartling\Params
 */
class UploadFileParameters extends BaseParameters
{

    const CLIENT_LIB_ID_SDK = 'smartling-api-sdk-php';
    const CLIENT_LIB_ID_VERSION = '2.0.0';

    public function __construct($clientLibId = self::CLIENT_LIB_ID_SDK, $clientLibVersion = self::CLIENT_LIB_ID_VERSION)
    {
        $this->setClientLibId($clientLibId, $clientLibVersion);
    }

    /**
     * @param string $client_lib_id
     * @param string $version
     *
     * @return UploadFileParameters
     */
    public function setClientLibId($client_lib_id, $version)
    {

        $this->set(
            'smartling.client_lib_id',
            json_encode(
                [
                    'client' => $client_lib_id,
                    'version' => $version,
                ],
                JSON_FORCE_OBJECT | JSON_UNESCAPED_UNICODE
            )
        );

        return $this;
{'fraction_non_alphanumeric': 0.10638297872340426, 'fraction_numerical': 0.006432459178624443, 'mean_word_length': 2.189274447949527, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4319798', 'n_tokens_mistral': 646, 'n_tokens_neox': 619, 'n_words': 99}