We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 34 |
| Total Lines | 209 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | class FormEngine { |
||
| 25 | /** |
||
| 26 | * Helper to display document's thumbnail for table "tx_dlf_documents" |
||
| 27 | * |
||
| 28 | * @access public |
||
| 29 | * |
||
| 30 | * @param array &$params: An array with parameters |
||
| 31 | * @param \TYPO3\CMS\Backend\Form\FormEngine &$pObj: The parent object |
||
|
|
|||
| 32 | * |
||
| 33 | * @return string HTML <img> tag for thumbnail |
||
| 34 | */ |
||
| 35 | public function displayThumbnail(&$params, &$pObj) { |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Helper to get flexform's items array for plugin "tx_dlf_collection" |
||
| 46 | * |
||
| 47 | * @access public |
||
| 48 | * |
||
| 49 | * @param array &$params: An array with parameters |
||
| 50 | * @param \TYPO3\CMS\Backend\Form\FormEngine &$pObj: The parent object |
||
| 51 | * |
||
| 52 | * @return void |
||
| 53 | */ |
||
| 54 | public function itemsProcFunc_collectionList(&$params, &$pObj) { |
||
|
1 ignored issue
–
show
|
|||
| 55 | $pages = $params['row']['pages']; |
||
| 56 | if (!empty($pages)) { |
||
| 57 | foreach ($pages as $page) { |
||
| 58 | if ($page['uid'] > 0) { |
||
| 59 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
||
| 60 | 'label,uid', |
||
| 61 | 'tx_dlf_collections', |
||
| 62 | 'pid='.intval($page['uid']) |
||
| 63 | .' AND (sys_language_uid IN (-1,0) OR l18n_parent=0)' |
||
| 64 | .Helper::whereClause('tx_dlf_collections'), |
||
| 65 | '', |
||
| 66 | 'label', |
||
| 67 | '' |
||
| 68 | ); |
||
| 69 | if ($GLOBALS['TYPO3_DB']->sql_num_rows($result) > 0) { |
||
| 70 | while ($resArray = $GLOBALS['TYPO3_DB']->sql_fetch_row($result)) { |
||
| 71 | $params['items'][] = $resArray; |
||
| 72 | } |
||
| 73 | } |
||
| 74 | } |
||
| 75 | } |
||
| 76 | } |
||
| 77 | } |
||
| 78 | |||
| 79 | /** |
||
| 80 | * Helper to get flexform's items array for plugin "Search" |
||
| 81 | * |
||
| 82 | * @access public |
||
| 83 | * |
||
| 84 | * @param array &$params: An array with parameters |
||
| 85 | * @param \TYPO3\CMS\Backend\Form\FormEngine &$pObj: The parent object |
||
| 86 | * |
||
| 87 | * @return void |
||
| 88 | */ |
||
| 89 | public function itemsProcFunc_extendedSearchList(&$params, &$pObj) { |
||
|
1 ignored issue
–
show
|
|||
| 90 | $pages = $params['row']['pages']; |
||
| 91 | if (!empty($pages)) { |
||
| 92 | foreach ($pages as $page) { |
||
| 93 | if ($page['uid'] > 0) { |
||
| 94 | $result = $GLOBALS['TYPO3_DB']->exec_SELECTquery( |
||
| 95 | 'label,index_name', |
||
| 96 | 'tx_dlf_metadata', |
||
| 97 | 'index_indexed=1' |
||
| 98 | .' AND pid='.intval($page['uid']) |
||
| 99 | .' AND (sys_language_uid IN (-1,0) OR l18n_parent=0)' |
||
| 100 | .Helper::whereClause('tx_dlf_metadata'), |
||
| 101 | '', |
||
| 102 | 'sorting', |
||
| 103 | '' |
||
| 104 | ); |
||
| 105 | if ($GLOBALS['TYPO3_DB']->sql_num_rows($result) > 0) { |
||
| 106 | while ($resArray = $GLOBALS['TYPO3_DB']->sql_fetch_row($result)) { |
||
| 107 | $params['items'][] = $resArray; |
||
| 108 | } |
||
| 109 | } |
||
| 110 | } |
||
| 111 | } |
||
| 112 | } |
||
| 113 | } |
||
| 114 | |||
| 115 | /** |
||
| 116 | * Helper to get flexform's items array for plugin "Search" |
||
| 117 | * |
||
| 118 | * @access public |
||
| 119 | * |
||
| 120 | * @param array &$params: An array with parameters |
||
| 121 | * @param \TYPO3\CMS\Backend\Form\FormEngine &$pObj: The parent object |
||
| 122 | * |
||
| 123 | * @return void |
||
| 124 | */ |
||
| 125 | public function itemsProcFunc_facetsList(&$params, &$pObj) { |
||
| 144 | } |
||
| 145 | } |
||
| 146 | } |
||
| 147 | } |
||
| 148 | } |
||
| 149 | } |
||
| 150 | |||
| 151 | /** |
||
| 152 | * Helper to get flexform's items array for plugin "OaiPmh" |
||
| 153 | * |
||
| 154 | * @access public |
||
| 155 | * |
||
| 156 | * @param array &$params: An array with parameters |
||
| 157 | * @param \TYPO3\CMS\Backend\Form\FormEngine &$pObj: The parent object |
||
| 158 | * |
||
| 159 | * @return void |
||
| 160 | */ |
||
| 161 | public function itemsProcFunc_libraryList(&$params, &$pObj) { |
||
| 179 | } |
||
| 180 | } |
||
| 181 | } |
||
| 182 | } |
||
| 183 | } |
||
| 184 | } |
||
| 185 | |||
| 186 | /** |
||
| 187 | * Helper to get flexform's items array for plugin "Search" |
||
| 188 | * |
||
| 189 | * @access public |
||
| 190 | * |
||
| 191 | * @param array &$params: An array with parameters |
||
| 192 | * @param \TYPO3\CMS\Backend\Form\FormEngine &$pObj: The parent object |
||
| 193 | * |
||
| 194 | * @return void |
||
| 195 | */ |
||
| 196 | public function itemsProcFunc_solrList(&$params, &$pObj) { |
||
| 213 | } |
||
| 214 | } |
||
| 215 | } |
||
| 216 | } |
||
| 217 | } |
||
| 218 | } |
||
| 219 | |||
| 220 | /** |
||
| 221 | * Helper to get flexform's items array for plugin "Toolbox" |
||
| 222 | * |
||
| 223 | * @access public |
||
| 224 | * |
||
| 225 | * @param array &$params: An array with parameters |
||
| 226 | * @param \TYPO3\CMS\Backend\Form\FormEngine &$pObj: The parent object |
||
| 227 | * |
||
| 228 | * @return void |
||
| 229 | */ |
||
| 230 | public function itemsProcFunc_toolList(&$params, &$pObj) { |
||
| 233 | } |
||
| 234 | } |
||
| 235 | } |
||
| 236 |
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