{"record":{"id":"49b302a06af18095","repo":"pestphp/pest","slug":"bound-datasets-are-not-supported-while-doing-high","errorCode":null,"errorMessage":"Bound datasets are not supported while doing high order testing.","messagePattern":"Bound datasets are not supported while doing high order testing\\.","errorType":"exception","errorClass":"InvalidArgumentException","httpStatus":null,"severity":"error","filePath":"src/Support/Reflection.php","lineNumber":68,"sourceCode":"    /**\n     * @param  array<int, mixed>  $args\n     */\n    public static function bindCallable(callable $callable, array $args = []): mixed\n    {\n        return Closure::fromCallable($callable)->bindTo(TestSuite::getInstance()->test)(...$args);\n    }\n\n    public static function bindCallableWithData(callable $callable): mixed\n    {\n        $test = TestSuite::getInstance()->test;\n\n        if (! $test instanceof TestCase) {\n            return self::bindCallable($callable);\n        }\n\n        foreach ($test->providedData() as $value) {\n            if ($value instanceof Closure) {\n                throw new InvalidArgumentException('Bound datasets are not supported while doing high order testing.');\n            }\n        }\n\n        return Closure::fromCallable($callable)->bindTo($test)(...$test->providedData());\n    }\n\n    public static function getFileNameFromClosure(Closure $closure): string\n    {\n        $reflectionClosure = new ReflectionFunction($closure);\n\n        return (string) $reflectionClosure->getFileName();\n    }\n\n    public static function getPropertyValue(object $object, string $property): mixed\n    {\n        $reflectionClass = new ReflectionClass($object);\n\n        $reflectionProperty = null;","sourceCodeStart":50,"sourceCodeEnd":86,"githubUrl":"https://github.com/pestphp/pest/blob/1af74a215c3a89bc7a44fc6f9322e369eaad2423/src/Support/Reflection.php#L50-L86","documentation":"Error \"Bound datasets are not supported while doing high order testing.\" thrown in pestphp/pest.","triggerScenarios":"Thrown at src/Support/Reflection.php:68 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"1af74a215c3a89bc7a44fc6f9322e369eaad2423","analyzedAt":"2026-08-21T02:16:38.132Z","schemaVersion":2},"datasetVersion":"2026-08-21T03:17:12.404Z"}