| Total Complexity | 6 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | trait InteractsWithSwooleTable |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var \SwooleTW\Http\Server\Table |
||
|
|
|||
| 12 | */ |
||
| 13 | protected $table; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Register customized swoole talbes. |
||
| 17 | */ |
||
| 18 | protected function createTables() |
||
| 19 | { |
||
| 20 | $this->table = new SwooleTable; |
||
| 21 | $this->registerTables(); |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Register user-defined swoole tables. |
||
| 26 | */ |
||
| 27 | protected function registerTables() |
||
| 44 | } |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Bind swoole table to Laravel app container. |
||
| 49 | */ |
||
| 50 | protected function bindSwooleTable() |
||
| 56 | } |
||
| 57 | } |
||
| 58 |
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