<commit_before><?php

namespace DarrynTen\SageOne\Exception;

/**
 * Exception message strings for the ApiException object that gets throws.
 *
 * Maps to the SageOne docs.
 */
class ExceptionMessages
{
    /**
     * @var array $validationMessages [100xx codes]
     */
    public static $validationMessages = [
        10000 => 'Unknown validation error',
        10001 => 'Integer value is out of range',
        10002 => 'String length is out of range',
        10003 => 'String did not match validation regex',
        10004 => 'Validation type is invalid',
        10005 => 'filter_var failed to validate',
    ];

    /**
     * @var array $modelErrorMessages [101xx codes]
     */
    public static $modelErrorMessages = [
        // Methods
        10100 => 'Undefined model exception',
        10101 => 'Get all is not supported',
        10102 => 'Get single is not supported',
        10103 => 'Save is not supported',
        10104 => 'Delete is not supported',
        // Properties
        10110 => 'Property is referencing an undefined, non-primitive class',
        10111 => 'Property is null without nullable permission',
        10112 => 'A property is missing in the loadResult payload',
        10113 => 'Attempting to set a property that is not defined in the model',
        10114 => 'Attempting to set a read-only property',
        10115 => 'Unexpected class encountered while preparing row',
        10116 => 'Attempting to get an undefined property',
        10117 => 'ModelCollection is referencing ad undefined, non-primitive class',
    ];

    /**
     * @var array $modelCollectionErrorMessages [102xx codes]
     */
    public static $modelCollectionErrorMessages = [
        10200 => 'Undefined model collection exception',
        10201 => 'Attempting to access undefined property',
        10202 => 'Missing required property in object',
    ];

    /**
     * @var array $libraryErrorMessages [103xx codes]
     */
    public static $libraryErrorMessages = [
        10300 => 'Library Error',
        10301 => 'Method not yet implemented. This still needs to be added, please consider contributing to the project.',
    ];
<commit_msg>Codacy issue<commit_after><?php

namespace DarrynTen\SageOne\Exception;

/**
 * Exception message strings for the ApiException object that gets throws.
 *
 * Maps to the SageOne docs.
 */
class ExceptionMessages
{
    /**
     * @var array $validationMessages [100xx codes]
     */
    public static $validationMessages = [
        10000 => 'Unknown validation error',
        10001 => 'Integer value is out of range',
        10002 => 'String length is out of range',
        10003 => 'String did not match validation regex',
        10004 => 'Validation type is invalid',
        10005 => 'filter_var failed to validate',
    ];

    /**
     * @var array $modelErrorMessages [101xx codes]
     */
    public static $modelErrorMessages = [
        // Methods
        10100 => 'Undefined model exception',
        10101 => 'Get all is not supported',
        10102 => 'Get single is not supported',
        10103 => 'Save is not supported',
        10104 => 'Delete is not supported',
        // Properties
        10110 => 'Property is referencing an undefined, non-primitive class',
        10111 => 'Property is null without nullable permission',
        10112 => 'A property is missing in the loadResult payload',
        10113 => 'Attempting to set a property that is not defined in the model',
        10114 => 'Attempting to set a read-only property',
        10115 => 'Unexpected class encountered while preparing row',
        10116 => 'Attempting to get an undefined property',
        10117 => 'ModelCollection is referencing ad undefined, non-primitive class',
    ];

    /**
     * @var array $modelCollectionErrorMessages [102xx codes]
     */
    public static $modelCollectionErrorMessages = [
        10200 => 'Undefined model collection exception',
        10201 => 'Attempting to access undefined property',
        10202 => 'Missing required property in object',
    ];

    /**
     * @var array $libraryErrorMessages [103xx codes]
     */
    public static $libraryErrorMessages = [
        10300 => 'Library Error',
        10301 => 'Method not yet implemented. This still needs to be added, ' .
            'please consider contributing to the project.',
    ];

{'fraction_non_alphanumeric': 0.09747706422018348, 'fraction_numerical': 0.060550458715596334, 'mean_word_length': 2.571662571662572, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 51, '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': '803155', 'n_tokens_mistral': 1266, 'n_tokens_neox': 1080, 'n_words': 437}