psalm-baseline-ocp.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <files psalm-version="4.18.1@dda05fa913f4dc6eb3386f2f7ce5a45d37a71bcb">
  3. <file src="lib/private/legacy/OC_Template.php">
  4. <UndefinedClass occurrences="1">
  5. <code>OC</code>
  6. </UndefinedClass>
  7. </file>
  8. <file src="lib/public/AppFramework/ApiController.php">
  9. <NoInterfaceProperties occurrences="1">
  10. <code>$this-&gt;request-&gt;server</code>
  11. </NoInterfaceProperties>
  12. </file>
  13. <file src="lib/public/Server.php">
  14. <InvalidThrow occurrences="2">
  15. <code>ContainerExceptionInterface</code>
  16. </InvalidThrow>
  17. </file>
  18. <file src="lib/public/AppFramework/App.php">
  19. <InternalMethod occurrences="1">
  20. <code>new RouteConfig($this-&gt;container, $router, $routes)</code>
  21. </InternalMethod>
  22. <UndefinedClass occurrences="1">
  23. <code>\OC</code>
  24. </UndefinedClass>
  25. </file>
  26. <file src="lib/public/AppFramework/Bootstrap/IBootContext.php">
  27. <InvalidThrow occurrences="1">
  28. <code>ContainerExceptionInterface</code>
  29. </InvalidThrow>
  30. </file>
  31. <file src="lib/public/AppFramework/Db/Entity.php">
  32. <InvalidNullableReturnType occurrences="1">
  33. <code>string</code>
  34. </InvalidNullableReturnType>
  35. <NullableReturnStatement occurrences="1">
  36. <code>$column</code>
  37. </NullableReturnStatement>
  38. </file>
  39. <file src="lib/public/AppFramework/Http/JSONResponse.php">
  40. <InvalidReturnStatement occurrences="1">
  41. <code>$this-&gt;data</code>
  42. </InvalidReturnStatement>
  43. <InvalidReturnType occurrences="1">
  44. <code>array</code>
  45. </InvalidReturnType>
  46. </file>
  47. <file src="lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php">
  48. <UndefinedClass occurrences="1">
  49. <code>\OC</code>
  50. </UndefinedClass>
  51. </file>
  52. <file src="lib/public/AppFramework/Http/Response.php">
  53. <UndefinedClass occurrences="2">
  54. <code>\OC</code>
  55. <code>\OC</code>
  56. </UndefinedClass>
  57. </file>
  58. <file src="lib/public/BackgroundJob/TimedJob.php">
  59. <MoreSpecificImplementedParamType occurrences="1">
  60. <code>$jobList</code>
  61. </MoreSpecificImplementedParamType>
  62. </file>
  63. <file src="lib/public/Dashboard/Model/WidgetTemplate.php">
  64. <InvalidNullableReturnType occurrences="1">
  65. <code>WidgetSetting</code>
  66. </InvalidNullableReturnType>
  67. <NullableReturnStatement occurrences="1">
  68. <code>null</code>
  69. </NullableReturnStatement>
  70. </file>
  71. <file src="lib/public/Defaults.php">
  72. <UndefinedClass occurrences="1">
  73. <code>\OC</code>
  74. </UndefinedClass>
  75. </file>
  76. <file src="lib/public/Diagnostics/IQueryLogger.php">
  77. <LessSpecificImplementedReturnType occurrences="1">
  78. <code>mixed</code>
  79. </LessSpecificImplementedReturnType>
  80. </file>
  81. <file src="lib/public/Federation/Exceptions/ActionNotSupportedException.php">
  82. <UndefinedClass occurrences="1">
  83. <code>\OC</code>
  84. </UndefinedClass>
  85. </file>
  86. <file src="lib/public/Federation/Exceptions/AuthenticationFailedException.php">
  87. <UndefinedClass occurrences="1">
  88. <code>\OC</code>
  89. </UndefinedClass>
  90. </file>
  91. <file src="lib/public/Federation/Exceptions/BadRequestException.php">
  92. <UndefinedClass occurrences="1">
  93. <code>\OC</code>
  94. </UndefinedClass>
  95. </file>
  96. <file src="lib/public/Federation/Exceptions/ProviderAlreadyExistsException.php">
  97. <UndefinedClass occurrences="1">
  98. <code>\OC</code>
  99. </UndefinedClass>
  100. </file>
  101. <file src="lib/public/Federation/Exceptions/ProviderDoesNotExistsException.php">
  102. <UndefinedClass occurrences="1">
  103. <code>\OC</code>
  104. </UndefinedClass>
  105. </file>
  106. <file src="lib/public/Files.php">
  107. <FalsableReturnStatement occurrences="1">
  108. <code>\OC_App::getStorage($app)</code>
  109. </FalsableReturnStatement>
  110. <UndefinedClass occurrences="1">
  111. <code>\OC</code>
  112. </UndefinedClass>
  113. </file>
  114. <file src="lib/public/Files/LockNotAcquiredException.php">
  115. <UndefinedClass occurrences="1">
  116. <code>\OC</code>
  117. </UndefinedClass>
  118. </file>
  119. <file src="lib/public/Files/StorageAuthException.php">
  120. <UndefinedClass occurrences="1">
  121. <code>\OC</code>
  122. </UndefinedClass>
  123. </file>
  124. <file src="lib/public/Files/StorageBadConfigException.php">
  125. <UndefinedClass occurrences="1">
  126. <code>\OC</code>
  127. </UndefinedClass>
  128. </file>
  129. <file src="lib/public/Files/StorageConnectionException.php">
  130. <UndefinedClass occurrences="1">
  131. <code>\OC</code>
  132. </UndefinedClass>
  133. </file>
  134. <file src="lib/public/Files/StorageNotAvailableException.php">
  135. <UndefinedClass occurrences="1">
  136. <code>\OC</code>
  137. </UndefinedClass>
  138. </file>
  139. <file src="lib/public/Files/StorageTimeoutException.php">
  140. <UndefinedClass occurrences="1">
  141. <code>\OC</code>
  142. </UndefinedClass>
  143. </file>
  144. <file src="lib/public/IContainer.php">
  145. <InvalidThrow occurrences="2">
  146. <code>ContainerExceptionInterface</code>
  147. <code>ContainerExceptionInterface</code>
  148. </InvalidThrow>
  149. </file>
  150. <file src="lib/public/Template.php">
  151. <UndefinedFunction occurrences="7">
  152. <code>\html_select_options($options, $selected, $params)</code>
  153. <code>\human_file_size($bytes)</code>
  154. <code>\image_path($app, $image)</code>
  155. <code>\mimetype_icon($mimetype)</code>
  156. <code>\preview_icon($path)</code>
  157. <code>\publicPreview_icon($path, $token)</code>
  158. <code>\relative_modified_date($timestamp, null, $dateOnly)</code>
  159. </UndefinedFunction>
  160. </file>
  161. <file src="lib/public/Util.php">
  162. <UndefinedClass occurrences="14">
  163. <code>\OC</code>
  164. <code>\OC</code>
  165. <code>\OC</code>
  166. <code>\OC</code>
  167. <code>\OC</code>
  168. <code>\OC</code>
  169. <code>\OC</code>
  170. <code>\OC</code>
  171. <code>\OC</code>
  172. <code>\OC</code>
  173. <code>\OC</code>
  174. <code>\OC</code>
  175. <code>\OC</code>
  176. <code>\OC</code>
  177. </UndefinedClass>
  178. </file>
  179. </files>