ray-di /
Ray.Di
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace Ray\Di; |
||
| 6 | |||
| 7 | /** |
||
| 8 | * @psalm-import-type DependencyContainer from Types |
||
| 9 | * @psalm-import-type ScopeType from Types |
||
| 10 | * @psalm-import-type InjectableValue from Types |
||
| 11 | */ |
||
| 12 | interface DependencyInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @return string |
||
| 16 | */ |
||
| 17 | public function __toString(); |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Inject dependencies into dependent objects |
||
| 21 | * |
||
| 22 | * @return mixed |
||
| 23 | */ |
||
| 24 | public function inject(Container $container); |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Register dependency to container |
||
| 28 | * |
||
| 29 | * @param DependencyContainer $container |
||
|
0 ignored issues
–
show
|
|||
| 30 | * |
||
| 31 | * @return void |
||
| 32 | * |
||
| 33 | * @param-out DependencyContainer $container |
||
| 34 | */ |
||
| 35 | public function register(array &$container, Bind $bind); |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Set scope |
||
| 39 | * |
||
| 40 | * @param string $scope |
||
| 41 | * |
||
| 42 | * @return void |
||
| 43 | */ |
||
| 44 | public function setScope($scope); |
||
| 45 | } |
||
| 46 |
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