Skip to content

Commit

Permalink
Remove unused classes and methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed Jan 2, 2024
1 parent e670c21 commit cd7062c
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 69 deletions.
2 changes: 1 addition & 1 deletion src/Signer/GooglePublicKeys.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct(

public function findKeyById(string $id): Key
{
$cacheItem = $this->cache->getItem($this->cacheKeyPrefix.$id);
$cacheItem = $this->cache->getItem($this->cacheKeyPrefix . $id);
$value = $cacheItem->get();

if ($cacheItem->isHit()) {
Expand Down
1 change: 0 additions & 1 deletion tests/Environment/EnvironmentVariablesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Beste\Firebase\JWT\Tests\Environment;

use Beste\Firebase\JWT\Environment\EnvironmentVariables;
use Beste\Firebase\JWT\Environment\Variables;
use Beste\Firebase\JWT\Tests\TestCase;
use PHPUnit\Framework\Attributes\DoesNotPerformAssertions;
use Psl\Env;
Expand Down
13 changes: 0 additions & 13 deletions tests/Support/InMemoryKeySet.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,6 @@ final class InMemoryKeySet implements KeySet
*/
public function __construct(private array $keys = []) {}

/**
* @param non-empty-string $id
*/
public function addKey(string $id, Key $key): void
{
$this->keys[$id] = $key;
}

public function callsToFindByKeyId(): int
{
return $this->invocations;
}

public function findKeyById(string $id): Key
{
++$this->invocations;
Expand Down
43 changes: 0 additions & 43 deletions tests/Support/ServiceAccount.php

This file was deleted.

11 changes: 0 additions & 11 deletions tests/Support/TestTokenBuilder.php

This file was deleted.

0 comments on commit cd7062c

Please sign in to comment.