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

api-platform / core / 17744248614

15 Sep 2025 07:24PM UTC coverage: 22.156% (-0.07%) from 22.227%
17744248614

Pull #7380

github

web-flow
Merge ea40ff241 into 4abec444e
Pull Request #7380: fix(laravel): http cache compatibility

0 of 152 new or added lines in 9 files covered. (0.0%)

4 existing lines in 4 files now uncovered.

11127 of 50221 relevant lines covered (22.16%)

23.41 hits per line

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

0.0
/src/HttpCache/SouinPurger.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\HttpCache;
15

16
use Symfony\Contracts\HttpClient\HttpClientInterface;
17

18
/**
19
 * Purges Souin.
20
 *
21
 * @author Sylvain Combraque <darkweak@protonmail.com>
22
 */
23
class SouinPurger extends SurrogateKeysPurger
24
{
25
    private const MAX_HEADER_SIZE_PER_BATCH = 1500;
26
    private const SEPARATOR = ', ';
27
    private const HEADER = 'Surrogate-Key';
28

29
    /**
30
     * @param HttpClientInterface[] $clients
31
     */
32
    public function __construct(iterable $clients, int $maxHeaderLength = self::MAX_HEADER_SIZE_PER_BATCH)
33
    {
NEW
34
        parent::__construct($clients, $maxHeaderLength, self::HEADER, self::SEPARATOR);
×
35
    }
36
}
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