psalm-baseline-ocp.xml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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/AppFramework/ApiController.php">
  14. <NoInterfaceProperties occurrences="1">
  15. <code>$this-&gt;request-&gt;server</code>
  16. </NoInterfaceProperties>
  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/Db/Entity.php">
  27. <InvalidNullableReturnType occurrences="1">
  28. <code>string</code>
  29. </InvalidNullableReturnType>
  30. <NullableReturnStatement occurrences="1">
  31. <code>$column</code>
  32. </NullableReturnStatement>
  33. </file>
  34. <file src="lib/public/AppFramework/Http/JSONResponse.php">
  35. <InvalidReturnStatement occurrences="1">
  36. <code>$this-&gt;data</code>
  37. </InvalidReturnStatement>
  38. <InvalidReturnType occurrences="1">
  39. <code>array</code>
  40. </InvalidReturnType>
  41. </file>
  42. <file src="lib/public/AppFramework/Http/RedirectToDefaultAppResponse.php">
  43. <UndefinedClass occurrences="1">
  44. <code>\OC</code>
  45. </UndefinedClass>
  46. </file>
  47. <file src="lib/public/AppFramework/Http/Response.php">
  48. <UndefinedClass occurrences="2">
  49. <code>\OC</code>
  50. <code>\OC</code>
  51. </UndefinedClass>
  52. </file>
  53. <file src="lib/public/BackgroundJob/TimedJob.php">
  54. <MoreSpecificImplementedParamType occurrences="1">
  55. <code>$jobList</code>
  56. </MoreSpecificImplementedParamType>
  57. </file>
  58. <file src="lib/public/Dashboard/Model/WidgetTemplate.php">
  59. <InvalidNullableReturnType occurrences="1">
  60. <code>WidgetSetting</code>
  61. </InvalidNullableReturnType>
  62. <NullableReturnStatement occurrences="1">
  63. <code>null</code>
  64. </NullableReturnStatement>
  65. </file>
  66. <file src="lib/public/Defaults.php">
  67. <UndefinedClass occurrences="1">
  68. <code>\OC</code>
  69. </UndefinedClass>
  70. </file>
  71. <file src="lib/public/Diagnostics/IQueryLogger.php">
  72. <LessSpecificImplementedReturnType occurrences="1">
  73. <code>mixed</code>
  74. </LessSpecificImplementedReturnType>
  75. </file>
  76. <file src="lib/public/Federation/Exceptions/ActionNotSupportedException.php">
  77. <UndefinedClass occurrences="1">
  78. <code>\OC</code>
  79. </UndefinedClass>
  80. </file>
  81. <file src="lib/public/Federation/Exceptions/AuthenticationFailedException.php">
  82. <UndefinedClass occurrences="1">
  83. <code>\OC</code>
  84. </UndefinedClass>
  85. </file>
  86. <file src="lib/public/Federation/Exceptions/BadRequestException.php">
  87. <UndefinedClass occurrences="1">
  88. <code>\OC</code>
  89. </UndefinedClass>
  90. </file>
  91. <file src="lib/public/Federation/Exceptions/ProviderAlreadyExistsException.php">
  92. <UndefinedClass occurrences="1">
  93. <code>\OC</code>
  94. </UndefinedClass>
  95. </file>
  96. <file src="lib/public/Federation/Exceptions/ProviderDoesNotExistsException.php">
  97. <UndefinedClass occurrences="1">
  98. <code>\OC</code>
  99. </UndefinedClass>
  100. </file>
  101. <file src="lib/public/Files.php">
  102. <FalsableReturnStatement occurrences="1">
  103. <code>\OC_App::getStorage($app)</code>
  104. </FalsableReturnStatement>
  105. <UndefinedClass occurrences="1">
  106. <code>\OC</code>
  107. </UndefinedClass>
  108. </file>
  109. <file src="lib/public/Files/LockNotAcquiredException.php">
  110. <UndefinedClass occurrences="1">
  111. <code>\OC</code>
  112. </UndefinedClass>
  113. </file>
  114. <file src="lib/public/Files/StorageAuthException.php">
  115. <UndefinedClass occurrences="1">
  116. <code>\OC</code>
  117. </UndefinedClass>
  118. </file>
  119. <file src="lib/public/Files/StorageBadConfigException.php">
  120. <UndefinedClass occurrences="1">
  121. <code>\OC</code>
  122. </UndefinedClass>
  123. </file>
  124. <file src="lib/public/Files/StorageConnectionException.php">
  125. <UndefinedClass occurrences="1">
  126. <code>\OC</code>
  127. </UndefinedClass>
  128. </file>
  129. <file src="lib/public/Files/StorageNotAvailableException.php">
  130. <UndefinedClass occurrences="1">
  131. <code>\OC</code>
  132. </UndefinedClass>
  133. </file>
  134. <file src="lib/public/Files/StorageTimeoutException.php">
  135. <UndefinedClass occurrences="1">
  136. <code>\OC</code>
  137. </UndefinedClass>
  138. </file>
  139. <file src="lib/public/Template.php">
  140. <UndefinedFunction occurrences="7">
  141. <code>\html_select_options($options, $selected, $params)</code>
  142. <code>\human_file_size($bytes)</code>
  143. <code>\image_path($app, $image)</code>
  144. <code>\mimetype_icon($mimetype)</code>
  145. <code>\preview_icon($path)</code>
  146. <code>\publicPreview_icon($path, $token)</code>
  147. <code>\relative_modified_date($timestamp, null, $dateOnly)</code>
  148. </UndefinedFunction>
  149. </file>
  150. <file src="lib/public/Util.php">
  151. <UndefinedClass occurrences="14">
  152. <code>\OC</code>
  153. <code>\OC</code>
  154. <code>\OC</code>
  155. <code>\OC</code>
  156. <code>\OC</code>
  157. <code>\OC</code>
  158. <code>\OC</code>
  159. <code>\OC</code>
  160. <code>\OC</code>
  161. <code>\OC</code>
  162. <code>\OC</code>
  163. <code>\OC</code>
  164. <code>\OC</code>
  165. <code>\OC</code>
  166. </UndefinedClass>
  167. </file>
  168. </files>