diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index e1f8f0ae..0c39cdfa 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -31,22 +31,22 @@ parameters: path: src/Solutions/OpenAi/DummyCache.php - - message: "#^Call to static method client\\(\\) on an unknown class OpenAI\\.$#" + message: "#^Cannot call method get\\(\\) on Psr\\\\SimpleCache\\\\CacheInterface\\|null\\.$#" count: 1 path: src/Solutions/OpenAi/OpenAiSolution.php - - message: "#^Cannot call method get\\(\\) on Psr\\\\SimpleCache\\\\CacheInterface\\|null\\.$#" + message: "#^Cannot call method getSnippetAsString\\(\\) on Spatie\\\\Backtrace\\\\Frame\\|null\\.$#" count: 1 path: src/Solutions/OpenAi/OpenAiSolution.php - - message: "#^Cannot call method getSnippetAsString\\(\\) on Spatie\\\\Backtrace\\\\Frame\\|null\\.$#" + message: "#^Cannot call method set\\(\\) on Psr\\\\SimpleCache\\\\CacheInterface\\|null\\.$#" count: 1 path: src/Solutions/OpenAi/OpenAiSolution.php - - message: "#^Cannot call method set\\(\\) on Psr\\\\SimpleCache\\\\CacheInterface\\|null\\.$#" + message: "#^Parameter \\#1 \\$rawText of class Spatie\\\\Ignition\\\\Solutions\\\\OpenAi\\\\OpenAiSolutionResponse constructor expects string, string\\|null given\\.$#" count: 1 path: src/Solutions/OpenAi/OpenAiSolution.php