| Total Complexity | 7 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class SQLite3GISSchemaManager extends SQLite3SchemaManager |
||
| 10 | { |
||
| 11 | use GISSchemaManager; |
||
| 12 | |||
| 13 | protected static $is_initialised = false; |
||
| 14 | |||
| 15 | public function initialise() { |
||
| 21 | } |
||
| 22 | } |
||
| 23 | |||
| 24 | public function geography($values) |
||
| 25 | { |
||
| 26 | // ATTENTION: GEOGRAPHY IS NOT SUPPORTED BY MYSQL. THIS IS STRICTLY FOR COMPATIBILITY |
||
| 27 | return 'geometry'; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function translateStGeometryTypeFilter($field, $value, $inclusive) |
||
| 31 | { |
||
| 32 | $null = $inclusive ? '' : ' OR ' . DB::get_conn()->nullCheckClause($field, true); |
||
| 33 | $fragment = sprintf( |
||
| 34 | '%sLOWER(ST_GeometryType(%s)) = ?%s', |
||
| 35 | $inclusive ? '' : 'NOT ', |
||
| 36 | $field, |
||
| 37 | $null |
||
| 38 | ); |
||
| 39 | return [$fragment => strtolower($value)]; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function translateBasicSelectGeo() |
||
| 46 | } |
||
| 47 | } |
||
| 48 |
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