Total Complexity | 5 |
Total Lines | 54 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | abstract class AbstractTable |
||
13 | { |
||
14 | protected $tableName; |
||
15 | protected $logger; |
||
16 | protected $cache; |
||
17 | |||
18 | /** |
||
19 | * Default controller. |
||
20 | * |
||
21 | * @param LoggerInterface $logger Logger to be used by the class. |
||
22 | */ |
||
23 | public function __construct(LoggerInterface $logger) |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Find one row, by ID. |
||
31 | * |
||
32 | * @param int $id Row ID. |
||
33 | * |
||
34 | * @return ?OODBBean Row, if found, NULL otherwise. |
||
35 | */ |
||
36 | public function findOneById(int $id): ?OODBBean |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * Store (insert or update) and load bean. |
||
58 | * |
||
59 | * @param OODBBean $bean Bean to be stored. |
||
60 | * |
||
61 | * @return OODBBean Bean freshly loaded from database. |
||
62 | */ |
||
63 | public function storeAndLoad(OODBBean $bean): OODBBean |
||
68 |
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