Skip to content

Commit

Permalink
Add @codeCoverageIgnore annotation to NullTagAwareAdapter
Browse files Browse the repository at this point in the history
The @codeCoverageIgnore annotation was added to suppress coverage checks on the NullTagAwareAdapter class. This change ensures that code coverage tools do not flag this intended mock implementation.
  • Loading branch information
koriym committed Sep 10, 2024
1 parent 4e0d067 commit 3862011
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/NullTagAwareAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
use Symfony\Component\Cache\Adapter\TagAwareAdapterInterface;
use Symfony\Component\Cache\CacheItem;

/** @SuppressWarnings UnusedFormalParameter */
/**
* @SuppressWarnings UnusedFormalParameter
* @codeCoverageIgnore
*/
final class NullTagAwareAdapter implements TagAwareAdapterInterface
{
public function getItem(mixed $key): CacheItem
Expand Down

0 comments on commit 3862011

Please sign in to comment.