| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1.0233 |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | 9 | public function register(Container $app) |
|
| 31 | { |
||
| 32 | 9 | $twigProvider = new TwigServiceProvider(); |
|
| 33 | 9 | $twigProvider->register($app); |
|
| 34 | |||
| 35 | 9 | $app["resources_factory"] = $app->protect(new ResourcesFactory($app)); |
|
| 36 | 9 | $app["resourceful.defaultSchemaVersion"] = "http://json-schema.org/hyper-schema"; |
|
| 37 | $app["resourceful.schemas"] = function (Container $app) { |
||
| 38 | return new FileCache($app["resourceful.schema-dir"]); |
||
| 39 | }; |
||
| 40 | } |
||
| 41 | } |
||
| 42 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.