| Total Complexity | 5 |
| Total Lines | 69 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class CoreController implements CoreInterface, IAnnotatable |
||
| 17 | { |
||
| 18 | use Injector; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var Session セッション |
||
|
|
|||
| 22 | */ |
||
| 23 | protected $session; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var Request リクエスト |
||
| 27 | */ |
||
| 28 | protected $request; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var Response レスポンス |
||
| 32 | */ |
||
| 33 | private $response; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var CoreDelegator コアデリゲータ |
||
| 37 | */ |
||
| 38 | private $coreDelegator; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var array<mixed> カスタムアノテーション |
||
| 42 | */ |
||
| 43 | protected $annotation; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @var LoggerAdapter ロガー |
||
| 47 | */ |
||
| 48 | protected $logger; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * destructor |
||
| 52 | */ |
||
| 53 | public function __destruct() |
||
| 54 | { |
||
| 55 | $this->logger->debug("Controller end."); |
||
| 56 | $this->__clear(); |
||
| 57 | } |
||
| 58 | |||
| 59 | /** |
||
| 60 | * 静的ファイルを読み込む |
||
| 61 | * @param string 静的ファイルパス |
||
| 62 | */ |
||
| 63 | final public function __callStaticFile($filepath) |
||
| 64 | { |
||
| 65 | $this->coreDelegator->getView()->__file($filepath); |
||
| 66 | } |
||
| 67 | |||
| 68 | /** |
||
| 69 | * {@inheritdoc} |
||
| 70 | */ |
||
| 71 | public function __customAnnotation(array $annotation) |
||
| 74 | } |
||
| 75 | |||
| 76 | /** |
||
| 77 | * {@inheritdoc} |
||
| 78 | * @Filter(type="initialize") |
||
| 79 | */ |
||
| 80 | public function __initialize(Container $container) |
||
| 87 |
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