| Total Complexity | 11 |
| Total Lines | 89 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | trait GrammarTrait |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @inheritDoc |
||
| 14 | */ |
||
| 15 | public function escapeId(string $idf) |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @inheritDoc |
||
| 22 | */ |
||
| 23 | public function unescapeId(string $idf) |
||
| 24 | { |
||
| 25 | $last = substr($idf, -1); |
||
| 26 | return str_replace($last . $last, $last, substr($idf, 1, -1)); |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @inheritDoc |
||
| 31 | */ |
||
| 32 | public function convertField(TableFieldEntity $field) |
||
|
|
|||
| 33 | { |
||
| 34 | return ''; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @inheritDoc |
||
| 39 | */ |
||
| 40 | public function unconvertField(TableFieldEntity $field, string $value) |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @inheritDoc |
||
| 47 | */ |
||
| 48 | public function getCreateTableQuery(string $table, bool $autoIncrement, string $style) |
||
| 49 | { |
||
| 50 | return ''; |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @inheritDoc |
||
| 55 | */ |
||
| 56 | public function getCreateIndexQuery(string $table, string $type, string $name, string $columns) |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @inheritDoc |
||
| 63 | */ |
||
| 64 | public function getUseDatabaseQuery(string $database) |
||
| 65 | { |
||
| 66 | return ''; |
||
| 67 | } |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @inheritDoc |
||
| 71 | */ |
||
| 72 | public function getForeignKeysQuery(string $table) |
||
| 75 | } |
||
| 76 | |||
| 77 | /** |
||
| 78 | * @inheritDoc |
||
| 79 | */ |
||
| 80 | public function getTruncateTableQuery(string $table) |
||
| 81 | { |
||
| 82 | return ''; |
||
| 83 | } |
||
| 84 | |||
| 85 | /** |
||
| 86 | * @inheritDoc |
||
| 87 | */ |
||
| 88 | public function getCreateTriggerQuery(string $table) |
||
| 91 | } |
||
| 92 | |||
| 93 | /** |
||
| 94 | * @inheritDoc |
||
| 95 | */ |
||
| 96 | public function getAutoIncrementModifier() |
||
| 99 | } |
||
| 100 | } |
||
| 101 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.