kreait / firebase-php
Showing 1 of 3 files from the diff.

@@ -240,6 +240,9 @@
Loading
240 240
            $data[$this->target->type()] = $this->target->value();
241 241
        }
242 242
243 -
        return \array_filter($data);
243 +
        return \array_filter($data, static function ($value) {
244 +
            return $value !== null
245 +
                && !($value instanceof MessageData && $value->jsonSerialize() === []);
246 +
        });
244 247
    }
245 248
}
Files Complexity Coverage
src/Firebase 1,581 91.65%
Project Totals (150 files) 1581 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