kreait / firebase-php

Compare 8b45c07 ... +1 ... 16fdb12

Coverage Reach
Auth/SignIn/GuzzleHandler.php Auth/SignIn/FailedToSignIn.php Auth/ApiClient.php Auth/IdTokenVerifier.php Auth/ActionCodeSettings/ValidatedActionCodeSettings.php Auth/ActionCodeSettings/RawActionCodeSettings.php Auth/SignInResult.php Auth/CreateActionLink/GuzzleApiClientHandler.php Auth/CreateActionLink/FailedToCreateActionLink.php Auth/CreateActionLink/ApiRequest.php Auth/SendActionLink/ApiRequest.php Auth/SendActionLink/FailedToSendActionLink.php Auth/SendActionLink/GuzzleApiClientHandler.php Auth/UserRecord.php Auth/SignInWithIdpCredentials.php Auth/CustomTokenViaGoogleIam.php Auth/SendActionLink.php Auth/CreateActionLink.php Auth/SignInWithEmailAndOobCode.php Auth/SignInWithEmailAndPassword.php Auth/UserMetaData.php Auth/SignInWithRefreshToken.php Auth/SignInWithCustomToken.php Auth/UserInfo.php Auth/SignInAnonymously.php Auth/TenantId.php Auth/DisabledLegacyIdTokenVerifier.php Auth/DisabledLegacyCustomTokenGenerator.php Messaging/CloudMessage.php Messaging/AppInstanceApiClient.php Messaging/MulticastSendReport.php Messaging/Notification.php Messaging/ApnsConfig.php Messaging/SendReport.php Messaging/Http/Request/SendMessages.php Messaging/Http/Request/SendMessageToTokens.php Messaging/Http/Request/SendMessage.php Messaging/RegistrationTokens.php Messaging/MessageData.php Messaging/AppInstance.php Messaging/AndroidConfig.php Messaging/MessageTarget.php Messaging/WebPushConfig.php Messaging/Condition.php Messaging/TopicSubscription.php Messaging/Topic.php Messaging/FcmOptions.php Messaging/ApiClient.php Messaging/RegistrationToken.php Messaging/TopicSubscriptions.php Messaging/Messages.php Messaging/RawMessageFromArray.php DynamicLink/AnalyticsInfo/GooglePlayAnalytics.php DynamicLink/AnalyticsInfo/ITunesConnectAnalytics.php DynamicLink/CreateDynamicLink.php DynamicLink/IOSInfo.php DynamicLink/EventStatistics.php DynamicLink/CreateDynamicLink/FailedToCreateDynamicLink.php DynamicLink/CreateDynamicLink/GuzzleApiClientHandler.php DynamicLink/CreateDynamicLink/ApiRequest.php DynamicLink/ShortenLongDynamicLink/FailedToShortenLongDynamicLink.php DynamicLink/ShortenLongDynamicLink/GuzzleApiClientHandler.php DynamicLink/ShortenLongDynamicLink/ApiRequest.php DynamicLink/GetStatisticsForDynamicLink/GuzzleApiClientHandler.php DynamicLink/GetStatisticsForDynamicLink/FailedToGetStatisticsForDynamicLink.php DynamicLink/GetStatisticsForDynamicLink/ApiRequest.php DynamicLink/SocialMetaTagInfo.php DynamicLink/AndroidInfo.php DynamicLink/ShortenLongDynamicLink.php DynamicLink/AnalyticsInfo.php DynamicLink/NavigationInfo.php DynamicLink/GetStatisticsForDynamicLink.php DynamicLink/DynamicLinkStatistics.php RemoteConfig/Template.php RemoteConfig/FindVersions.php RemoteConfig/ApiClient.php RemoteConfig/Parameter.php RemoteConfig/Condition.php RemoteConfig/Version.php RemoteConfig/ParameterGroup.php RemoteConfig/ConditionalValue.php RemoteConfig/VersionNumber.php RemoteConfig/DefaultValue.php RemoteConfig/User.php RemoteConfig/TagColor.php RemoteConfig/UpdateType.php RemoteConfig/UpdateOrigin.php Database/Reference.php Database/Query/Filter/EndAt.php Database/Query/Filter/EqualTo.php Database/Query/Filter/StartAt.php Database/Query/Filter/LimitToLast.php Database/Query/Filter/LimitToFirst.php Database/Query/Filter/Shallow.php Database/Query/Sorter/OrderByChild.php Database/Query/Sorter/OrderByKey.php Database/Query/Sorter/OrderByValue.php Database/Query.php Database/ApiClient.php Database/Reference/Validator.php Database/Snapshot.php Database/Transaction.php Database/RuleSet.php Auth.php Factory.php Exception/MessagingApiExceptionConverter.php Exception/Messaging/ServerUnavailable.php Exception/Messaging/QuotaExceeded.php Exception/Messaging/NotFound.php Exception/Messaging/AuthenticationError.php Exception/Messaging/InvalidMessage.php Exception/Messaging/MessagingError.php Exception/Messaging/ServerError.php Exception/AuthApiExceptionConverter.php Exception/Database/TransactionFailed.php Exception/Database/DatabaseNotFound.php Exception/Database/ReferenceHasNotBeenSnapshotted.php Exception/Database/UnsupportedQuery.php Exception/RemoteConfigApiExceptionConverter.php Exception/DatabaseApiExceptionConverter.php Exception/Auth/RevokedIdToken.php Exception/RemoteConfig/VersionNotFound.php Http/ResponseWithSubResponses.php Http/HttpClientOptions.php Http/Middleware.php Http/RequestWithSubRequests.php Http/ErrorResponseParser.php Http/Requests.php Http/Responses.php Request/UpdateUser.php Request/CreateUser.php Messaging.php Value/Url.php Value/PhoneNumber.php Value/Email.php Value/ClearTextPassword.php Value/Uid.php Value/Provider.php DynamicLinks.php Util/DT.php Util/JSON.php Util/Deprecation.php ServiceAccount.php RemoteConfig.php Database.php DynamicLink.php Storage.php Project/ProjectId.php Firestore.php Util.php

Flags

Flags have been temporarily removed from this view while the flagging feature is refactored for better performance and user experience.

You can still use flags when viewing individual files. Flag-level thresholds will also remain on pull and merge requests in your repository provider.

More information can be found in our documentation.

Showing 1 of 4 files from the diff.

@@ -69,7 +69,8 @@
Loading
69 69
    private static function assertValidKey(string $value): void
70 70
    {
71 71
        $value = \mb_strtolower($value);
72 -
        $reservedWords = ['from', 'notification', 'message_type'];
72 +
        // According to the docs, "notification" is reserved, but it's still accepted ¯\_(ツ)_/¯
73 +
        $reservedWords = ['from', /*'notification',*/ 'message_type'];
73 74
        $reservedPrefixes = ['google', 'gcm'];
74 75
75 76
        if (\in_array($value, $reservedWords, true)) {

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Complexity Coverage
src/Firebase ø 91.65%
Project Totals (150 files) 1579 91.65%
Loading