psalm-baseline-ocp.xml 5.2 KB

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