psalm-baseline-ocp.xml 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <files psalm-version="4.18.1@dda05fa913f4dc6eb3386f2f7ce5a45d37a71bcb">
  3. <file src="lib/private/legacy/OC_Image.php">
  4. <ImplementedReturnTypeMismatch occurrences="1">
  5. <code>null|string</code>
  6. </ImplementedReturnTypeMismatch>
  7. </file>
  8. <file src="lib/private/legacy/OC_Template.php">
  9. <UndefinedClass occurrences="1">
  10. <code>OC</code>
  11. </UndefinedClass>
  12. </file>
  13. <file src="lib/public/App.php">
  14. <UndefinedClass occurrences="2">
  15. <code>\OC</code>
  16. <code>\OC</code>
  17. </UndefinedClass>
  18. </file>
  19. <file src="lib/public/AppFramework/ApiController.php">
  20. <NoInterfaceProperties occurrences="1">
  21. <code>$this-&gt;request-&gt;server</code>
  22. </NoInterfaceProperties>
  23. </file>
  24. <file src="lib/public/Server.php">
  25. <InvalidThrow occurrences="2">
  26. <code>ContainerExceptionInterface</code>
  27. </InvalidThrow>
  28. </file>
  29. <file src="lib/public/AppFramework/App.php">
  30. <InternalMethod occurrences="1">
  31. <code>new RouteConfig($this-&gt;container, $router, $routes)</code>
  32. </InternalMethod>
  33. <UndefinedClass occurrences="1">
  34. <code>\OC</code>
  35. </UndefinedClass>
  36. </file>
  37. <file src="lib/public/AppFramework/Bootstrap/IBootContext.php">
  38. <InvalidThrow occurrences="1">
  39. <code>ContainerExceptionInterface</code>
  40. </InvalidThrow>
  41. </file>
  42. <file src="lib/public/AppFramework/Db/Entity.php">
  43. <InvalidNullableReturnType occurrences="1">
  44. <code>string</code>
  45. </InvalidNullableReturnType>
  46. <NullableReturnStatement occurrences="1">
  47. <code>$column</code>
  48. </NullableReturnStatement>
  49. </file>
  50. <file src="lib/public/AppFramework/Http/JSONResponse.php">
  51. <InvalidReturnStatement occurrences="1">
  52. <code>$this-&gt;data</code>
  53. </InvalidReturnStatement>
  54. <InvalidReturnType occurrences="1">
  55. <code>array</code>
  56. </InvalidReturnType>
  57. </file>
  58. <file src="lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php">
  59. <UndefinedClass occurrences="1">
  60. <code>\OC</code>
  61. </UndefinedClass>
  62. </file>
  63. <file src="lib/public/AppFramework/Http/Response.php">
  64. <UndefinedClass occurrences="2">
  65. <code>\OC</code>
  66. <code>\OC</code>
  67. </UndefinedClass>
  68. </file>
  69. <file src="lib/public/AppFramework/Http/ZipResponse.php">
  70. <InvalidArrayAccess occurrences="5">
  71. <code>$resource['internalName']</code>
  72. <code>$resource['resource']</code>
  73. <code>$resource['size']</code>
  74. <code>$resource['size']</code>
  75. <code>$resource['time']</code>
  76. </InvalidArrayAccess>
  77. <InvalidPropertyAssignmentValue occurrences="1">
  78. <code>$this-&gt;resources</code>
  79. </InvalidPropertyAssignmentValue>
  80. </file>
  81. <file src="lib/public/BackgroundJob/Job.php">
  82. <UndefinedClass occurrences="1">
  83. <code>\OC</code>
  84. </UndefinedClass>
  85. </file>
  86. <file src="lib/public/BackgroundJob/TimedJob.php">
  87. <MoreSpecificImplementedParamType occurrences="1">
  88. <code>$jobList</code>
  89. </MoreSpecificImplementedParamType>
  90. </file>
  91. <file src="lib/public/Dashboard/Model/WidgetTemplate.php">
  92. <InvalidNullableReturnType occurrences="1">
  93. <code>WidgetSetting</code>
  94. </InvalidNullableReturnType>
  95. <NullableReturnStatement occurrences="1">
  96. <code>null</code>
  97. </NullableReturnStatement>
  98. </file>
  99. <file src="lib/public/Defaults.php">
  100. <UndefinedClass occurrences="1">
  101. <code>\OC</code>
  102. </UndefinedClass>
  103. </file>
  104. <file src="lib/public/Diagnostics/IQueryLogger.php">
  105. <LessSpecificImplementedReturnType occurrences="1">
  106. <code>mixed</code>
  107. </LessSpecificImplementedReturnType>
  108. </file>
  109. <file src="lib/public/Federation/Exceptions/ActionNotSupportedException.php">
  110. <UndefinedClass occurrences="1">
  111. <code>\OC</code>
  112. </UndefinedClass>
  113. </file>
  114. <file src="lib/public/Federation/Exceptions/AuthenticationFailedException.php">
  115. <UndefinedClass occurrences="1">
  116. <code>\OC</code>
  117. </UndefinedClass>
  118. </file>
  119. <file src="lib/public/Federation/Exceptions/BadRequestException.php">
  120. <UndefinedClass occurrences="1">
  121. <code>\OC</code>
  122. </UndefinedClass>
  123. </file>
  124. <file src="lib/public/Federation/Exceptions/ProviderAlreadyExistsException.php">
  125. <UndefinedClass occurrences="1">
  126. <code>\OC</code>
  127. </UndefinedClass>
  128. </file>
  129. <file src="lib/public/Federation/Exceptions/ProviderDoesNotExistsException.php">
  130. <UndefinedClass occurrences="1">
  131. <code>\OC</code>
  132. </UndefinedClass>
  133. </file>
  134. <file src="lib/public/Files.php">
  135. <FalsableReturnStatement occurrences="1">
  136. <code>\OC_App::getStorage($app)</code>
  137. </FalsableReturnStatement>
  138. <UndefinedClass occurrences="1">
  139. <code>\OC</code>
  140. </UndefinedClass>
  141. </file>
  142. <file src="lib/public/Files/LockNotAcquiredException.php">
  143. <UndefinedClass occurrences="1">
  144. <code>\OC</code>
  145. </UndefinedClass>
  146. </file>
  147. <file src="lib/public/Files/StorageAuthException.php">
  148. <UndefinedClass occurrences="1">
  149. <code>\OC</code>
  150. </UndefinedClass>
  151. </file>
  152. <file src="lib/public/Files/StorageBadConfigException.php">
  153. <UndefinedClass occurrences="1">
  154. <code>\OC</code>
  155. </UndefinedClass>
  156. </file>
  157. <file src="lib/public/Files/StorageConnectionException.php">
  158. <UndefinedClass occurrences="1">
  159. <code>\OC</code>
  160. </UndefinedClass>
  161. </file>
  162. <file src="lib/public/Files/StorageNotAvailableException.php">
  163. <UndefinedClass occurrences="1">
  164. <code>\OC</code>
  165. </UndefinedClass>
  166. </file>
  167. <file src="lib/public/Files/StorageTimeoutException.php">
  168. <UndefinedClass occurrences="1">
  169. <code>\OC</code>
  170. </UndefinedClass>
  171. </file>
  172. <file src="lib/public/FullTextSearch/Model/ISearchRequest.php">
  173. <InvalidClass occurrences="1">
  174. <code>IsearchRequest</code>
  175. </InvalidClass>
  176. </file>
  177. <file src="lib/public/IAddressBook.php">
  178. <InvalidDocblock occurrences="1">
  179. <code>public function getUri(): string;</code>
  180. </InvalidDocblock>
  181. </file>
  182. <file src="lib/public/IAvatar.php">
  183. <UndefinedDocblockClass occurrences="1">
  184. <code>Color</code>
  185. </UndefinedDocblockClass>
  186. </file>
  187. <file src="lib/public/IContainer.php">
  188. <InvalidThrow occurrences="2">
  189. <code>ContainerExceptionInterface</code>
  190. <code>ContainerExceptionInterface</code>
  191. </InvalidThrow>
  192. </file>
  193. <file src="lib/public/IDBConnection.php">
  194. <InvalidClass occurrences="1">
  195. <code>PreconditionNotMetException</code>
  196. </InvalidClass>
  197. </file>
  198. <file src="lib/public/Search/SearchResult.php">
  199. <InvalidArgument occurrences="1">
  200. <code>$cursor</code>
  201. </InvalidArgument>
  202. </file>
  203. <file src="lib/public/Share.php">
  204. <InvalidReturnType occurrences="3">
  205. <code>array</code>
  206. <code>array|bool</code>
  207. <code>mixed</code>
  208. </InvalidReturnType>
  209. </file>
  210. <file src="lib/public/Template.php">
  211. <UndefinedFunction occurrences="7">
  212. <code>\html_select_options($options, $selected, $params)</code>
  213. <code>\human_file_size($bytes)</code>
  214. <code>\image_path($app, $image)</code>
  215. <code>\mimetype_icon($mimetype)</code>
  216. <code>\preview_icon($path)</code>
  217. <code>\publicPreview_icon($path, $token)</code>
  218. <code>\relative_modified_date($timestamp, null, $dateOnly)</code>
  219. </UndefinedFunction>
  220. </file>
  221. <file src="lib/public/Util.php">
  222. <InvalidReturnStatement occurrences="1">
  223. <code>\OC_Helper::computerFileSize($str)</code>
  224. </InvalidReturnStatement>
  225. <InvalidReturnType occurrences="1">
  226. <code>float</code>
  227. </InvalidReturnType>
  228. <UndefinedClass occurrences="14">
  229. <code>\OC</code>
  230. <code>\OC</code>
  231. <code>\OC</code>
  232. <code>\OC</code>
  233. <code>\OC</code>
  234. <code>\OC</code>
  235. <code>\OC</code>
  236. <code>\OC</code>
  237. <code>\OC</code>
  238. <code>\OC</code>
  239. <code>\OC</code>
  240. <code>\OC</code>
  241. <code>\OC</code>
  242. <code>\OC</code>
  243. </UndefinedClass>
  244. </file>
  245. </files>