fre5h / CentrifugoBundle

@@ -112,6 +112,6 @@
Loading
112 112
            return $e->getCode();
113 113
        }
114 114
115 -
        return 0;
115 +
        return self::SUCCESS;
116 116
    }
117 117
}

@@ -93,6 +93,6 @@
Loading
93 93
            return $e->getCode();
94 94
        }
95 95
96 -
        return 0;
96 +
        return self::SUCCESS;
97 97
    }
98 98
}

@@ -82,6 +82,6 @@
Loading
82 82
            return $e->getCode();
83 83
        }
84 84
85 -
        return 0;
85 +
        return self::SUCCESS;
86 86
    }
87 87
}

@@ -23,7 +23,7 @@
Loading
23 23
{
24 24
    private string $subject;
25 25
26 -
    /** @var string[] */
26 +
    /** @var array<string> */
27 27
    private array $channels;
28 28
29 29
    /**

@@ -98,6 +98,6 @@
Loading
98 98
            return $e->getCode();
99 99
        }
100 100
101 -
        return 0;
101 +
        return self::SUCCESS;
102 102
    }
103 103
}

@@ -109,6 +109,6 @@
Loading
109 109
            return $e->getCode();
110 110
        }
111 111
112 -
        return 0;
112 +
        return self::SUCCESS;
113 113
    }
114 114
}

@@ -112,7 +112,7 @@
Loading
112 112
            return $e->getCode();
113 113
        }
114 114
115 -
        return 0;
115 +
        return self::SUCCESS;
116 116
    }
117 117
118 118
    /**

@@ -21,14 +21,9 @@
Loading
21 21
 */
22 22
final class JwtPayloadForPrivateChannel extends AbstractJwtPayload
23 23
{
24 -
    /** @var string */
25 -
    private $client;
26 -
27 -
    /** @var string */
28 -
    private $channel;
29 -
30 -
    /** @var bool|null */
31 -
    private $eto;
24 +
    private string $client;
25 +
    private string $channel;
26 +
    private ?bool $eto = null;
32 27
33 28
    /**
34 29
     * @param string      $client

@@ -75,7 +75,7 @@
Loading
75 75
            return $e->getCode();
76 76
        }
77 77
78 -
        return 0;
78 +
        return self::SUCCESS;
79 79
    }
80 80
81 81
    /**

@@ -98,6 +98,6 @@
Loading
98 98
            return $e->getCode();
99 99
        }
100 100
101 -
        return 0;
101 +
        return self::SUCCESS;
102 102
    }
103 103
}

@@ -68,6 +68,6 @@
Loading
68 68
            return $e->getCode();
69 69
        }
70 70
71 -
        return 0;
71 +
        return self::SUCCESS;
72 72
    }
73 73
}

@@ -27,7 +27,7 @@
Loading
27 27
{
28 28
    private JwtGenerator $jwtGenerator;
29 29
    private DateTimeHelper $dateTimeHelper;
30 -
    private ?int $centrifugoJwtTtl;
30 +
    private ?int $centrifugoJwtTtl = null;
31 31
32 32
    /**
33 33
     * @param JwtGenerator   $jwtGenerator

@@ -99,6 +99,6 @@
Loading
99 99
            return $e->getCode();
100 100
        }
101 101
102 -
        return 0;
102 +
        return self::SUCCESS;
103 103
    }
104 104
}
Files Complexity Coverage
Command 71 100.00%
DependencyInjection 5 100.00%
Model 29 100.00%
Service 82 100.00%
Token 21 100.00%
DataCollector/CentrifugoCollector.php 9 100.00%
FreshCentrifugoBundle.php 1 100.00%
Logger/CommandHistoryLogger.php 9 100.00%
Project Totals (43 files) 227 100.00%

No yaml found.

Create your codecov.yml to customize your Codecov experience

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