| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function __construct($router) |
||
| 24 | { |
||
| 25 | $this->router = $router; |
||
| 26 | $this->view = Engine::create(dirname(__DIR__, 2) . '/views', 'php'); |
||
| 27 | $this->view->addData(['router' => $this->router]); |
||
| 28 | |||
| 29 | $this->seo = new Optimizer(); |
||
| 30 | $this->seo |
||
| 31 | ->openGraph(site('name'), site('locale'), 'article') |
||
| 32 | ->publisher(SOCIAL['facebook_page'], SOCIAL['facebook_author']) |
||
| 33 | ->twitterCard(SOCIAL['twitter_creator'], SOCIAL['twitter_site'], site('domain')) |
||
| 34 | ->facebook(SOCIAL['facebook_appId']); |
||
| 35 | } |
||
| 57 |
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