psalm-baseline-ocp.xml 4.9 KB

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