Issues (16)

ArgumentResolver/ValueResolverInterface.php (1 issue)

Labels
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the OpenapiBundle package.
7
 *
8
 * (c) Niels Nijens <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Nijens\OpenapiBundle\Deserialization\ArgumentResolver;
15
16
/*
17
 * Ensures compatibility with both Symfony versions 5.4 and 7.0.
18
 *
19
 * TODO: Remove when support for Symfony 6.4 is dropped.
20
 */
21
22
use Nijens\OpenapiBundle\NijensOpenapiBundle;
23
use Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface;
24
use Symfony\Component\HttpKernel\Controller\ValueResolverInterface as BaseValueResolverInterface;
0 ignored issues
show
The type Symfony\Component\HttpKe...\ValueResolverInterface was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
25
26
if (NijensOpenapiBundle::getSymfonyVersion() < 60200) {
27
    interface ValueResolverInterface extends ArgumentValueResolverInterface
28
    {
29
    }
30
} else {
31
    interface ValueResolverInterface extends BaseValueResolverInterface
32
    {
33
    }
34
}
35