kreait / firebase-php
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)) {
Files Complexity Coverage
src/Firebase 1,579 91.65%
Project Totals (150 files) 1579 91.65%
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