{"record":{"id":"417a35483315be65","repo":"pestphp/pest","slug":"a-test-in-s-is-missing-its-description-please-417a35","errorCode":null,"errorMessage":"A test in [%s] is missing its description. Please give every test a description.","messagePattern":"A test in \\[(.+?)\\] is missing its description\\. Please give every test a description\\.","errorType":"exception","errorClass":"TestDescriptionMissing","httpStatus":null,"severity":"error","filePath":"src/PendingCalls/TestCall.php","lineNumber":67,"sourceCode":"    public function __construct(\n        private readonly TestSuite $testSuite,\n        private readonly string $filename,\n        private ?string $description = null,\n        ?Closure $closure = null\n    ) {\n        $this->testCaseMethod = new TestCaseMethodFactory($filename, $closure);\n\n        $this->descriptionLess = $description === null;\n\n        $this->describing = DescribeCall::describing();\n\n        $this->testSuite->beforeEach->get($this->filename)[0]($this);\n    }\n\n    public function after(Closure $closure): self\n    {\n        if ($this->description === null) {\n            throw new TestDescriptionMissing($this->filename);\n        }\n\n        $description = $this->describing === []\n            ? $this->description\n            : Str::describe($this->describing, $this->description);\n\n        $filename = $this->filename;\n\n        $when = function () use ($closure, $filename, $description): void {\n            if ($this::$__filename !== $filename) { // @phpstan-ignore-line\n                return;\n            }\n\n            if ($this->__description !== $description) { // @phpstan-ignore-line\n                return;\n            }\n\n            if ($this->__ran !== true) { // @phpstan-ignore-line","sourceCodeStart":49,"sourceCodeEnd":85,"githubUrl":"https://github.com/pestphp/pest/blob/1af74a215c3a89bc7a44fc6f9322e369eaad2423/src/PendingCalls/TestCall.php#L49-L85","documentation":"Error \"A test in [%s] is missing its description. Please give every test a description.\" thrown in pestphp/pest.","triggerScenarios":"Thrown at src/PendingCalls/TestCall.php:67 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"}