Compare f2b2c76 ... +0 ... cb834ea

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.

@@ -66,14 +66,14 @@
Loading
66 66
     * Write swagger document to filesystem.
67 67
     *
68 68
     * @param string $path Full path to the json document including filename
69 -
     * @param string $content Swagger content
69 +
     * @param object $content Swagger content
70 70
     * @throws \Cake\Http\Exception\InternalErrorException
71 71
     * @return bool
72 72
     */
73 73
    protected static function writeSwaggerDocumentToFile($path, $content)
74 74
    {
75 75
        $fh = new File($path, true);
76 -
        if (!$fh->write($content)) {
76 +
        if (!$fh->write(serialize($content))) {
77 77
            throw new InternalErrorException('Error writing Swagger json document to filesystem');
78 78
        }
79 79

Learn more Showing 3 files with coverage changes found.

Changes in src/Controller/DocsController.php
-4
+4
Loading file...
Changes in src/Lib/SwaggerTools.php
-10
+10
Loading file...
Changes in src/Shell/SwaggerShell.php
-6
+6
Loading file...
Files Complexity Coverage
src ø +20.20% 100.00%
Project Totals (5 files) 32 100.00%
Loading