stfalcon-studio / ApiBundle

@@ -102,7 +102,7 @@
Loading
102 102
            throw new InvalidArgumentException(\sprintf('Cannot read content of file %s', $realPathToJsonSchemaFile));
103 103
        }
104 104
105 -
        $decodedSchema = \json_decode($jsonSchemaContent, true, 512, \JSON_THROW_ON_ERROR);
105 +
        $decodedSchema = \json_decode($jsonSchemaContent, true, 512, JSON_THROW_ON_ERROR);
106 106
107 107
        $this->cachedClasses[$dtoClassName] = $decodedSchema;
108 108

@@ -46,7 +46,7 @@
Loading
46 46
            $context,
47 47
            [
48 48
                'group' => $serializationGroup,
49 -
                'json_encode_options' => \JSON_UNESCAPED_SLASHES | \JSON_THROW_ON_ERROR | \JSON_UNESCAPED_UNICODE,
49 +
                'json_encode_options' => JSON_UNESCAPED_SLASHES | JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE,
50 50
            ]
51 51
        );
52 52

@@ -27,6 +27,6 @@
Loading
27 27
     */
28 28
    public function createJsonResponse(string $json, int $statusCode): JsonResponse
29 29
    {
30 -
        return (new JsonResponse($json, $statusCode, [], true))->setEncodingOptions(\JSON_UNESCAPED_SLASHES | \JSON_UNESCAPED_UNICODE);
30 +
        return (new JsonResponse($json, $statusCode, [], true))->setEncodingOptions(JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
31 31
    }
32 32
}

@@ -24,6 +24,6 @@
Loading
24 24
     */
25 25
    public static function encodeMessage(array $messageData): string
26 26
    {
27 -
        return (string) \json_encode($messageData, \JSON_THROW_ON_ERROR | \JSON_UNESCAPED_UNICODE | \JSON_UNESCAPED_SLASHES);
27 +
        return (string) \json_encode($messageData, JSON_THROW_ON_ERROR | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
28 28
    }
29 29
}
Files Complexity Coverage
Annotation 12 100.00%
DTO 5 100.00%
DependencyInjection 2 100.00%
EventListener 13 100.00%
Exception 2 100.00%
Service 20 100.00%
Traits 2 100.00%
Util 8 100.00%
Entity/JWT/RefreshToken.php 3 100.00%
Event/User/AbstractUserEvent.php 2 100.00%
Request/DtoExtractor.php 5 100.00%
Security/AnonymousUser.php 7 100.00%
Serializer/Serializer.php 3 100.00%
Validator/Constraints/Password/PasswordMeetSpecialRequirementsValidator.php 5 100.00%
Project Totals (25 files) 89 100.00%
49.6
7.3=.3
TRAVIS_OS_NAME=linux

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