• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

api-platform / core / 10729306835

05 Sep 2024 10:46PM UTC coverage: 7.655% (-0.01%) from 7.665%
10729306835

push

github

web-flow
Merge pull request #6586 from soyuka/merge-342

Merge 3.4

0 of 54 new or added lines in 12 files covered. (0.0%)

8760 existing lines in 277 files now uncovered.

12505 of 163357 relevant lines covered (7.66%)

22.84 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/Metadata/Error.php
1
<?php
2

3
/*
4
 * This file is part of the API Platform project.
5
 *
6
 * (c) Kévin Dunglas <dunglas@gmail.com>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11

12
declare(strict_types=1);
13

14
namespace ApiPlatform\Metadata;
15

16
use ApiPlatform\OpenApi\Attributes\Webhook;
17
use ApiPlatform\OpenApi\Model\Operation as OpenApiOperation;
18
use ApiPlatform\State\OptionsInterface;
19

20
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]
21
final class Error extends HttpOperation
22
{
23
    public function __construct(
24
        ?string $uriTemplate = null,
25
        ?array $types = null,
26
        $formats = null,
27
        $inputFormats = null,
28
        $outputFormats = null,
29
        $uriVariables = null,
30
        ?string $routePrefix = null,
31
        ?string $routeName = null,
32
        ?array $defaults = null,
33
        ?array $requirements = null,
34
        ?array $options = null,
35
        ?bool $stateless = null,
36
        ?string $sunset = null,
37
        ?string $acceptPatch = null,
38
        $status = null,
39
        ?string $host = null,
40
        ?array $schemes = null,
41
        ?string $condition = null,
42
        ?string $controller = null,
43
        ?array $headers = null,
44
        ?array $cacheHeaders = null,
45
        ?array $paginationViaCursor = null,
46
        ?array $hydraContext = null,
47
        bool|OpenApiOperation|Webhook|null $openapi = null,
48
        ?array $exceptionToStatus = null,
49
        ?bool $queryParameterValidationEnabled = null,
50
        ?array $links = null,
51

52
        ?string $shortName = null,
53
        ?string $class = null,
54
        ?bool $paginationEnabled = null,
55
        ?string $paginationType = null,
56
        ?int $paginationItemsPerPage = null,
57
        ?int $paginationMaximumItemsPerPage = null,
58
        ?bool $paginationPartial = null,
59
        ?bool $paginationClientEnabled = null,
60
        ?bool $paginationClientItemsPerPage = null,
61
        ?bool $paginationClientPartial = null,
62
        ?bool $paginationFetchJoinCollection = null,
63
        ?bool $paginationUseOutputWalkers = null,
64
        ?array $order = null,
65
        ?string $description = null,
66
        ?array $normalizationContext = null,
67
        ?array $denormalizationContext = null,
68
        ?bool $collectDenormalizationErrors = null,
69
        string|\Stringable|null $security = null,
70
        ?string $securityMessage = null,
71
        string|\Stringable|null $securityPostDenormalize = null,
72
        ?string $securityPostDenormalizeMessage = null,
73
        string|\Stringable|null $securityPostValidation = null,
74
        ?string $securityPostValidationMessage = null,
75
        ?string $deprecationReason = null,
76
        ?array $filters = null,
77
        ?array $validationContext = null,
78
        $input = null,
79
        $output = null,
80
        $mercure = null,
81
        $messenger = null,
82
        ?bool $elasticsearch = null,
83
        ?int $urlGenerationStrategy = null,
84
        ?bool $read = null,
85
        ?bool $deserialize = null,
86
        ?bool $validate = null,
87
        ?bool $write = null,
88
        ?bool $serialize = null,
89
        ?bool $fetchPartial = null,
90
        ?bool $forceEager = null,
91
        ?int $priority = null,
92
        ?string $name = null,
93
        $provider = null,
94
        $processor = null,
95
        ?OptionsInterface $stateOptions = null,
96
        array $extraProperties = [],
97
    ) {
UNCOV
98
        parent::__construct(
4✔
UNCOV
99
            uriTemplate: $uriTemplate,
4✔
UNCOV
100
            types: $types,
4✔
UNCOV
101
            formats: $formats,
4✔
UNCOV
102
            inputFormats: $inputFormats,
4✔
UNCOV
103
            outputFormats: $outputFormats,
4✔
UNCOV
104
            uriVariables: $uriVariables,
4✔
UNCOV
105
            routePrefix: $routePrefix,
4✔
UNCOV
106
            routeName: $routeName,
4✔
UNCOV
107
            defaults: $defaults,
4✔
UNCOV
108
            requirements: $requirements,
4✔
UNCOV
109
            options: $options,
4✔
UNCOV
110
            stateless: $stateless,
4✔
UNCOV
111
            sunset: $sunset,
4✔
UNCOV
112
            acceptPatch: $acceptPatch,
4✔
UNCOV
113
            status: $status,
4✔
UNCOV
114
            host: $host,
4✔
UNCOV
115
            schemes: $schemes,
4✔
UNCOV
116
            condition: $condition,
4✔
UNCOV
117
            controller: $controller,
4✔
UNCOV
118
            headers: $headers,
4✔
UNCOV
119
            cacheHeaders: $cacheHeaders,
4✔
UNCOV
120
            paginationViaCursor: $paginationViaCursor,
4✔
UNCOV
121
            hydraContext: $hydraContext,
4✔
UNCOV
122
            openapi: $openapi,
4✔
UNCOV
123
            exceptionToStatus: $exceptionToStatus,
4✔
UNCOV
124
            queryParameterValidationEnabled: $queryParameterValidationEnabled,
4✔
UNCOV
125
            links: $links,
4✔
UNCOV
126
            shortName: $shortName,
4✔
UNCOV
127
            class: $class,
4✔
UNCOV
128
            paginationEnabled: $paginationEnabled,
4✔
UNCOV
129
            paginationType: $paginationType,
4✔
UNCOV
130
            paginationItemsPerPage: $paginationItemsPerPage,
4✔
UNCOV
131
            paginationMaximumItemsPerPage: $paginationMaximumItemsPerPage,
4✔
UNCOV
132
            paginationPartial: $paginationPartial,
4✔
UNCOV
133
            paginationClientEnabled: $paginationClientEnabled,
4✔
UNCOV
134
            paginationClientItemsPerPage: $paginationClientItemsPerPage,
4✔
UNCOV
135
            paginationClientPartial: $paginationClientPartial,
4✔
UNCOV
136
            paginationFetchJoinCollection: $paginationFetchJoinCollection,
4✔
UNCOV
137
            paginationUseOutputWalkers: $paginationUseOutputWalkers,
4✔
UNCOV
138
            order: $order,
4✔
UNCOV
139
            description: $description,
4✔
UNCOV
140
            normalizationContext: $normalizationContext,
4✔
UNCOV
141
            denormalizationContext: $denormalizationContext,
4✔
UNCOV
142
            collectDenormalizationErrors: $collectDenormalizationErrors,
4✔
UNCOV
143
            security: $security,
4✔
UNCOV
144
            securityMessage: $securityMessage,
4✔
UNCOV
145
            securityPostDenormalize: $securityPostDenormalize,
4✔
UNCOV
146
            securityPostDenormalizeMessage: $securityPostDenormalizeMessage,
4✔
UNCOV
147
            securityPostValidation: $securityPostValidation,
4✔
UNCOV
148
            securityPostValidationMessage: $securityPostValidationMessage,
4✔
UNCOV
149
            deprecationReason: $deprecationReason,
4✔
UNCOV
150
            filters: $filters,
4✔
UNCOV
151
            validationContext: $validationContext,
4✔
UNCOV
152
            input: $input,
4✔
UNCOV
153
            output: $output,
4✔
UNCOV
154
            mercure: $mercure,
4✔
UNCOV
155
            messenger: $messenger,
4✔
UNCOV
156
            elasticsearch: $elasticsearch,
4✔
UNCOV
157
            urlGenerationStrategy: $urlGenerationStrategy,
4✔
UNCOV
158
            read: $read,
4✔
UNCOV
159
            deserialize: $deserialize,
4✔
UNCOV
160
            validate: $validate,
4✔
UNCOV
161
            write: $write,
4✔
UNCOV
162
            serialize: $serialize,
4✔
UNCOV
163
            fetchPartial: $fetchPartial,
4✔
UNCOV
164
            forceEager: $forceEager,
4✔
UNCOV
165
            priority: $priority,
4✔
UNCOV
166
            name: $name,
4✔
UNCOV
167
            provider: $provider,
4✔
UNCOV
168
            processor: $processor,
4✔
UNCOV
169
            stateOptions: $stateOptions,
4✔
UNCOV
170
            extraProperties: $extraProperties,
4✔
UNCOV
171
        );
4✔
172
    }
173
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc