psalm-baseline-ocp.xml 5.4 KB

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