1 | <?php |
||||
2 | |||||
3 | namespace BitrixToolkit\BitrixEntityMapper\Annotation; |
||||
4 | |||||
5 | use Doctrine\Common\Annotations\AnnotationException; |
||||
6 | use Doctrine\Common\Annotations\AnnotationReader as DoctrineAnnotationReader; |
||||
7 | use Doctrine\Common\Annotations\AnnotationRegistry; |
||||
8 | use Doctrine\Common\Annotations\DocParser; |
||||
0 ignored issues
–
show
|
|||||
9 | |||||
10 | class AnnotationReader extends DoctrineAnnotationReader |
||||
11 | { |
||||
12 | /** |
||||
13 | * AnnotationReader constructor. |
||||
14 | * @param DocParser|null $parser |
||||
15 | * @throws AnnotationException |
||||
16 | */ |
||||
17 | 27 | public function __construct(DocParser $parser = null) |
|||
18 | { |
||||
19 | 27 | AnnotationRegistry::registerFile(__DIR__ . '/Entity/InfoBlock.php'); |
|||
0 ignored issues
–
show
The function
Doctrine\Common\Annotati...egistry::registerFile() has been deprecated: This method is deprecated and will be removed in doctrine/annotations 2.0. Annotations will be autoloaded in 2.0.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This function has been deprecated. The supplier of the function has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead. ![]() |
|||||
20 | 27 | AnnotationRegistry::registerFile(__DIR__ . '/Property/Field.php'); |
|||
0 ignored issues
–
show
The function
Doctrine\Common\Annotati...egistry::registerFile() has been deprecated: This method is deprecated and will be removed in doctrine/annotations 2.0. Annotations will be autoloaded in 2.0.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This function has been deprecated. The supplier of the function has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead. ![]() |
|||||
21 | 27 | AnnotationRegistry::registerFile(__DIR__ . '/Property/Property.php'); |
|||
0 ignored issues
–
show
The function
Doctrine\Common\Annotati...egistry::registerFile() has been deprecated: This method is deprecated and will be removed in doctrine/annotations 2.0. Annotations will be autoloaded in 2.0.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This function has been deprecated. The supplier of the function has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead. ![]() |
|||||
22 | 27 | parent::__construct($parser); |
|||
23 | } |
||||
24 | } |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths