psalm-baseline-ocp.xml 7.3 KB

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