Skip to content

Commit

Permalink
Remove @codeCoverageIgnore annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed Jun 9, 2023
1 parent 78c56a2 commit 51d50b8
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 32 deletions.
4 changes: 0 additions & 4 deletions src/Firebase/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +303,7 @@ public function sendEmailActionLink(string $type, Stringable|string $email, $act
}

if (!($idToken = $signInResult->idToken())) {
// @codeCoverageIgnoreStart
// This only happens if the response on Google's side has changed
// If it does, the tests will fail, but we don't have to cover that
throw new FailedToSendActionLink("Failed to send action link: Unable to retrieve ID token for user assigned to email {$email}");
// @codeCoverageIgnoreEnd
}
}

Expand Down
2 changes: 0 additions & 2 deletions src/Firebase/Auth/SignInResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,9 @@ public function idToken(): ?string
*/
public function firebaseUserId(): ?string
{
// @codeCoverageIgnoreStart
if ($this->firebaseUserId) {
return $this->firebaseUserId;
}
// @codeCoverageIgnoreEnd

if ($this->idToken) {
$idToken = $this->parser->parse($this->idToken);
Expand Down
2 changes: 0 additions & 2 deletions src/Firebase/Database/Query/ModifierTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

/**
* @internal
*
* @codeCoverageIgnore
*/
trait ModifierTrait
{
Expand Down
2 changes: 0 additions & 2 deletions src/Firebase/DynamicLink/EventStatistics.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ public function filter(callable $filter): self
}

/**
* @codeCoverageIgnore
*
* @return Traversable<EventStatisticsShape>
*/
public function getIterator(): Traversable
Expand Down
2 changes: 0 additions & 2 deletions src/Firebase/Exception/HasErrors.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* @internal
*
* @codeCoverageIgnore
*/
trait HasErrors
{
Expand Down
2 changes: 0 additions & 2 deletions src/Firebase/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,6 @@ public function createStorage(): Contract\Storage
}

/**
* @codeCoverageIgnore
*
* @return array{
* credentialsType: string|null,
* databaseUrl: string,
Expand Down
2 changes: 0 additions & 2 deletions src/Firebase/Http/Requests.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ public function findByContentId(string $contentId): ?RequestInterface
}

/**
* @codeCoverageIgnore
*
* @return Traversable<RequestInterface>|RequestInterface[]
*/
public function getIterator(): Traversable
Expand Down
2 changes: 0 additions & 2 deletions src/Firebase/Http/Responses.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ public function __construct(ResponseInterface ...$responses)
}

/**
* @codeCoverageIgnore
*
* @return Traversable<ResponseInterface>|ResponseInterface[]
*/
public function getIterator(): Traversable
Expand Down
2 changes: 0 additions & 2 deletions src/Firebase/Http/WrappedPsr7Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

/**
* @internal
*
* @codeCoverageIgnore
*/
trait WrappedPsr7Request
{
Expand Down
2 changes: 0 additions & 2 deletions src/Firebase/Http/WrappedPsr7Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

/**
* @internal
*
* @codeCoverageIgnore
*/
trait WrappedPsr7Response
{
Expand Down
2 changes: 0 additions & 2 deletions src/Firebase/Messaging/Messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ public function __construct(Message ...$messages)
}

/**
* @codeCoverageIgnore
*
* @return Traversable<Message>|Message[]
*/
public function getIterator(): Traversable
Expand Down
2 changes: 0 additions & 2 deletions src/Firebase/Messaging/RegistrationTokens.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ public static function fromValue($values): self
}

/**
* @codeCoverageIgnore
*
* @return Traversable<RegistrationToken>
*/
public function getIterator(): Traversable
Expand Down
2 changes: 0 additions & 2 deletions src/Firebase/Messaging/TopicSubscriptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ public function filter(callable $filter): self
}

/**
* @codeCoverageIgnore
*
* @return Traversable<TopicSubscription>
*/
public function getIterator(): Traversable
Expand Down
2 changes: 0 additions & 2 deletions src/Firebase/Request/EditUserTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
use function preg_replace;

/**
* @codeCoverageIgnore
*
* @template T
*/
trait EditUserTrait
Expand Down
2 changes: 0 additions & 2 deletions src/Firebase/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

/**
* @internal
*
* @codeCoverageIgnore
*/
final class Util
{
Expand Down

0 comments on commit 51d50b8

Please # to comment.