1 | <?php |
||
2 | |||
3 | namespace SilverStripe\FullTextSearch\Search\Captures; |
||
4 | |||
5 | use SilverStripe\PostgreSQL\PostgreSQLDatabase; |
||
0 ignored issues
–
show
|
|||
6 | use SilverStripe\FullTextSearch\Search\Updaters\SearchUpdater; |
||
7 | |||
8 | if (!class_exists(PostgreSQLDatabase::class)) { |
||
9 | return; |
||
10 | } |
||
11 | |||
12 | /** |
||
13 | * @deprecated 3.1...4.0 Please use tractorcow/silverstripe-proxy-db to proxy the database connector instead |
||
14 | */ |
||
15 | |||
16 | class SearchManipulateCapture_PostgreSQLDatabase extends PostgreSQLDatabase |
||
17 | { |
||
18 | public $isManipulationCapture = true; |
||
19 | |||
20 | public function manipulate($manipulation) |
||
21 | { |
||
22 | $res = parent::manipulate($manipulation); |
||
23 | SearchUpdater::handle_manipulation($manipulation); |
||
24 | return $res; |
||
25 | } |
||
26 | } |
||
27 |
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