Stratadox /
EntityState
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Stratadox\EntityState\Internal; |
||
| 4 | |||
| 5 | /** |
||
| 6 | * Interface that allows mutation of the state extractor by adding objects to a |
||
| 7 | * list of new entities. |
||
| 8 | * |
||
| 9 | * Only to be used by internal classes when recognising new entities during the |
||
| 10 | * extraction process. |
||
| 11 | * |
||
| 12 | * @author Stratadox |
||
| 13 | */ |
||
| 14 | interface AcceptsNewEntities |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Marks an object as new entity. |
||
| 18 | * |
||
| 19 | * @param object $newEntity The object to mark as entity. |
||
| 20 | * @param null|string The id of the entity. |
||
|
0 ignored issues
–
show
|
|||
| 21 | * @internal |
||
| 22 | * @todo get rid of the bidirectional relationship and extractor mutability |
||
| 23 | */ |
||
| 24 | public function addAsNewEntity(object $newEntity, ?string $id): void; |
||
| 25 | } |
||
| 26 |
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