alt3 / cakephp-swagger

Compare 5462c4b ... +0 ... dcc63b8

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 1 files from the diff.

@@ -74,11 +74,7 @@
Loading
74 74
    {
75 75
        // we need to silence the warning so we can satisfy our Test by throwing without a warning interfering
76 76
        $fh = @fopen($path, 'w'); // phpcs:ignore
77 -
        if (!$fh) {
78 -
            throw new InternalErrorException('Error writing Swagger json document to filesystem');
79 -
        }
80 -
81 -
        if (!fwrite($fh, $content->__toString())) {
77 +
        if (!$fh || !fwrite($fh, $content->__toString())) {
82 78
            throw new InternalErrorException('Error writing Swagger json document to filesystem');
83 79
        }
84 80

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 ø 0.99% 100.00%
Project Totals (5 files) 33 100.00%
Loading