Completed
Pull Request — master (#10)
by Mariusz
03:23
created

draft-2.php (3 issues)

Labels
Severity
1
<?php
2
3
$fooIds = [$fooId1, $fooId2, $fooId3]; // Or any other iterable.
4
$foos = [$foo1, $foo2, $foo3]; // Or any other iterable.
5
6
// Only ids are given for entities, entity class has to be declared.
7
$source = new DoctrineOrmIdentifiersSource($fooIds, Foo::class);
0 ignored issues
show
The type DoctrineOrmIdentifiersSource 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...
8
9
// Entity class not declared, will be determined based on entities and metadata.
10
// Entities can be fully loaded or just unitialized proxies.
11
$source = new DoctrineOrmEntitiesSource($foos);
0 ignored issues
show
The type DoctrineOrmEntitiesSource 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...
12
13
// Entity class declared, will be checked (or not?) and compared with metadata.
14
$source = new DoctrineOrmEntityiesSource($foos, Foo::class);
0 ignored issues
show
The type DoctrineOrmEntityiesSource 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...
15