Tags: configcat/php-sdk
Tags
Config v6 (#44) * Add VSCode devenv configuration * Run tests on PHP 8.3 * Update config JSON model to v6 + fix inconsistent error 1000 reporting + improve config json deserialization error reporting * Refactor evaluator and evaluation logging to prepare it for the new features * Implement new comparison operators * Implement segment condition evaluation * Implement prerequisite flag condition evaluation * Implement SDK key format validation + fix broken tests * Rename EvaluationDetails.getMatched* properties * Improve message of error 1103 * Add matrix tests * Align config json error handling of EvaluateLogBuilder with error reporting of RolloutEvaluator * Add exception to the log format in DefaultLogger * Add tests for evaluation logging + minor fixes * Add User Object tests * Add tests for sdk key format validation * Add user attribute conversion tests + re-implement Utils.numberToString as NumberFormatter requires a PHP extension * Add comparison attribute and comparison value trimming tests * Add special character tests * Add tests for EvaluationDetails.getMatchedTargetingRule/getMatchedPercentageOption properties * Add flag overrides vs. prerequisite flags, config json salt and segments tests + add related exception object to EvaluationDetails * Add override value type mismatch tests * Bump version * Update package version in samples --------- Co-authored-by: Peter Adam Korodi <[email protected]>
Ability to add custom HTTP client / Remove Monolog (#42) * Make Guzzle optional, remove Monolog, set up phpstan & php-cs-fixer * Update php-ci.yml * Update .gitattributes * Update composer.json * Fixup log generation * Fixup client comments * Use PHPUnit 9 / More php cs rule options * Update php-ci.yml * Add CC UA header check in tests
PreviousNext