{"record":{"id":"da68939c2828c529","repo":"pestphp/pest","slug":"the-tia-mode-feature-requires-git-please-inst","errorCode":null,"errorMessage":"The [Tia mode] feature requires [git]. Please install it and try again.","messagePattern":"The \\[Tia mode\\] feature requires \\[git\\]\\. Please install it and try again\\.","errorType":"exception","errorClass":"MissingDependency","httpStatus":null,"severity":"error","filePath":"src/Plugins/Tia/ChangedFiles.php","lineNumber":182,"sourceCode":"    }\n\n    /**\n     * @param  array<string, true>  $candidates\n     * @return array<string, true>\n     */\n    private function filterIgnored(array $candidates): array\n    {\n        if ($candidates === []) {\n            return $candidates;\n        }\n\n        $result = $this->git->result(\n            ['check-ignore', '--no-index', '-z', '--stdin'],\n            implode(\"\\x00\", array_keys($candidates)),\n        );\n\n        if ($result['exitCode'] !== 0 && $result['exitCode'] !== 1) {\n            throw new MissingDependency('Tia mode', 'git');\n        }\n\n        $output = $result['output'];\n\n        if ($output === '') {\n            return $candidates;\n        }\n\n        foreach (explode(\"\\x00\", rtrim($output, \"\\x00\")) as $ignored) {\n            if ($ignored !== '') {\n                unset($candidates[$ignored]);\n            }\n        }\n\n        return $candidates;\n    }\n\n    public function currentBranch(): ?string","sourceCodeStart":164,"sourceCodeEnd":200,"githubUrl":"https://github.com/pestphp/pest/blob/1af74a215c3a89bc7a44fc6f9322e369eaad2423/src/Plugins/Tia/ChangedFiles.php#L164-L200","documentation":"Error \"The [Tia mode] feature requires [git]. Please install it and try again.\" thrown in pestphp/pest.","triggerScenarios":"Thrown at src/Plugins/Tia/ChangedFiles.php:182 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"}