kreait / firebase-php

@@ -11,12 +11,12 @@
Loading
11 11
12 12
final class UpdateUser implements Request
13 13
{
14 +
    use EditUserTrait;
15 +
14 16
    public const DISPLAY_NAME = 'DISPLAY_NAME';
15 17
    public const PHOTO_URL = 'PHOTO_URL';
16 18
    public const EMAIL = 'EMAIL';
17 19
18 -
    use EditUserTrait;
19 -
20 20
    /** @var array<string> */
21 21
    private $attributesToDelete = [];
22 22

@@ -15,10 +15,10 @@
Loading
15 15
16 16
final class SendMessageToTokens implements HasSubRequests, RequestInterface
17 17
{
18 -
    public const MAX_AMOUNT_OF_TOKENS = 500;
19 -
20 18
    use WrappedPsr7Request;
21 19
20 +
    public const MAX_AMOUNT_OF_TOKENS = 500;
21 +
22 22
    public function __construct(string $projectId, Message $message, RegistrationTokens $registrationTokens, bool $validateOnly = false)
23 23
    {
24 24
        if ($registrationTokens->count() > self::MAX_AMOUNT_OF_TOKENS) {

@@ -14,10 +14,10 @@
Loading
14 14
15 15
final class SendMessages implements HasSubRequests, RequestInterface
16 16
{
17 -
    public const MAX_AMOUNT_OF_MESSAGES = 500;
18 -
19 17
    use WrappedPsr7Request;
20 18
19 +
    public const MAX_AMOUNT_OF_MESSAGES = 500;
20 +
21 21
    public function __construct(string $projectId, Messages $messages, bool $validateOnly = false)
22 22
    {
23 23
        if ($messages->count() > self::MAX_AMOUNT_OF_MESSAGES) {
Files Complexity Coverage
src/Firebase 1,544 92.38%
Project Totals (151 files) 1544 92.38%
1
comment:
2
  layout: "reach,diff"
3

4
coverage:
5
  status:
6
    project:
7
      default:
8
        informational: true
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading