Skip to content

Commit 0e66d7d

Browse files
neildanielsclaude
andcommitted
Refresh PHPStan baseline for php-http/cache-plugin update
A recent php-http/cache-plugin release moved handleRequest() from CachePlugin to the new @internal AbstractCachePlugin parent. Update the existing argument.type ignore to the new class name and add a baseline entry for the resulting method.internalClass error on the same call site, so CI unblocks. Long-term fix is to stop calling the internal parent method, tracked separately. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4b4d5ed commit 0e66d7d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎phpstan-baseline.neon‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,17 @@ parameters:
1919
path: lib/Tmdb/Event/Listener/Logger/LogHttpMessageListener.php
2020

2121
-
22-
rawMessage: 'Parameter #3 $first of method Http\Client\Common\Plugin\CachePlugin::handleRequest() expects callable(Psr\Http\Message\RequestInterface): Http\Promise\Promise, Closure(): void given.'
22+
rawMessage: 'Parameter #3 $first of method Http\Client\Common\Plugin\AbstractCachePlugin::handleRequest() expects callable(Psr\Http\Message\RequestInterface): Http\Promise\Promise, Closure(): void given.'
2323
identifier: argument.type
2424
count: 1
2525
path: lib/Tmdb/Event/Listener/Psr6CachedRequestListener.php
2626

27+
-
28+
rawMessage: 'Call to method handleRequest() of internal class Http\Client\Common\Plugin\AbstractCachePlugin from outside its root namespace Http.'
29+
identifier: method.internalClass
30+
count: 1
31+
path: lib/Tmdb/Event/Listener/Psr6CachedRequestListener.php
32+
2733
-
2834
rawMessage: 'Property Tmdb\Event\Listener\Psr6CachedRequestListener::$options is never read, only written.'
2935
identifier: property.onlyWritten

0 commit comments

Comments
 (0)