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

api-platform / core / 14619947307

23 Apr 2025 01:53PM UTC coverage: 8.479% (+1.6%) from 6.884%
14619947307

push

github

web-flow
fix(state): specify :property parameter properties (#7110)

9 of 44 new or added lines in 4 files covered. (20.45%)

1 existing line in 1 file now uncovered.

13390 of 157913 relevant lines covered (8.48%)

22.88 hits per line

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

0.0
/src/Metadata/Tests/Fixtures/ApiResource/WithLimitedPropertyParameter.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\Tests\Fixtures\ApiResource;
15

16
use ApiPlatform\Metadata\ApiResource;
17
use ApiPlatform\Metadata\GetCollection;
18
use ApiPlatform\Metadata\QueryParameter;
19

20
#[
21
    ApiResource(operations: [
NEW
22
        new GetCollection(name: 'collection', parameters: [':property' => new QueryParameter(properties: ['name'])]),
×
NEW
23
    ])
×
NEW
24
]
×
25
class WithLimitedPropertyParameter
26
{
27
    public $id;
28
    public $name;
29
    public $description;
30
}
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

© 2026 Coveralls, Inc