xsolve-pl /
xsolve-associate
| 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
|
|||
| 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. 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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 15 |
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