1 | <?php |
||
25 | class tx_crawler_domain_reason extends tx_crawler_domain_lib_abstract_dbobject |
||
26 | { |
||
27 | protected static $tableName = 'tx_crawler_reason'; |
||
28 | |||
29 | /** |
||
30 | * THE CONSTANTS REPRESENT THE KIND OF THE REASON |
||
31 | * |
||
32 | * Convention for own states: <extensionkey>_<reason> |
||
33 | */ |
||
34 | const REASON_DEFAULT = 'crawler_default_reason'; |
||
35 | const REASON_GUI_SUBMIT = 'crawler_gui_submit_reason'; |
||
36 | const REASON_CLI_SUBMIT = 'crawler_cli_submit_reason'; |
||
37 | |||
38 | /** |
||
39 | * Set uid |
||
|
|||
40 | * |
||
41 | * @param int uid |
||
42 | * @return void |
||
43 | */ |
||
44 | public function setUid($uid) |
||
45 | { |
||
46 | $this->row['uid'] = $uid; |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * Method to set a timestamp for the creation time of this record |
||
51 | * |
||
52 | * @param int $time |
||
53 | */ |
||
54 | public function setCreationDate($time) |
||
55 | { |
||
56 | $this->row['crdate'] = $time; |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * This method can be used to set a user id of the user who has created this reason entry |
||
61 | * |
||
62 | * @param int $user_id |
||
63 | */ |
||
64 | public function setBackendUserId($user_id) |
||
67 | } |
||
68 | |||
69 | /** |
||
70 | * Method to set the type of the reason for this reason instance (see constances) |
||
71 | * |
||
72 | * @param string $string |
||
73 | */ |
||
74 | public function setReason($string) |
||
75 | { |
||
76 | $this->row['reason'] = $string; |
||
77 | } |
||
78 | |||
79 | /** |
||
80 | * This method returns the attached reason text. |
||
81 | * @return string |
||
82 | */ |
||
83 | public function getReason() |
||
86 | } |
||
87 | |||
88 | /** |
||
89 | * This method can be used to assign a detail text to the crawler reason |
||
90 | * |
||
91 | * @param string $detail_text |
||
92 | */ |
||
93 | public function setDetailText($detail_text) |
||
96 | } |
||
97 | |||
98 | /** |
||
99 | * Returns the attachet detail text. |
||
100 | * |
||
101 | * @param void |
||
102 | * @return string |
||
103 | */ |
||
104 | public function getDetailText() |
||
105 | { |
||
106 | return $this->row['detail_text']; |
||
107 | } |
||
108 | |||
109 | /** |
||
110 | * This method is used to set the uid of the queue entry |
||
111 | * where the reason is relevant for. |
||
112 | * |
||
113 | * @param int $entry_uid |
||
114 | */ |
||
115 | public function setQueueEntryUid($entry_uid) |
||
118 | } |
||
119 | } |
||
120 |
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