psalm-baseline.xml 96 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <files psalm-version="5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0">
  3. <file src="3rdparty/sabre/dav/lib/CalDAV/Calendar.php">
  4. <MoreSpecificImplementedParamType>
  5. <code><![CDATA[$data]]></code>
  6. </MoreSpecificImplementedParamType>
  7. </file>
  8. <file src="3rdparty/sabre/dav/lib/CalDAV/CalendarHome.php">
  9. <MoreSpecificImplementedParamType>
  10. <code><![CDATA[$data]]></code>
  11. </MoreSpecificImplementedParamType>
  12. </file>
  13. <file src="3rdparty/sabre/dav/lib/CalDAV/Principal/User.php">
  14. <MoreSpecificImplementedParamType>
  15. <code><![CDATA[$data]]></code>
  16. </MoreSpecificImplementedParamType>
  17. </file>
  18. <file src="3rdparty/sabre/dav/lib/CardDAV/AddressBook.php">
  19. <MoreSpecificImplementedParamType>
  20. <code><![CDATA[$data]]></code>
  21. </MoreSpecificImplementedParamType>
  22. </file>
  23. <file src="3rdparty/sabre/dav/lib/CardDAV/AddressBookHome.php">
  24. <InvalidPropertyAssignmentValue>
  25. <code><![CDATA[$principalUri]]></code>
  26. </InvalidPropertyAssignmentValue>
  27. <MoreSpecificImplementedParamType>
  28. <code><![CDATA[$data]]></code>
  29. </MoreSpecificImplementedParamType>
  30. </file>
  31. <file src="3rdparty/sabre/dav/lib/CardDAV/Card.php">
  32. <MoreSpecificImplementedParamType>
  33. <code><![CDATA[$cardData]]></code>
  34. </MoreSpecificImplementedParamType>
  35. </file>
  36. <file src="3rdparty/sabre/dav/lib/DAV/SimpleCollection.php">
  37. <NoValue>
  38. <code><![CDATA[$child]]></code>
  39. <code><![CDATA[$child]]></code>
  40. </NoValue>
  41. </file>
  42. <file src="3rdparty/sabre/dav/lib/DAVACL/AbstractPrincipalCollection.php">
  43. <LessSpecificImplementedReturnType>
  44. <code><![CDATA[array]]></code>
  45. </LessSpecificImplementedReturnType>
  46. </file>
  47. <file src="apps/dav/appinfo/v1/caldav.php">
  48. <UndefinedGlobalVariable>
  49. <code><![CDATA[$baseuri]]></code>
  50. </UndefinedGlobalVariable>
  51. </file>
  52. <file src="apps/dav/appinfo/v1/carddav.php">
  53. <UndefinedGlobalVariable>
  54. <code><![CDATA[$baseuri]]></code>
  55. </UndefinedGlobalVariable>
  56. </file>
  57. <file src="apps/dav/appinfo/v1/publicwebdav.php">
  58. <InternalMethod>
  59. <code><![CDATA[Filesystem::logWarningWhenAddingStorageWrapper($previousLog)]]></code>
  60. <code><![CDATA[Filesystem::logWarningWhenAddingStorageWrapper(false)]]></code>
  61. </InternalMethod>
  62. <UndefinedGlobalVariable>
  63. <code><![CDATA[$baseuri]]></code>
  64. </UndefinedGlobalVariable>
  65. </file>
  66. <file src="apps/dav/appinfo/v1/webdav.php">
  67. <UndefinedGlobalVariable>
  68. <code><![CDATA[$baseuri]]></code>
  69. </UndefinedGlobalVariable>
  70. </file>
  71. <file src="apps/dav/appinfo/v2/direct.php">
  72. <UndefinedGlobalVariable>
  73. <code><![CDATA[$baseuri]]></code>
  74. </UndefinedGlobalVariable>
  75. </file>
  76. <file src="apps/dav/appinfo/v2/remote.php">
  77. <UndefinedGlobalVariable>
  78. <code><![CDATA[$baseuri]]></code>
  79. </UndefinedGlobalVariable>
  80. </file>
  81. <file src="apps/dav/lib/AppInfo/Application.php">
  82. <InvalidArgument>
  83. <code><![CDATA[registerEventListener]]></code>
  84. </InvalidArgument>
  85. </file>
  86. <file src="apps/dav/lib/CalDAV/BirthdayService.php">
  87. <UndefinedMethod>
  88. <code><![CDATA[setDateTime]]></code>
  89. <code><![CDATA[setDateTime]]></code>
  90. </UndefinedMethod>
  91. <UndefinedPropertyFetch>
  92. <code><![CDATA[$existingBirthday->VEVENT->DTSTART]]></code>
  93. <code><![CDATA[$existingBirthday->VEVENT->SUMMARY]]></code>
  94. <code><![CDATA[$newCalendarData->VEVENT->DTSTART]]></code>
  95. <code><![CDATA[$newCalendarData->VEVENT->SUMMARY]]></code>
  96. </UndefinedPropertyFetch>
  97. </file>
  98. <file src="apps/dav/lib/CalDAV/CachedSubscriptionObject.php">
  99. <NullableReturnStatement>
  100. <code><![CDATA[$this->objectData['calendardata']]]></code>
  101. </NullableReturnStatement>
  102. <ParamNameMismatch>
  103. <code><![CDATA[$calendarData]]></code>
  104. <code><![CDATA[$calendarData]]></code>
  105. </ParamNameMismatch>
  106. </file>
  107. <file src="apps/dav/lib/CalDAV/CalDavBackend.php">
  108. <InvalidNullableReturnType>
  109. <code><![CDATA[array]]></code>
  110. </InvalidNullableReturnType>
  111. <LessSpecificReturnStatement>
  112. <code><![CDATA[Reader::read($objectData)]]></code>
  113. </LessSpecificReturnStatement>
  114. <MoreSpecificImplementedParamType>
  115. <code><![CDATA[$objectData]]></code>
  116. <code><![CDATA[$uris]]></code>
  117. <code><![CDATA[$uris]]></code>
  118. </MoreSpecificImplementedParamType>
  119. <MoreSpecificReturnType>
  120. <code><![CDATA[VCalendar]]></code>
  121. </MoreSpecificReturnType>
  122. <NullableReturnStatement>
  123. <code><![CDATA[null]]></code>
  124. </NullableReturnStatement>
  125. </file>
  126. <file src="apps/dav/lib/CalDAV/CalendarHome.php">
  127. <InvalidNullableReturnType>
  128. <code><![CDATA[INode]]></code>
  129. </InvalidNullableReturnType>
  130. <LessSpecificImplementedReturnType>
  131. <code><![CDATA[INode]]></code>
  132. </LessSpecificImplementedReturnType>
  133. <NullableReturnStatement>
  134. <code><![CDATA[$calendarPlugin->getCalendarInCalendarHome($this->principalInfo['uri'], $calendarUri)]]></code>
  135. </NullableReturnStatement>
  136. <UndefinedInterfaceMethod>
  137. <code><![CDATA[calendarSearch]]></code>
  138. </UndefinedInterfaceMethod>
  139. </file>
  140. <file src="apps/dav/lib/CalDAV/CalendarRoot.php">
  141. <ParamNameMismatch>
  142. <code><![CDATA[$principal]]></code>
  143. </ParamNameMismatch>
  144. </file>
  145. <file src="apps/dav/lib/CalDAV/Plugin.php">
  146. <ImplementedReturnTypeMismatch>
  147. <code><![CDATA[string|null]]></code>
  148. </ImplementedReturnTypeMismatch>
  149. </file>
  150. <file src="apps/dav/lib/CalDAV/Principal/Collection.php">
  151. <ParamNameMismatch>
  152. <code><![CDATA[$principalInfo]]></code>
  153. </ParamNameMismatch>
  154. </file>
  155. <file src="apps/dav/lib/CalDAV/PublicCalendar.php">
  156. <MoreSpecificImplementedParamType>
  157. <code><![CDATA[$paths]]></code>
  158. </MoreSpecificImplementedParamType>
  159. </file>
  160. <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php">
  161. <LessSpecificReturnStatement>
  162. <code><![CDATA[$vevent->DTEND]]></code>
  163. </LessSpecificReturnStatement>
  164. <UndefinedMethod>
  165. <code><![CDATA[hasTime]]></code>
  166. <code><![CDATA[isFloating]]></code>
  167. <code><![CDATA[isFloating]]></code>
  168. </UndefinedMethod>
  169. </file>
  170. <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php">
  171. <LessSpecificReturnStatement>
  172. <code><![CDATA[$emailAddresses]]></code>
  173. </LessSpecificReturnStatement>
  174. <MoreSpecificReturnType>
  175. <code><![CDATA[array<string, array{LANG?: string}>]]></code>
  176. </MoreSpecificReturnType>
  177. <UndefinedMethod>
  178. <code><![CDATA[getDateTime]]></code>
  179. <code><![CDATA[getDateTime]]></code>
  180. <code><![CDATA[isFloating]]></code>
  181. </UndefinedMethod>
  182. </file>
  183. <file src="apps/dav/lib/CalDAV/Reminder/NotificationProviderManager.php">
  184. <UndefinedConstant>
  185. <code><![CDATA[$provider::NOTIFICATION_TYPE]]></code>
  186. </UndefinedConstant>
  187. </file>
  188. <file src="apps/dav/lib/CalDAV/Reminder/Notifier.php">
  189. <TypeDoesNotContainType>
  190. <code><![CDATA[$diff === false]]></code>
  191. </TypeDoesNotContainType>
  192. </file>
  193. <file src="apps/dav/lib/CalDAV/Reminder/ReminderService.php">
  194. <LessSpecificReturnStatement>
  195. <code><![CDATA[$vevents]]></code>
  196. <code><![CDATA[VObject\Reader::read($calendarData,
  197. VObject\Reader::OPTION_FORGIVING)]]></code>
  198. </LessSpecificReturnStatement>
  199. <MoreSpecificReturnType>
  200. <code><![CDATA[VObject\Component\VCalendar|null]]></code>
  201. <code><![CDATA[VObject\Component\VEvent[]]]></code>
  202. </MoreSpecificReturnType>
  203. <UndefinedMethod>
  204. <code><![CDATA[getDateTime]]></code>
  205. <code><![CDATA[getDateTime]]></code>
  206. </UndefinedMethod>
  207. <UndefinedPropertyFetch>
  208. <code><![CDATA[$valarm->parent->UID]]></code>
  209. </UndefinedPropertyFetch>
  210. </file>
  211. <file src="apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php">
  212. <InvalidNullableReturnType>
  213. <code><![CDATA[array]]></code>
  214. </InvalidNullableReturnType>
  215. <InvalidReturnStatement>
  216. <code><![CDATA[$principals]]></code>
  217. </InvalidReturnStatement>
  218. <InvalidReturnType>
  219. <code><![CDATA[string[]]]></code>
  220. </InvalidReturnType>
  221. <NullableReturnStatement>
  222. <code><![CDATA[null]]></code>
  223. <code><![CDATA[null]]></code>
  224. </NullableReturnStatement>
  225. </file>
  226. <file src="apps/dav/lib/CalDAV/Schedule/IMipPlugin.php">
  227. <RedundantCast>
  228. <code><![CDATA[(string)$iTipMessage->recipientName]]></code>
  229. </RedundantCast>
  230. <RedundantCondition>
  231. <code><![CDATA[!empty($modified['old']) && is_array($modified['old'])]]></code>
  232. <code><![CDATA[is_array($modified['old'])]]></code>
  233. </RedundantCondition>
  234. </file>
  235. <file src="apps/dav/lib/CalDAV/Schedule/IMipService.php">
  236. <UndefinedMethod>
  237. <code><![CDATA[getNormalizedValue]]></code>
  238. <code><![CDATA[getNormalizedValue]]></code>
  239. </UndefinedMethod>
  240. </file>
  241. <file src="apps/dav/lib/CalDAV/Schedule/Plugin.php">
  242. <InvalidArgument>
  243. <code><![CDATA[[$aclPlugin, 'propFind']]]></code>
  244. <code><![CDATA[[$aclPlugin, 'propFind']]]></code>
  245. </InvalidArgument>
  246. <LessSpecificReturnStatement>
  247. <code><![CDATA[$vevent->DTEND]]></code>
  248. </LessSpecificReturnStatement>
  249. <UndefinedInterfaceMethod>
  250. <code><![CDATA[getChildren]]></code>
  251. </UndefinedInterfaceMethod>
  252. <UndefinedMethod>
  253. <code><![CDATA[getDateTime]]></code>
  254. <code><![CDATA[hasTime]]></code>
  255. <code><![CDATA[isFloating]]></code>
  256. <code><![CDATA[isFloating]]></code>
  257. <code><![CDATA[principalSearch]]></code>
  258. </UndefinedMethod>
  259. </file>
  260. <file src="apps/dav/lib/CalDAV/Search/SearchPlugin.php">
  261. <InvalidNullableReturnType>
  262. <code><![CDATA[bool]]></code>
  263. </InvalidNullableReturnType>
  264. </file>
  265. <file src="apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php">
  266. <InvalidReturnStatement>
  267. <code><![CDATA[[
  268. 'property' => $property,
  269. 'parameter' => $parameter,
  270. ]]]></code>
  271. </InvalidReturnStatement>
  272. <InvalidReturnType>
  273. <code><![CDATA[string]]></code>
  274. </InvalidReturnType>
  275. </file>
  276. <file src="apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php">
  277. <TypeDoesNotContainType>
  278. <code><![CDATA[!is_array($newProps['filters']['comps'])]]></code>
  279. <code><![CDATA[!is_array($newProps['filters']['params'])]]></code>
  280. <code><![CDATA[!is_array($newProps['filters']['props'])]]></code>
  281. <code><![CDATA[!isset($newProps['filters']['comps']) || !is_array($newProps['filters']['comps'])]]></code>
  282. <code><![CDATA[!isset($newProps['filters']['params']) || !is_array($newProps['filters']['params'])]]></code>
  283. <code><![CDATA[!isset($newProps['filters']['props']) || !is_array($newProps['filters']['props'])]]></code>
  284. </TypeDoesNotContainType>
  285. </file>
  286. <file src="apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php">
  287. <InvalidArgument>
  288. <code><![CDATA[$webcalData]]></code>
  289. </InvalidArgument>
  290. </file>
  291. <file src="apps/dav/lib/CardDAV/AddressBookImpl.php">
  292. <InvalidArgument>
  293. <code><![CDATA[$this->getKey()]]></code>
  294. <code><![CDATA[$this->getKey()]]></code>
  295. </InvalidArgument>
  296. <LessSpecificReturnStatement>
  297. <code><![CDATA[Reader::read($cardData)]]></code>
  298. </LessSpecificReturnStatement>
  299. <MoreSpecificReturnType>
  300. <code><![CDATA[VCard]]></code>
  301. </MoreSpecificReturnType>
  302. </file>
  303. <file src="apps/dav/lib/CardDAV/AddressBookRoot.php">
  304. <ParamNameMismatch>
  305. <code><![CDATA[$principal]]></code>
  306. </ParamNameMismatch>
  307. </file>
  308. <file src="apps/dav/lib/CardDAV/CardDavBackend.php">
  309. <FalsableReturnStatement>
  310. <code><![CDATA[false]]></code>
  311. </FalsableReturnStatement>
  312. <LessSpecificReturnStatement>
  313. <code><![CDATA[Reader::read($cardData)]]></code>
  314. </LessSpecificReturnStatement>
  315. <MoreSpecificReturnType>
  316. <code><![CDATA[VCard]]></code>
  317. </MoreSpecificReturnType>
  318. <TypeDoesNotContainType>
  319. <code><![CDATA[$addressBooks[$row['id']][$readOnlyPropertyName] === 0]]></code>
  320. </TypeDoesNotContainType>
  321. </file>
  322. <file src="apps/dav/lib/CardDAV/MultiGetExportPlugin.php">
  323. <InvalidNullableReturnType>
  324. <code><![CDATA[bool]]></code>
  325. </InvalidNullableReturnType>
  326. </file>
  327. <file src="apps/dav/lib/CardDAV/Plugin.php">
  328. <ImplementedReturnTypeMismatch>
  329. <code><![CDATA[string|null]]></code>
  330. </ImplementedReturnTypeMismatch>
  331. </file>
  332. <file src="apps/dav/lib/CardDAV/UserAddressBooks.php">
  333. <InvalidArgument>
  334. <code><![CDATA[$this->principalUri]]></code>
  335. <code><![CDATA[$this->principalUri]]></code>
  336. </InvalidArgument>
  337. </file>
  338. <file src="apps/dav/lib/Comments/CommentsPlugin.php">
  339. <UndefinedFunction>
  340. <code><![CDATA[\Sabre\HTTP\toDate($value)]]></code>
  341. </UndefinedFunction>
  342. </file>
  343. <file src="apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php">
  344. <InvalidNullableReturnType>
  345. <code><![CDATA[bool]]></code>
  346. </InvalidNullableReturnType>
  347. </file>
  348. <file src="apps/dav/lib/Connector/Sabre/Auth.php">
  349. <LessSpecificReturnStatement>
  350. <code><![CDATA[$data]]></code>
  351. </LessSpecificReturnStatement>
  352. <MoreSpecificReturnType>
  353. <code><![CDATA[array{bool, string}]]></code>
  354. </MoreSpecificReturnType>
  355. </file>
  356. <file src="apps/dav/lib/Connector/Sabre/BearerAuth.php">
  357. <UndefinedInterfaceMethod>
  358. <code><![CDATA[tryTokenLogin]]></code>
  359. </UndefinedInterfaceMethod>
  360. </file>
  361. <file src="apps/dav/lib/Connector/Sabre/Directory.php">
  362. <InvalidPropertyAssignmentValue>
  363. <code><![CDATA[$nodes]]></code>
  364. </InvalidPropertyAssignmentValue>
  365. <InvalidReturnStatement>
  366. <code><![CDATA[$this->dirContent]]></code>
  367. </InvalidReturnStatement>
  368. <InvalidReturnType>
  369. <code><![CDATA[\Sabre\DAV\INode[]]]></code>
  370. </InvalidReturnType>
  371. <LessSpecificReturnStatement>
  372. <code><![CDATA[$this->node]]></code>
  373. </LessSpecificReturnStatement>
  374. <MoreSpecificReturnType>
  375. <code><![CDATA[Folder]]></code>
  376. </MoreSpecificReturnType>
  377. <NullArgument>
  378. <code><![CDATA[null]]></code>
  379. <code><![CDATA[null]]></code>
  380. <code><![CDATA[null]]></code>
  381. </NullArgument>
  382. <ParamNameMismatch>
  383. <code><![CDATA[$fullSourcePath]]></code>
  384. </ParamNameMismatch>
  385. </file>
  386. <file src="apps/dav/lib/Connector/Sabre/File.php">
  387. <LessSpecificReturnStatement>
  388. <code><![CDATA[$this->node]]></code>
  389. </LessSpecificReturnStatement>
  390. <MoreSpecificReturnType>
  391. <code><![CDATA[\OCP\Files\File]]></code>
  392. </MoreSpecificReturnType>
  393. </file>
  394. <file src="apps/dav/lib/Connector/Sabre/FilesReportPlugin.php">
  395. <InvalidArgument>
  396. <code><![CDATA[0]]></code>
  397. </InvalidArgument>
  398. <InvalidNullableReturnType>
  399. <code><![CDATA[bool]]></code>
  400. </InvalidNullableReturnType>
  401. <TooManyArguments>
  402. <code><![CDATA[new PreconditionFailed('Cannot filter by non-existing tag', 0, $e)]]></code>
  403. </TooManyArguments>
  404. <UndefinedClass>
  405. <code><![CDATA[Circles]]></code>
  406. </UndefinedClass>
  407. <UndefinedInterfaceMethod>
  408. <code><![CDATA[getPath]]></code>
  409. </UndefinedInterfaceMethod>
  410. </file>
  411. <file src="apps/dav/lib/Connector/Sabre/Node.php">
  412. <InvalidNullableReturnType>
  413. <code><![CDATA[int]]></code>
  414. <code><![CDATA[integer]]></code>
  415. </InvalidNullableReturnType>
  416. <NullableReturnStatement>
  417. <code><![CDATA[$this->info->getId()]]></code>
  418. <code><![CDATA[$this->info->getId()]]></code>
  419. </NullableReturnStatement>
  420. </file>
  421. <file src="apps/dav/lib/Connector/Sabre/Principal.php">
  422. <InvalidNullableReturnType>
  423. <code><![CDATA[array]]></code>
  424. </InvalidNullableReturnType>
  425. <InvalidReturnStatement>
  426. <code><![CDATA[$principals]]></code>
  427. </InvalidReturnStatement>
  428. <InvalidReturnType>
  429. <code><![CDATA[string[]]]></code>
  430. </InvalidReturnType>
  431. <InvalidScalarArgument>
  432. <code><![CDATA[$results]]></code>
  433. </InvalidScalarArgument>
  434. <NullableReturnStatement>
  435. <code><![CDATA[$this->circleToPrincipal($decodedName)
  436. ?: $this->circleToPrincipal($name)]]></code>
  437. <code><![CDATA[null]]></code>
  438. <code><![CDATA[null]]></code>
  439. <code><![CDATA[null]]></code>
  440. <code><![CDATA[null]]></code>
  441. <code><![CDATA[null]]></code>
  442. <code><![CDATA[null]]></code>
  443. <code><![CDATA[null]]></code>
  444. </NullableReturnStatement>
  445. <UndefinedClass>
  446. <code><![CDATA[Circles]]></code>
  447. <code><![CDATA[Circles]]></code>
  448. </UndefinedClass>
  449. </file>
  450. <file src="apps/dav/lib/Connector/Sabre/ServerFactory.php">
  451. <TooManyArguments>
  452. <code><![CDATA[new QuotaPlugin($view, true)]]></code>
  453. </TooManyArguments>
  454. </file>
  455. <file src="apps/dav/lib/Connector/Sabre/ShareTypeList.php">
  456. <InvalidArgument>
  457. <code><![CDATA[$shareType]]></code>
  458. </InvalidArgument>
  459. </file>
  460. <file src="apps/dav/lib/Connector/Sabre/ShareeList.php">
  461. <InvalidArgument>
  462. <code><![CDATA[$share->getShareType()]]></code>
  463. </InvalidArgument>
  464. </file>
  465. <file src="apps/dav/lib/Connector/Sabre/TagsPlugin.php">
  466. <NullableReturnStatement>
  467. <code><![CDATA[null]]></code>
  468. </NullableReturnStatement>
  469. <UndefinedInterfaceMethod>
  470. <code><![CDATA[getId]]></code>
  471. </UndefinedInterfaceMethod>
  472. </file>
  473. <file src="apps/dav/lib/Controller/InvitationResponseController.php">
  474. <UndefinedPropertyAssignment>
  475. <code><![CDATA[$vEvent->DTSTAMP]]></code>
  476. </UndefinedPropertyAssignment>
  477. </file>
  478. <file src="apps/dav/lib/DAV/CustomPropertiesBackend.php">
  479. <InvalidArgument>
  480. <code><![CDATA[$whereValues]]></code>
  481. </InvalidArgument>
  482. </file>
  483. <file src="apps/dav/lib/DAV/GroupPrincipalBackend.php">
  484. <InvalidNullableReturnType>
  485. <code><![CDATA[array]]></code>
  486. <code><![CDATA[string]]></code>
  487. </InvalidNullableReturnType>
  488. <InvalidReturnStatement>
  489. <code><![CDATA[$principals]]></code>
  490. </InvalidReturnStatement>
  491. <InvalidReturnType>
  492. <code><![CDATA[string[]]]></code>
  493. </InvalidReturnType>
  494. <MoreSpecificImplementedParamType>
  495. <code><![CDATA[$members]]></code>
  496. </MoreSpecificImplementedParamType>
  497. <NullableReturnStatement>
  498. <code><![CDATA[null]]></code>
  499. <code><![CDATA[null]]></code>
  500. <code><![CDATA[null]]></code>
  501. <code><![CDATA[null]]></code>
  502. <code><![CDATA[null]]></code>
  503. <code><![CDATA[null]]></code>
  504. <code><![CDATA[null]]></code>
  505. </NullableReturnStatement>
  506. </file>
  507. <file src="apps/dav/lib/DAV/SystemPrincipalBackend.php">
  508. <InvalidNullableReturnType>
  509. <code><![CDATA[array]]></code>
  510. </InvalidNullableReturnType>
  511. <NullableReturnStatement>
  512. <code><![CDATA[null]]></code>
  513. </NullableReturnStatement>
  514. </file>
  515. <file src="apps/dav/lib/Direct/Server.php">
  516. <UndefinedThisPropertyAssignment>
  517. <code><![CDATA[$this->enablePropfindDepthInfinityf]]></code>
  518. </UndefinedThisPropertyAssignment>
  519. </file>
  520. <file src="apps/dav/lib/Files/FileSearchBackend.php">
  521. <InvalidReturnStatement>
  522. <code><![CDATA[$value]]></code>
  523. </InvalidReturnStatement>
  524. <InvalidReturnType>
  525. <code><![CDATA[?string]]></code>
  526. </InvalidReturnType>
  527. <ParamNameMismatch>
  528. <code><![CDATA[$search]]></code>
  529. </ParamNameMismatch>
  530. <RedundantCondition>
  531. <code><![CDATA[$date->getTimestamp() !== false]]></code>
  532. </RedundantCondition>
  533. <UndefinedPropertyFetch>
  534. <code><![CDATA[$operator->arguments[0]->name]]></code>
  535. <code><![CDATA[$operator->arguments[0]->name]]></code>
  536. </UndefinedPropertyFetch>
  537. </file>
  538. <file src="apps/dav/lib/Files/LazySearchBackend.php">
  539. <InvalidReturnStatement>
  540. <code><![CDATA[$this->backend->getArbiterPath()]]></code>
  541. </InvalidReturnStatement>
  542. <InvalidReturnType>
  543. <code><![CDATA[bool]]></code>
  544. </InvalidReturnType>
  545. </file>
  546. <file src="apps/dav/lib/HookManager.php">
  547. <InvalidPropertyAssignmentValue>
  548. <code><![CDATA[$this->usersToDelete]]></code>
  549. <code><![CDATA[$this->usersToDelete]]></code>
  550. </InvalidPropertyAssignmentValue>
  551. </file>
  552. <file src="apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php">
  553. <ParamNameMismatch>
  554. <code><![CDATA[$arguments]]></code>
  555. </ParamNameMismatch>
  556. </file>
  557. <file src="apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php">
  558. <ParamNameMismatch>
  559. <code><![CDATA[$arguments]]></code>
  560. </ParamNameMismatch>
  561. </file>
  562. <file src="apps/dav/lib/Search/ContactsSearchProvider.php">
  563. <InvalidOperand>
  564. <code><![CDATA[$query->getCursor()]]></code>
  565. </InvalidOperand>
  566. </file>
  567. <file src="apps/dav/lib/Search/EventsSearchProvider.php">
  568. <FalsableReturnStatement>
  569. <code><![CDATA[$this->l10n->l('date', $startDateTime, ['width' => 'medium'])]]></code>
  570. </FalsableReturnStatement>
  571. <InvalidOperand>
  572. <code><![CDATA[$query->getCursor()]]></code>
  573. </InvalidOperand>
  574. <InvalidPropertyAssignmentValue>
  575. <code><![CDATA[[
  576. 'ATTENDEE' => ['CN'],
  577. 'ORGANIZER' => ['CN'],
  578. ]]]></code>
  579. </InvalidPropertyAssignmentValue>
  580. <InvalidReturnStatement>
  581. <code><![CDATA[$this->l10n->l('date', $startDateTime, ['width' => 'medium'])]]></code>
  582. </InvalidReturnStatement>
  583. <InvalidReturnType>
  584. <code><![CDATA[string]]></code>
  585. </InvalidReturnType>
  586. <UndefinedMethod>
  587. <code><![CDATA[getDateTime]]></code>
  588. <code><![CDATA[getDateTime]]></code>
  589. <code><![CDATA[hasTime]]></code>
  590. <code><![CDATA[isFloating]]></code>
  591. <code><![CDATA[isFloating]]></code>
  592. </UndefinedMethod>
  593. </file>
  594. <file src="apps/dav/lib/Search/TasksSearchProvider.php">
  595. <InvalidOperand>
  596. <code><![CDATA[$query->getCursor()]]></code>
  597. </InvalidOperand>
  598. <UndefinedMethod>
  599. <code><![CDATA[getDateTime]]></code>
  600. <code><![CDATA[getDateTime]]></code>
  601. <code><![CDATA[hasTime]]></code>
  602. </UndefinedMethod>
  603. </file>
  604. <file src="apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php">
  605. <ParamNameMismatch>
  606. <code><![CDATA[$tagId]]></code>
  607. <code><![CDATA[$tagName]]></code>
  608. </ParamNameMismatch>
  609. </file>
  610. <file src="apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php">
  611. <ParamNameMismatch>
  612. <code><![CDATA[$objectName]]></code>
  613. </ParamNameMismatch>
  614. </file>
  615. <file src="apps/dav/lib/Traits/PrincipalProxyTrait.php">
  616. <MoreSpecificImplementedParamType>
  617. <code><![CDATA[$members]]></code>
  618. </MoreSpecificImplementedParamType>
  619. </file>
  620. <file src="apps/dav/lib/Upload/AssemblyStream.php">
  621. <FalsableReturnStatement>
  622. <code><![CDATA[false]]></code>
  623. </FalsableReturnStatement>
  624. <InvalidPropertyAssignmentValue>
  625. <code><![CDATA[$this->currentStream]]></code>
  626. </InvalidPropertyAssignmentValue>
  627. <InvalidReturnStatement>
  628. <code><![CDATA[$context]]></code>
  629. </InvalidReturnStatement>
  630. <InvalidReturnType>
  631. <code><![CDATA[array]]></code>
  632. </InvalidReturnType>
  633. <RedundantFunctionCall>
  634. <code><![CDATA[array_values]]></code>
  635. </RedundantFunctionCall>
  636. </file>
  637. <file src="apps/dav/lib/Upload/ChunkingV2Plugin.php">
  638. <UndefinedInterfaceMethod>
  639. <code><![CDATA[getId]]></code>
  640. <code><![CDATA[getId]]></code>
  641. <code><![CDATA[getId]]></code>
  642. <code><![CDATA[getInternalPath]]></code>
  643. <code><![CDATA[getNode]]></code>
  644. <code><![CDATA[getSize]]></code>
  645. </UndefinedInterfaceMethod>
  646. </file>
  647. <file src="apps/dav/lib/UserMigration/ContactsMigrator.php">
  648. <LessSpecificReturnStatement>
  649. <code><![CDATA[[
  650. 'name' => $addressBookNode->getName(),
  651. 'displayName' => $addressBookInfo['{DAV:}displayname'],
  652. 'description' => $addressBookInfo['{' . CardDAVPlugin::NS_CARDDAV . '}addressbook-description'],
  653. 'vCards' => $vCards,
  654. ]]]></code>
  655. </LessSpecificReturnStatement>
  656. <MoreSpecificReturnType>
  657. <code><![CDATA[array{name: string, displayName: string, description: ?string, vCards: VCard[]}]]></code>
  658. </MoreSpecificReturnType>
  659. </file>
  660. <file src="apps/encryption/lib/Command/FixKeyLocation.php">
  661. <MoreSpecificReturnType>
  662. <code><![CDATA[\Generator<File>]]></code>
  663. </MoreSpecificReturnType>
  664. </file>
  665. <file src="apps/encryption/lib/Crypto/Crypt.php">
  666. <TypeDoesNotContainType>
  667. <code><![CDATA[get_class($res) === 'OpenSSLAsymmetricKey']]></code>
  668. </TypeDoesNotContainType>
  669. </file>
  670. <file src="apps/encryption/lib/Crypto/Encryption.php">
  671. <ImplementedParamTypeMismatch>
  672. <code><![CDATA[$position]]></code>
  673. </ImplementedParamTypeMismatch>
  674. </file>
  675. <file src="apps/encryption/lib/KeyManager.php">
  676. <InvalidThrow>
  677. <code><![CDATA[throw $exception;]]></code>
  678. </InvalidThrow>
  679. </file>
  680. <file src="apps/encryption/lib/Session.php">
  681. <TooManyArguments>
  682. <code><![CDATA[new PrivateKeyMissingException('please try to log-out and log-in again', 0)]]></code>
  683. </TooManyArguments>
  684. </file>
  685. <file src="apps/federatedfilesharing/lib/Controller/RequestHandlerController.php">
  686. <InvalidArgument>
  687. <code><![CDATA[$id]]></code>
  688. <code><![CDATA[$id]]></code>
  689. <code><![CDATA[$id]]></code>
  690. <code><![CDATA[$id]]></code>
  691. <code><![CDATA[$id]]></code>
  692. <code><![CDATA[$id]]></code>
  693. <code><![CDATA[$remoteId]]></code>
  694. </InvalidArgument>
  695. </file>
  696. <file src="apps/federatedfilesharing/lib/FederatedShareProvider.php">
  697. <InvalidArgument>
  698. <code><![CDATA[$shareId]]></code>
  699. <code><![CDATA[$shareId]]></code>
  700. <code><![CDATA[$shareId]]></code>
  701. <code><![CDATA[$shareId]]></code>
  702. <code><![CDATA[(int)$data['id']]]></code>
  703. </InvalidArgument>
  704. </file>
  705. <file src="apps/federatedfilesharing/lib/Notifications.php">
  706. <InvalidReturnType>
  707. <code><![CDATA[bool]]></code>
  708. <code><![CDATA[bool]]></code>
  709. <code><![CDATA[bool]]></code>
  710. </InvalidReturnType>
  711. </file>
  712. <file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php">
  713. <InvalidArgument>
  714. <code><![CDATA[$id]]></code>
  715. <code><![CDATA[$id]]></code>
  716. <code><![CDATA[$id]]></code>
  717. <code><![CDATA[$id]]></code>
  718. </InvalidArgument>
  719. <InvalidReturnStatement>
  720. <code><![CDATA[$shareId]]></code>
  721. </InvalidReturnStatement>
  722. <InvalidReturnType>
  723. <code><![CDATA[string]]></code>
  724. </InvalidReturnType>
  725. </file>
  726. <file src="apps/federation/lib/DbHandler.php">
  727. <LessSpecificReturnStatement>
  728. <code><![CDATA[$result]]></code>
  729. </LessSpecificReturnStatement>
  730. <MoreSpecificReturnType>
  731. <code><![CDATA[list<array{id: int, url: string, url_hash: string, shared_secret: ?string, status: int, sync_token: ?string}>]]></code>
  732. </MoreSpecificReturnType>
  733. </file>
  734. <file src="apps/files/lib/Activity/Provider.php">
  735. <FalsableReturnStatement>
  736. <code><![CDATA[$this->fileEncrypted[$fileId]]]></code>
  737. </FalsableReturnStatement>
  738. <LessSpecificReturnStatement>
  739. <code><![CDATA[$folder]]></code>
  740. <code><![CDATA[$this->fileEncrypted[$fileId]]]></code>
  741. </LessSpecificReturnStatement>
  742. <MoreSpecificReturnType>
  743. <code><![CDATA[Folder]]></code>
  744. </MoreSpecificReturnType>
  745. <TypeDoesNotContainType>
  746. <code><![CDATA[$this->fileIsEncrypted]]></code>
  747. <code><![CDATA[$this->fileIsEncrypted]]></code>
  748. <code><![CDATA[$this->fileIsEncrypted]]></code>
  749. <code><![CDATA[$this->fileIsEncrypted]]></code>
  750. <code><![CDATA[$this->fileIsEncrypted]]></code>
  751. <code><![CDATA[$this->fileIsEncrypted]]></code>
  752. <code><![CDATA[$this->fileIsEncrypted]]></code>
  753. <code><![CDATA[$this->fileIsEncrypted]]></code>
  754. <code><![CDATA[$this->fileIsEncrypted]]></code>
  755. <code><![CDATA[$this->fileIsEncrypted]]></code>
  756. <code><![CDATA[$this->fileIsEncrypted]]></code>
  757. <code><![CDATA[$this->fileIsEncrypted]]></code>
  758. <code><![CDATA[$this->fileIsEncrypted]]></code>
  759. <code><![CDATA[$this->fileIsEncrypted]]></code>
  760. </TypeDoesNotContainType>
  761. </file>
  762. <file src="apps/files/lib/Command/ScanAppData.php">
  763. <NullArgument>
  764. <code><![CDATA[null]]></code>
  765. <code><![CDATA[null]]></code>
  766. </NullArgument>
  767. </file>
  768. <file src="apps/files/lib/Controller/DirectEditingController.php">
  769. <InvalidArgument>
  770. <code><![CDATA[$templateId]]></code>
  771. </InvalidArgument>
  772. <UndefinedInterfaceMethod>
  773. <code><![CDATA[getTemplates]]></code>
  774. <code><![CDATA[open]]></code>
  775. </UndefinedInterfaceMethod>
  776. </file>
  777. <file src="apps/files/lib/Helper.php">
  778. <UndefinedInterfaceMethod>
  779. <code><![CDATA[$file]]></code>
  780. <code><![CDATA[$i]]></code>
  781. <code><![CDATA[$i]]></code>
  782. <code><![CDATA[$i]]></code>
  783. <code><![CDATA[$i]]></code>
  784. </UndefinedInterfaceMethod>
  785. </file>
  786. <file src="apps/files/lib/Service/OwnershipTransferService.php">
  787. <UndefinedInterfaceMethod>
  788. <code><![CDATA[isReadyForUser]]></code>
  789. </UndefinedInterfaceMethod>
  790. </file>
  791. <file src="apps/files_external/appinfo/routes.php">
  792. <InvalidScope>
  793. <code><![CDATA[$this]]></code>
  794. </InvalidScope>
  795. </file>
  796. <file src="apps/files_external/lib/Controller/StoragesController.php">
  797. <RedundantCast>
  798. <code><![CDATA[(int)$e->getCode()]]></code>
  799. <code><![CDATA[(int)$status]]></code>
  800. </RedundantCast>
  801. </file>
  802. <file src="apps/files_external/lib/Lib/Backend/Backend.php">
  803. <LessSpecificReturnStatement>
  804. <code><![CDATA[$this->storageClass]]></code>
  805. </LessSpecificReturnStatement>
  806. <MoreSpecificReturnType>
  807. <code><![CDATA[class-string<IStorage>]]></code>
  808. </MoreSpecificReturnType>
  809. </file>
  810. <file src="apps/files_external/lib/Lib/Storage/SFTP.php">
  811. <InternalMethod>
  812. <code><![CDATA[put]]></code>
  813. </InternalMethod>
  814. </file>
  815. <file src="apps/files_external/lib/Lib/Storage/SMB.php">
  816. <RedundantCast>
  817. <code><![CDATA[(int)$e->getCode()]]></code>
  818. <code><![CDATA[(int)$e->getCode()]]></code>
  819. <code><![CDATA[(int)$e->getCode()]]></code>
  820. <code><![CDATA[(int)$e->getCode()]]></code>
  821. <code><![CDATA[(int)$e->getCode()]]></code>
  822. <code><![CDATA[(int)$e->getCode()]]></code>
  823. <code><![CDATA[(int)$e->getCode()]]></code>
  824. </RedundantCast>
  825. </file>
  826. <file src="apps/files_external/lib/Lib/Storage/Swift.php">
  827. <InvalidArgument>
  828. <code><![CDATA[$object->lastModified]]></code>
  829. </InvalidArgument>
  830. <InvalidNullableReturnType>
  831. <code><![CDATA[filetype]]></code>
  832. <code><![CDATA[fopen]]></code>
  833. </InvalidNullableReturnType>
  834. </file>
  835. <file src="apps/files_external/lib/Migration/DummyUserSession.php">
  836. <InvalidReturnType>
  837. <code><![CDATA[login]]></code>
  838. </InvalidReturnType>
  839. </file>
  840. <file src="apps/files_external/lib/MountConfig.php">
  841. <InternalMethod>
  842. <code><![CDATA[decrypt]]></code>
  843. <code><![CDATA[encrypt]]></code>
  844. <code><![CDATA[setIV]]></code>
  845. <code><![CDATA[setIV]]></code>
  846. <code><![CDATA[setKey]]></code>
  847. </InternalMethod>
  848. <TooManyArguments>
  849. <code><![CDATA[test]]></code>
  850. </TooManyArguments>
  851. </file>
  852. <file src="apps/files_sharing/lib/Controller/ShareAPIController.php">
  853. <RedundantCast>
  854. <code><![CDATA[(int)$code]]></code>
  855. <code><![CDATA[(int)$code]]></code>
  856. </RedundantCast>
  857. <UndefinedClass>
  858. <code><![CDATA[Circles]]></code>
  859. <code><![CDATA[Circles]]></code>
  860. </UndefinedClass>
  861. <UndefinedDocblockClass>
  862. <code><![CDATA[$this->getRoomShareHelper()]]></code>
  863. <code><![CDATA[$this->getRoomShareHelper()]]></code>
  864. <code><![CDATA[$this->getRoomShareHelper()]]></code>
  865. <code><![CDATA[\OCA\Talk\Share\Helper\ShareAPIController]]></code>
  866. </UndefinedDocblockClass>
  867. </file>
  868. <file src="apps/files_sharing/lib/External/Manager.php">
  869. <LessSpecificReturnStatement>
  870. <code><![CDATA[$mount]]></code>
  871. </LessSpecificReturnStatement>
  872. <MoreSpecificReturnType>
  873. <code><![CDATA[Mount]]></code>
  874. </MoreSpecificReturnType>
  875. </file>
  876. <file src="apps/files_sharing/lib/External/Scanner.php">
  877. <MoreSpecificImplementedParamType>
  878. <code><![CDATA[$cacheData]]></code>
  879. </MoreSpecificImplementedParamType>
  880. </file>
  881. <file src="apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php">
  882. <InvalidArgument>
  883. <code><![CDATA[$exception->getMessage()]]></code>
  884. </InvalidArgument>
  885. </file>
  886. <file src="apps/files_sharing/lib/MountProvider.php">
  887. <RedundantFunctionCall>
  888. <code><![CDATA[array_values]]></code>
  889. </RedundantFunctionCall>
  890. </file>
  891. <file src="apps/files_sharing/lib/ShareBackend/File.php">
  892. <InvalidArgument>
  893. <code><![CDATA[$itemSource]]></code>
  894. <code><![CDATA[$itemSource]]></code>
  895. </InvalidArgument>
  896. <MoreSpecificImplementedParamType>
  897. <code><![CDATA[$shareWith]]></code>
  898. </MoreSpecificImplementedParamType>
  899. </file>
  900. <file src="apps/files_sharing/lib/ShareBackend/Folder.php">
  901. <UndefinedInterfaceMethod>
  902. <code><![CDATA[fetchRow]]></code>
  903. </UndefinedInterfaceMethod>
  904. </file>
  905. <file src="apps/files_sharing/lib/SharedMount.php">
  906. <InvalidReturnType>
  907. <code><![CDATA[bool]]></code>
  908. </InvalidReturnType>
  909. </file>
  910. <file src="apps/files_sharing/lib/SharedStorage.php">
  911. <FalsableReturnStatement>
  912. <code><![CDATA[$this->sourceRootInfo]]></code>
  913. </FalsableReturnStatement>
  914. <InvalidNullableReturnType>
  915. <code><![CDATA[ICacheEntry]]></code>
  916. </InvalidNullableReturnType>
  917. <NullableReturnStatement>
  918. <code><![CDATA[$this->sourceRootInfo]]></code>
  919. </NullableReturnStatement>
  920. </file>
  921. <file src="apps/files_sharing/lib/Updater.php">
  922. <UndefinedMethod>
  923. <code><![CDATA[moveMount]]></code>
  924. </UndefinedMethod>
  925. </file>
  926. <file src="apps/files_sharing/templates/public.php">
  927. <RedundantCondition>
  928. <code><![CDATA[$_['hideFileList'] !== true]]></code>
  929. <code><![CDATA[isset($_['hideFileList']) && $_['hideFileList'] !== true]]></code>
  930. </RedundantCondition>
  931. </file>
  932. <file src="apps/files_trashbin/lib/Sabre/AbstractTrash.php">
  933. <InvalidNullableReturnType>
  934. <code><![CDATA[int]]></code>
  935. </InvalidNullableReturnType>
  936. <NullableReturnStatement>
  937. <code><![CDATA[$this->data->getId()]]></code>
  938. </NullableReturnStatement>
  939. </file>
  940. <file src="apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php">
  941. <InvalidReturnStatement>
  942. <code><![CDATA[$entry]]></code>
  943. </InvalidReturnStatement>
  944. <InvalidReturnType>
  945. <code><![CDATA[ITrash]]></code>
  946. </InvalidReturnType>
  947. </file>
  948. <file src="apps/files_trashbin/lib/Sabre/RestoreFolder.php">
  949. <InvalidNullableReturnType>
  950. <code><![CDATA[getChild]]></code>
  951. </InvalidNullableReturnType>
  952. <NullableReturnStatement>
  953. <code><![CDATA[null]]></code>
  954. </NullableReturnStatement>
  955. </file>
  956. <file src="apps/files_trashbin/lib/Sabre/RootCollection.php">
  957. <MismatchingDocblockReturnType>
  958. <code><![CDATA[INode]]></code>
  959. </MismatchingDocblockReturnType>
  960. </file>
  961. <file src="apps/files_trashbin/lib/Sabre/TrashRoot.php">
  962. <InvalidReturnStatement>
  963. <code><![CDATA[$entry]]></code>
  964. </InvalidReturnStatement>
  965. <InvalidReturnType>
  966. <code><![CDATA[ITrash]]></code>
  967. </InvalidReturnType>
  968. </file>
  969. <file src="apps/files_trashbin/lib/Trash/LegacyTrashBackend.php">
  970. <UndefinedInterfaceMethod>
  971. <code><![CDATA[$file]]></code>
  972. </UndefinedInterfaceMethod>
  973. </file>
  974. <file src="apps/files_trashbin/lib/Trashbin.php">
  975. <InvalidArgument>
  976. <code><![CDATA[$timestamp]]></code>
  977. </InvalidArgument>
  978. </file>
  979. <file src="apps/files_versions/appinfo/routes.php">
  980. <InvalidScope>
  981. <code><![CDATA[$this->create('files_versions_download', 'apps/files_versions/download.php')]]></code>
  982. </InvalidScope>
  983. </file>
  984. <file src="apps/files_versions/lib/Sabre/RestoreFolder.php">
  985. <InvalidNullableReturnType>
  986. <code><![CDATA[getChild]]></code>
  987. </InvalidNullableReturnType>
  988. <NullableReturnStatement>
  989. <code><![CDATA[null]]></code>
  990. </NullableReturnStatement>
  991. </file>
  992. <file src="apps/files_versions/lib/Sabre/VersionHome.php">
  993. <InvalidNullableReturnType>
  994. <code><![CDATA[getChild]]></code>
  995. </InvalidNullableReturnType>
  996. </file>
  997. <file src="apps/files_versions/lib/Storage.php">
  998. <RedundantCondition>
  999. <code><![CDATA[$storage1->instanceOfStorage('\OC\Files\ObjectStore\ObjectStoreStorage')]]></code>
  1000. </RedundantCondition>
  1001. </file>
  1002. <file src="apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php">
  1003. <InvalidArgument>
  1004. <code><![CDATA[$this->retries + 1]]></code>
  1005. </InvalidArgument>
  1006. </file>
  1007. <file src="apps/oauth2/lib/Controller/OauthApiController.php">
  1008. <NoInterfaceProperties>
  1009. <code><![CDATA[$this->request->server]]></code>
  1010. </NoInterfaceProperties>
  1011. </file>
  1012. <file src="apps/provisioning_api/lib/Controller/UsersController.php">
  1013. <TypeDoesNotContainNull>
  1014. <code><![CDATA[$groupid === null]]></code>
  1015. <code><![CDATA[$groupid === null]]></code>
  1016. </TypeDoesNotContainNull>
  1017. </file>
  1018. <file src="apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php">
  1019. <InvalidReturnType>
  1020. <code><![CDATA[Response]]></code>
  1021. </InvalidReturnType>
  1022. </file>
  1023. <file src="apps/settings/lib/AppInfo/Application.php">
  1024. <UndefinedInterfaceMethod>
  1025. <code><![CDATA[getSettingsManager]]></code>
  1026. </UndefinedInterfaceMethod>
  1027. </file>
  1028. <file src="apps/settings/lib/Hooks.php">
  1029. <InvalidArrayOffset>
  1030. <code><![CDATA[[$user->getEMailAddress() => $user->getDisplayName()]]]></code>
  1031. </InvalidArrayOffset>
  1032. </file>
  1033. <file src="apps/settings/lib/Settings/Admin/Security.php">
  1034. <UndefinedInterfaceMethod>
  1035. <code><![CDATA[isReady]]></code>
  1036. </UndefinedInterfaceMethod>
  1037. </file>
  1038. <file src="apps/sharebymail/lib/ShareByMailProvider.php">
  1039. <InvalidArgument>
  1040. <code><![CDATA[$share->getId()]]></code>
  1041. <code><![CDATA[(int)$data['id']]]></code>
  1042. </InvalidArgument>
  1043. </file>
  1044. <file src="apps/systemtags/lib/Activity/Listener.php">
  1045. <InvalidArgument>
  1046. <code><![CDATA[$event->getObjectId()]]></code>
  1047. <code><![CDATA[$event->getObjectId()]]></code>
  1048. </InvalidArgument>
  1049. </file>
  1050. <file src="apps/theming/lib/Util.php">
  1051. <InvalidReturnStatement>
  1052. <code><![CDATA[array_values($color->getRgb())]]></code>
  1053. </InvalidReturnStatement>
  1054. <InvalidReturnType>
  1055. <code><![CDATA[array{0: int, 1: int, 2: int}]]></code>
  1056. </InvalidReturnType>
  1057. </file>
  1058. <file src="apps/user_ldap/appinfo/routes.php">
  1059. <InvalidScope>
  1060. <code><![CDATA[$this]]></code>
  1061. </InvalidScope>
  1062. </file>
  1063. <file src="apps/user_ldap/lib/Access.php">
  1064. <InvalidReturnStatement>
  1065. <code><![CDATA[$uuid]]></code>
  1066. <code><![CDATA[$values]]></code>
  1067. </InvalidReturnStatement>
  1068. <InvalidReturnType>
  1069. <code><![CDATA[string[]]]></code>
  1070. </InvalidReturnType>
  1071. <RedundantCast>
  1072. <code><![CDATA[(int)$e->getCode()]]></code>
  1073. </RedundantCast>
  1074. </file>
  1075. <file src="apps/user_ldap/lib/Connection.php">
  1076. <NoValue>
  1077. <code><![CDATA[$subj]]></code>
  1078. </NoValue>
  1079. <ParadoxicalCondition>
  1080. <code><![CDATA[default:
  1081. $subj = $key;
  1082. break;]]></code>
  1083. </ParadoxicalCondition>
  1084. </file>
  1085. <file src="apps/user_ldap/lib/Group_LDAP.php">
  1086. <InvalidScalarArgument>
  1087. <code><![CDATA[$groupID]]></code>
  1088. </InvalidScalarArgument>
  1089. </file>
  1090. <file src="apps/user_ldap/lib/Group_Proxy.php">
  1091. <ParamNameMismatch>
  1092. <code><![CDATA[$gid]]></code>
  1093. </ParamNameMismatch>
  1094. </file>
  1095. <file src="apps/user_ldap/lib/Jobs/Sync.php">
  1096. <InvalidOperand>
  1097. <code><![CDATA[$i]]></code>
  1098. </InvalidOperand>
  1099. </file>
  1100. <file src="apps/user_ldap/lib/Mapping/AbstractMapping.php">
  1101. <RedundantCondition>
  1102. <code><![CDATA[isset($qb)]]></code>
  1103. </RedundantCondition>
  1104. <TypeDoesNotContainNull>
  1105. <code><![CDATA[isset($qb)]]></code>
  1106. </TypeDoesNotContainNull>
  1107. </file>
  1108. <file src="apps/user_ldap/lib/User/Manager.php">
  1109. <InvalidDocblock>
  1110. <code><![CDATA[public function setLdapAccess(Access $access) {]]></code>
  1111. </InvalidDocblock>
  1112. </file>
  1113. <file src="apps/user_ldap/lib/User/User.php">
  1114. <FalsableReturnStatement>
  1115. <code><![CDATA[$this->avatarImage]]></code>
  1116. </FalsableReturnStatement>
  1117. <InvalidPropertyAssignmentValue>
  1118. <code><![CDATA[$this->refreshedFeatures]]></code>
  1119. </InvalidPropertyAssignmentValue>
  1120. <InvalidReturnType>
  1121. <code><![CDATA[null]]></code>
  1122. </InvalidReturnType>
  1123. <RedundantCondition>
  1124. <code><![CDATA[$aQuota && (count($aQuota) > 0)]]></code>
  1125. </RedundantCondition>
  1126. </file>
  1127. <file src="apps/user_ldap/lib/User_LDAP.php">
  1128. <ImplementedReturnTypeMismatch>
  1129. <code><![CDATA[string|false]]></code>
  1130. </ImplementedReturnTypeMismatch>
  1131. <MoreSpecificImplementedParamType>
  1132. <code><![CDATA[$limit]]></code>
  1133. <code><![CDATA[$offset]]></code>
  1134. </MoreSpecificImplementedParamType>
  1135. <NullableReturnStatement>
  1136. <code><![CDATA[null]]></code>
  1137. </NullableReturnStatement>
  1138. <RedundantCondition>
  1139. <code><![CDATA[$displayName && (count($displayName) > 0)]]></code>
  1140. <code><![CDATA[is_string($dn)]]></code>
  1141. </RedundantCondition>
  1142. </file>
  1143. <file src="apps/user_ldap/lib/User_Proxy.php">
  1144. <ParamNameMismatch>
  1145. <code><![CDATA[$uid]]></code>
  1146. </ParamNameMismatch>
  1147. </file>
  1148. <file src="apps/user_ldap/lib/Wizard.php">
  1149. <InvalidArrayOffset>
  1150. <code><![CDATA[$possibleAttrs[$i]]]></code>
  1151. </InvalidArrayOffset>
  1152. </file>
  1153. <file src="apps/user_status/lib/AppInfo/Application.php">
  1154. <UndefinedInterfaceMethod>
  1155. <code><![CDATA[registerProvider]]></code>
  1156. </UndefinedInterfaceMethod>
  1157. </file>
  1158. <file src="apps/workflowengine/lib/Check/AbstractStringCheck.php">
  1159. <NullArgument>
  1160. <code><![CDATA[null]]></code>
  1161. </NullArgument>
  1162. </file>
  1163. <file src="apps/workflowengine/lib/Check/FileSize.php">
  1164. <FalsableReturnStatement>
  1165. <code><![CDATA[$this->size]]></code>
  1166. </FalsableReturnStatement>
  1167. <InvalidPropertyAssignmentValue>
  1168. <code><![CDATA[$size]]></code>
  1169. </InvalidPropertyAssignmentValue>
  1170. <InvalidReturnStatement>
  1171. <code><![CDATA[$this->size]]></code>
  1172. </InvalidReturnStatement>
  1173. <InvalidReturnType>
  1174. <code><![CDATA[string]]></code>
  1175. </InvalidReturnType>
  1176. </file>
  1177. <file src="apps/workflowengine/lib/Check/RequestRemoteAddress.php">
  1178. <InvalidArgument>
  1179. <code><![CDATA[$decodedValue[1]]]></code>
  1180. <code><![CDATA[$decodedValue[1]]]></code>
  1181. <code><![CDATA[$decodedValue[1]]]></code>
  1182. <code><![CDATA[$decodedValue[1]]]></code>
  1183. </InvalidArgument>
  1184. </file>
  1185. <file src="apps/workflowengine/lib/Check/TFileCheck.php">
  1186. <InvalidArgument>
  1187. <code><![CDATA[['app' => Application::APP_ID, 'class' => get_class($subject)]]]></code>
  1188. </InvalidArgument>
  1189. </file>
  1190. <file src="apps/workflowengine/lib/Entity/File.php">
  1191. <InvalidReturnType>
  1192. <code><![CDATA[string]]></code>
  1193. </InvalidReturnType>
  1194. </file>
  1195. <file src="apps/workflowengine/lib/Manager.php">
  1196. <InvalidArgument>
  1197. <code><![CDATA[$missingCheck]]></code>
  1198. </InvalidArgument>
  1199. <InvalidOperand>
  1200. <code><![CDATA[$result]]></code>
  1201. </InvalidOperand>
  1202. <InvalidReturnStatement>
  1203. <code><![CDATA[$result]]></code>
  1204. </InvalidReturnStatement>
  1205. <InvalidReturnType>
  1206. <code><![CDATA[bool]]></code>
  1207. </InvalidReturnType>
  1208. </file>
  1209. <file src="core/BackgroundJobs/CheckForUserCertificates.php">
  1210. <ParamNameMismatch>
  1211. <code><![CDATA[$arguments]]></code>
  1212. </ParamNameMismatch>
  1213. </file>
  1214. <file src="core/Command/App/ListApps.php">
  1215. <LessSpecificImplementedReturnType>
  1216. <code><![CDATA[array]]></code>
  1217. </LessSpecificImplementedReturnType>
  1218. </file>
  1219. <file src="core/Command/Config/Import.php">
  1220. <InvalidScalarArgument>
  1221. <code><![CDATA[0]]></code>
  1222. <code><![CDATA[1]]></code>
  1223. </InvalidScalarArgument>
  1224. </file>
  1225. <file src="core/Command/Config/ListConfigs.php">
  1226. <FalsableReturnStatement>
  1227. <code><![CDATA[$this->appConfig->getValues($app, false)]]></code>
  1228. </FalsableReturnStatement>
  1229. <TooManyArguments>
  1230. <code><![CDATA[getFilteredValues]]></code>
  1231. </TooManyArguments>
  1232. </file>
  1233. <file src="core/Command/Db/ConvertType.php">
  1234. <InvalidScalarArgument>
  1235. <code><![CDATA[0]]></code>
  1236. <code><![CDATA[1]]></code>
  1237. </InvalidScalarArgument>
  1238. </file>
  1239. <file src="core/Command/Encryption/Enable.php">
  1240. <NullArgument>
  1241. <code><![CDATA[null]]></code>
  1242. </NullArgument>
  1243. </file>
  1244. <file src="core/Command/Log/File.php">
  1245. <InvalidReturnStatement>
  1246. <code><![CDATA[[0]]]></code>
  1247. </InvalidReturnStatement>
  1248. <InvalidReturnType>
  1249. <code><![CDATA[string[]]]></code>
  1250. </InvalidReturnType>
  1251. </file>
  1252. <file src="core/Command/Log/Manage.php">
  1253. <InvalidArgument>
  1254. <code><![CDATA[$levelNum]]></code>
  1255. </InvalidArgument>
  1256. </file>
  1257. <file src="core/Command/Maintenance/DataFingerprint.php">
  1258. <InvalidScalarArgument>
  1259. <code><![CDATA[$this->timeFactory->getTime()]]></code>
  1260. </InvalidScalarArgument>
  1261. </file>
  1262. <file src="core/Command/Maintenance/Mimetype/UpdateDB.php">
  1263. <UndefinedInterfaceMethod>
  1264. <code><![CDATA[getAllMappings]]></code>
  1265. <code><![CDATA[updateFilecache]]></code>
  1266. </UndefinedInterfaceMethod>
  1267. </file>
  1268. <file src="core/Command/Preview/Repair.php">
  1269. <UndefinedInterfaceMethod>
  1270. <code><![CDATA[section]]></code>
  1271. <code><![CDATA[section]]></code>
  1272. </UndefinedInterfaceMethod>
  1273. </file>
  1274. <file src="core/Command/Preview/ResetRenderedTexts.php">
  1275. <InvalidReturnStatement>
  1276. <code><![CDATA[[]]]></code>
  1277. </InvalidReturnStatement>
  1278. </file>
  1279. <file src="core/Controller/ClientFlowLoginV2Controller.php">
  1280. <TypeDoesNotContainType>
  1281. <code><![CDATA[!is_string($stateToken)]]></code>
  1282. </TypeDoesNotContainType>
  1283. </file>
  1284. <file src="core/Controller/CollaborationResourcesController.php">
  1285. <UndefinedInterfaceMethod>
  1286. <code><![CDATA[searchCollections]]></code>
  1287. </UndefinedInterfaceMethod>
  1288. </file>
  1289. <file src="core/Controller/LostController.php">
  1290. <RedundantCast>
  1291. <code><![CDATA[(int)$e->getCode()]]></code>
  1292. </RedundantCast>
  1293. </file>
  1294. <file src="core/Controller/UnifiedSearchController.php">
  1295. <UndefinedInterfaceMethod>
  1296. <code><![CDATA[findMatchingRoute]]></code>
  1297. </UndefinedInterfaceMethod>
  1298. </file>
  1299. <file src="core/Middleware/TwoFactorMiddleware.php">
  1300. <NoInterfaceProperties>
  1301. <code><![CDATA[$this->request->server]]></code>
  1302. </NoInterfaceProperties>
  1303. </file>
  1304. <file src="lib/autoloader.php">
  1305. <RedundantCondition>
  1306. <code><![CDATA[$this->memoryCache]]></code>
  1307. </RedundantCondition>
  1308. </file>
  1309. <file src="lib/base.php">
  1310. <InvalidArgument>
  1311. <code><![CDATA[$restrictions]]></code>
  1312. </InvalidArgument>
  1313. </file>
  1314. <file src="lib/private/Activity/Manager.php">
  1315. <InvalidPropertyAssignmentValue>
  1316. <code><![CDATA[$this->filterClasses]]></code>
  1317. <code><![CDATA[$this->providerClasses]]></code>
  1318. <code><![CDATA[$this->settingsClasses]]></code>
  1319. </InvalidPropertyAssignmentValue>
  1320. <LessSpecificReturnStatement>
  1321. <code><![CDATA[$this->settings]]></code>
  1322. </LessSpecificReturnStatement>
  1323. <MoreSpecificReturnType>
  1324. <code><![CDATA[ActivitySettings[]]]></code>
  1325. </MoreSpecificReturnType>
  1326. </file>
  1327. <file src="lib/private/AllConfig.php">
  1328. <MoreSpecificImplementedParamType>
  1329. <code><![CDATA[$key]]></code>
  1330. </MoreSpecificImplementedParamType>
  1331. </file>
  1332. <file src="lib/private/App/AppStore/Fetcher/Fetcher.php">
  1333. <TooManyArguments>
  1334. <code><![CDATA[fetch]]></code>
  1335. </TooManyArguments>
  1336. </file>
  1337. <file src="lib/private/App/DependencyAnalyzer.php">
  1338. <InvalidNullableReturnType>
  1339. <code><![CDATA[bool]]></code>
  1340. </InvalidNullableReturnType>
  1341. <NullableReturnStatement>
  1342. <code><![CDATA[version_compare($first, $second, $operator)]]></code>
  1343. </NullableReturnStatement>
  1344. </file>
  1345. <file src="lib/private/App/InfoParser.php">
  1346. <InvalidArrayOffset>
  1347. <code><![CDATA[$array[$element][]]]></code>
  1348. <code><![CDATA[$array[$element][]]]></code>
  1349. </InvalidArrayOffset>
  1350. <InvalidReturnStatement>
  1351. <code><![CDATA[(string)$xml]]></code>
  1352. </InvalidReturnStatement>
  1353. <InvalidReturnType>
  1354. <code><![CDATA[array]]></code>
  1355. </InvalidReturnType>
  1356. </file>
  1357. <file src="lib/private/AppConfig.php">
  1358. <NullableReturnStatement>
  1359. <code><![CDATA[$this->fastCache[$app][$key] ?? $default]]></code>
  1360. </NullableReturnStatement>
  1361. </file>
  1362. <file src="lib/private/AppFramework/Bootstrap/Coordinator.php">
  1363. <InvalidPropertyAssignmentValue>
  1364. <code><![CDATA[$this->bootedApps]]></code>
  1365. </InvalidPropertyAssignmentValue>
  1366. </file>
  1367. <file src="lib/private/AppFramework/Bootstrap/FunctionInjector.php">
  1368. <UndefinedMethod>
  1369. <code><![CDATA[getName]]></code>
  1370. </UndefinedMethod>
  1371. </file>
  1372. <file src="lib/private/AppFramework/DependencyInjection/DIContainer.php">
  1373. <ImplementedReturnTypeMismatch>
  1374. <code><![CDATA[boolean|null]]></code>
  1375. </ImplementedReturnTypeMismatch>
  1376. <InvalidReturnStatement>
  1377. <code><![CDATA[$this->server]]></code>
  1378. </InvalidReturnStatement>
  1379. <InvalidReturnType>
  1380. <code><![CDATA[\OCP\IServerContainer]]></code>
  1381. </InvalidReturnType>
  1382. <UndefinedInterfaceMethod>
  1383. <code><![CDATA[getAppDataDir]]></code>
  1384. </UndefinedInterfaceMethod>
  1385. </file>
  1386. <file src="lib/private/AppFramework/Http/Dispatcher.php">
  1387. <NullArgument>
  1388. <code><![CDATA[null]]></code>
  1389. </NullArgument>
  1390. </file>
  1391. <file src="lib/private/AppFramework/Http/Output.php">
  1392. <InvalidReturnStatement>
  1393. <code><![CDATA[@readfile($path)]]></code>
  1394. <code><![CDATA[http_response_code()]]></code>
  1395. </InvalidReturnStatement>
  1396. <InvalidReturnType>
  1397. <code><![CDATA[bool]]></code>
  1398. <code><![CDATA[int]]></code>
  1399. </InvalidReturnType>
  1400. </file>
  1401. <file src="lib/private/AppFramework/Http/Request.php">
  1402. <NullableReturnStatement>
  1403. <code><![CDATA[$this->getOverwriteHost()]]></code>
  1404. <code><![CDATA[isset($this->cookies[$key]) ? $this->cookies[$key] : null]]></code>
  1405. <code><![CDATA[isset($this->env[$key]) ? $this->env[$key] : null]]></code>
  1406. <code><![CDATA[isset($this->files[$key]) ? $this->files[$key] : null]]></code>
  1407. </NullableReturnStatement>
  1408. <RedundantCondition>
  1409. <code><![CDATA[\is_array($params)]]></code>
  1410. </RedundantCondition>
  1411. <UndefinedFunction>
  1412. <code><![CDATA[\Sabre\HTTP\decodePath($pathInfo)]]></code>
  1413. </UndefinedFunction>
  1414. </file>
  1415. <file src="lib/private/AppFramework/Middleware/OCSMiddleware.php">
  1416. <InternalMethod>
  1417. <code><![CDATA[setOCSVersion]]></code>
  1418. </InternalMethod>
  1419. </file>
  1420. <file src="lib/private/AppFramework/Middleware/Security/CORSMiddleware.php">
  1421. <NoInterfaceProperties>
  1422. <code><![CDATA[$this->request->server]]></code>
  1423. <code><![CDATA[$this->request->server]]></code>
  1424. </NoInterfaceProperties>
  1425. </file>
  1426. <file src="lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php">
  1427. <NoInterfaceProperties>
  1428. <code><![CDATA[$this->request->server]]></code>
  1429. </NoInterfaceProperties>
  1430. <UndefinedClass>
  1431. <code><![CDATA[\OCA\Talk\Controller\PageController]]></code>
  1432. </UndefinedClass>
  1433. </file>
  1434. <file src="lib/private/AppFramework/Routing/RouteConfig.php">
  1435. <InvalidArrayOffset>
  1436. <code><![CDATA[$action['url-postfix']]]></code>
  1437. </InvalidArrayOffset>
  1438. </file>
  1439. <file src="lib/private/AppFramework/Services/AppConfig.php">
  1440. <MoreSpecificImplementedParamType>
  1441. <code><![CDATA[$default]]></code>
  1442. </MoreSpecificImplementedParamType>
  1443. </file>
  1444. <file src="lib/private/AppFramework/Utility/SimpleContainer.php">
  1445. <LessSpecificReturnStatement>
  1446. <code><![CDATA[$class->newInstance()]]></code>
  1447. <code><![CDATA[$class->newInstanceArgs(array_map(function (ReflectionParameter $parameter) {
  1448. $parameterType = $parameter->getType();
  1449. $resolveName = $parameter->getName();
  1450. // try to find out if it is a class or a simple parameter
  1451. if ($parameterType !== null && ($parameterType instanceof ReflectionNamedType) && !$parameterType->isBuiltin()) {
  1452. $resolveName = $parameterType->getName();
  1453. }
  1454. try {
  1455. $builtIn = $parameter->hasType() && ($parameter->getType() instanceof ReflectionNamedType)
  1456. && $parameter->getType()->isBuiltin();
  1457. return $this->query($resolveName, !$builtIn);
  1458. } catch (QueryException $e) {
  1459. // Service not found, use the default value when available
  1460. if ($parameter->isDefaultValueAvailable()) {
  1461. return $parameter->getDefaultValue();
  1462. }
  1463. if ($parameterType !== null && ($parameterType instanceof ReflectionNamedType) && !$parameterType->isBuiltin()) {
  1464. $resolveName = $parameter->getName();
  1465. try {
  1466. return $this->query($resolveName);
  1467. } catch (QueryException $e2) {
  1468. // Pass null if typed and nullable
  1469. if ($parameter->allowsNull() && ($parameterType instanceof ReflectionNamedType)) {
  1470. return null;
  1471. }
  1472. // don't lose the error we got while trying to query by type
  1473. throw new QueryException($e->getMessage(), (int)$e->getCode(), $e);
  1474. }
  1475. }
  1476. throw $e;
  1477. }
  1478. }, $constructor->getParameters()))]]></code>
  1479. </LessSpecificReturnStatement>
  1480. <MissingTemplateParam>
  1481. <code><![CDATA[ArrayAccess]]></code>
  1482. </MissingTemplateParam>
  1483. <MoreSpecificReturnType>
  1484. <code><![CDATA[\stdClass]]></code>
  1485. </MoreSpecificReturnType>
  1486. <RedundantCast>
  1487. <code><![CDATA[(int)$e->getCode()]]></code>
  1488. </RedundantCast>
  1489. </file>
  1490. <file src="lib/private/Archive/TAR.php">
  1491. <UndefinedDocblockClass>
  1492. <code><![CDATA[$this->tar->extractInString($path)]]></code>
  1493. </UndefinedDocblockClass>
  1494. </file>
  1495. <file src="lib/private/Authentication/LoginCredentials/Store.php">
  1496. <RedundantCondition>
  1497. <code><![CDATA[$trySession]]></code>
  1498. </RedundantCondition>
  1499. </file>
  1500. <file src="lib/private/Authentication/Token/PublicKeyToken.php">
  1501. <UndefinedMagicMethod>
  1502. <code><![CDATA[getExpires]]></code>
  1503. <code><![CDATA[getLastCheck]]></code>
  1504. <code><![CDATA[getLoginName]]></code>
  1505. <code><![CDATA[getName]]></code>
  1506. <code><![CDATA[getPassword]]></code>
  1507. <code><![CDATA[getRemember]]></code>
  1508. <code><![CDATA[getScope]]></code>
  1509. <code><![CDATA[setExpires]]></code>
  1510. <code><![CDATA[setLastCheck]]></code>
  1511. <code><![CDATA[setName]]></code>
  1512. <code><![CDATA[setPassword]]></code>
  1513. <code><![CDATA[setPasswordInvalid]]></code>
  1514. <code><![CDATA[setScope]]></code>
  1515. <code><![CDATA[setScope]]></code>
  1516. <code><![CDATA[setToken]]></code>
  1517. <code><![CDATA[setType]]></code>
  1518. </UndefinedMagicMethod>
  1519. </file>
  1520. <file src="lib/private/Authentication/TwoFactorAuth/ProviderSet.php">
  1521. <InvalidArgument>
  1522. <code><![CDATA[$this->providers]]></code>
  1523. </InvalidArgument>
  1524. <InvalidPropertyAssignmentValue>
  1525. <code><![CDATA[$this->providers]]></code>
  1526. <code><![CDATA[[]]]></code>
  1527. </InvalidPropertyAssignmentValue>
  1528. <InvalidReturnStatement>
  1529. <code><![CDATA[$this->providers]]></code>
  1530. </InvalidReturnStatement>
  1531. <InvalidReturnType>
  1532. <code><![CDATA[IProvider[]]]></code>
  1533. </InvalidReturnType>
  1534. <UndefinedInterfaceMethod>
  1535. <code><![CDATA[$this->providers]]></code>
  1536. </UndefinedInterfaceMethod>
  1537. </file>
  1538. <file src="lib/private/Cache/CappedMemoryCache.php">
  1539. <MissingTemplateParam>
  1540. <code><![CDATA[\ArrayAccess]]></code>
  1541. </MissingTemplateParam>
  1542. </file>
  1543. <file src="lib/private/Cache/File.php">
  1544. <LessSpecificImplementedReturnType>
  1545. <code><![CDATA[bool|mixed]]></code>
  1546. <code><![CDATA[bool|mixed]]></code>
  1547. </LessSpecificImplementedReturnType>
  1548. </file>
  1549. <file src="lib/private/Calendar/Manager.php">
  1550. <LessSpecificReturnStatement>
  1551. <code><![CDATA[array_merge(
  1552. ...array_map(function ($registration) use ($principalUri, $calendarUris) {
  1553. try {
  1554. /** @var ICalendarProvider $provider */
  1555. $provider = $this->container->get($registration->getService());
  1556. } catch (Throwable $e) {
  1557. $this->logger->error('Could not load calendar provider ' . $registration->getService() . ': ' . $e->getMessage(), [
  1558. 'exception' => $e,
  1559. ]);
  1560. return [];
  1561. }
  1562. return $provider->getCalendars($principalUri, $calendarUris);
  1563. }, $context->getCalendarProviders())
  1564. )]]></code>
  1565. </LessSpecificReturnStatement>
  1566. <MoreSpecificReturnType>
  1567. <code><![CDATA[ICreateFromString[]]]></code>
  1568. </MoreSpecificReturnType>
  1569. <NamedArgumentNotAllowed>
  1570. <code><![CDATA[array_map(function ($registration) use ($principalUri, $calendarUris) {
  1571. try {
  1572. /** @var ICalendarProvider $provider */
  1573. $provider = $this->container->get($registration->getService());
  1574. } catch (Throwable $e) {
  1575. $this->logger->error('Could not load calendar provider ' . $registration->getService() . ': ' . $e->getMessage(), [
  1576. 'exception' => $e,
  1577. ]);
  1578. return [];
  1579. }
  1580. return $provider->getCalendars($principalUri, $calendarUris);
  1581. }, $context->getCalendarProviders())]]></code>
  1582. </NamedArgumentNotAllowed>
  1583. </file>
  1584. <file src="lib/private/Command/CallableJob.php">
  1585. <ParamNameMismatch>
  1586. <code><![CDATA[$serializedCallable]]></code>
  1587. </ParamNameMismatch>
  1588. </file>
  1589. <file src="lib/private/Command/ClosureJob.php">
  1590. <InvalidArgument>
  1591. <code><![CDATA[[LaravelClosure::class]]]></code>
  1592. </InvalidArgument>
  1593. </file>
  1594. <file src="lib/private/Comments/Manager.php">
  1595. <RedundantCast>
  1596. <code><![CDATA[(string)$id]]></code>
  1597. </RedundantCast>
  1598. </file>
  1599. <file src="lib/private/Config.php">
  1600. <InvalidOperand>
  1601. <code><![CDATA[$this->delete($key)]]></code>
  1602. <code><![CDATA[$this->set($key, $value)]]></code>
  1603. </InvalidOperand>
  1604. <UndefinedVariable>
  1605. <code><![CDATA[$CONFIG]]></code>
  1606. <code><![CDATA[$CONFIG]]></code>
  1607. </UndefinedVariable>
  1608. </file>
  1609. <file src="lib/private/Console/Application.php">
  1610. <NoInterfaceProperties>
  1611. <code><![CDATA[$this->request->server]]></code>
  1612. </NoInterfaceProperties>
  1613. </file>
  1614. <file src="lib/private/ContactsManager.php">
  1615. <InvalidArgument>
  1616. <code><![CDATA[$searchOptions]]></code>
  1617. </InvalidArgument>
  1618. </file>
  1619. <file src="lib/private/DB/AdapterMySQL.php">
  1620. <InternalMethod>
  1621. <code><![CDATA[getParams]]></code>
  1622. </InternalMethod>
  1623. <InvalidArrayOffset>
  1624. <code><![CDATA[$params['collation']]]></code>
  1625. </InvalidArrayOffset>
  1626. </file>
  1627. <file src="lib/private/DB/Connection.php">
  1628. <InternalMethod>
  1629. <code><![CDATA[getParams]]></code>
  1630. </InternalMethod>
  1631. <InvalidArgument>
  1632. <code><![CDATA[$params]]></code>
  1633. </InvalidArgument>
  1634. <InvalidArrayOffset>
  1635. <code><![CDATA[$params['adapter']]]></code>
  1636. <code><![CDATA[$params['tablePrefix']]]></code>
  1637. </InvalidArrayOffset>
  1638. </file>
  1639. <file src="lib/private/DB/Exceptions/DbalException.php">
  1640. <RedundantCondition>
  1641. <code><![CDATA[is_int($original->getCode())]]></code>
  1642. </RedundantCondition>
  1643. <TypeDoesNotContainType>
  1644. <code><![CDATA[0]]></code>
  1645. </TypeDoesNotContainType>
  1646. </file>
  1647. <file src="lib/private/DB/MigrationService.php">
  1648. <LessSpecificReturnStatement>
  1649. <code><![CDATA[$s]]></code>
  1650. </LessSpecificReturnStatement>
  1651. <MoreSpecificReturnType>
  1652. <code><![CDATA[IMigrationStep]]></code>
  1653. </MoreSpecificReturnType>
  1654. </file>
  1655. <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php">
  1656. <ImplicitToStringCast>
  1657. <code><![CDATA[$this->functionBuilder->lower($x)]]></code>
  1658. </ImplicitToStringCast>
  1659. <InvalidArgument>
  1660. <code><![CDATA[$y]]></code>
  1661. <code><![CDATA[$y]]></code>
  1662. </InvalidArgument>
  1663. </file>
  1664. <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php">
  1665. <InternalMethod>
  1666. <code><![CDATA[getParams]]></code>
  1667. </InternalMethod>
  1668. <InvalidArrayOffset>
  1669. <code><![CDATA[$params['collation']]]></code>
  1670. </InvalidArrayOffset>
  1671. </file>
  1672. <file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
  1673. <InvalidNullableReturnType>
  1674. <code><![CDATA[string]]></code>
  1675. </InvalidNullableReturnType>
  1676. <NullableReturnStatement>
  1677. <code><![CDATA[$alias]]></code>
  1678. </NullableReturnStatement>
  1679. <ParamNameMismatch>
  1680. <code><![CDATA[$selects]]></code>
  1681. </ParamNameMismatch>
  1682. </file>
  1683. <file src="lib/private/DB/QueryBuilder/QuoteHelper.php">
  1684. <InvalidNullableReturnType>
  1685. <code><![CDATA[string]]></code>
  1686. </InvalidNullableReturnType>
  1687. <NullableReturnStatement>
  1688. <code><![CDATA[$string]]></code>
  1689. </NullableReturnStatement>
  1690. </file>
  1691. <file src="lib/private/DateTimeFormatter.php">
  1692. <FalsableReturnStatement>
  1693. <code><![CDATA[$l->l($type, $timestamp, [
  1694. 'width' => $format,
  1695. ])]]></code>
  1696. </FalsableReturnStatement>
  1697. <InvalidReturnStatement>
  1698. <code><![CDATA[$l->l($type, $timestamp, [
  1699. 'width' => $format,
  1700. ])]]></code>
  1701. </InvalidReturnStatement>
  1702. <InvalidReturnType>
  1703. <code><![CDATA[string]]></code>
  1704. </InvalidReturnType>
  1705. </file>
  1706. <file src="lib/private/DateTimeZone.php">
  1707. <InvalidScalarArgument>
  1708. <code><![CDATA[$timestamp]]></code>
  1709. </InvalidScalarArgument>
  1710. </file>
  1711. <file src="lib/private/Diagnostics/Query.php">
  1712. <ImplementedReturnTypeMismatch>
  1713. <code><![CDATA[float]]></code>
  1714. </ImplementedReturnTypeMismatch>
  1715. </file>
  1716. <file src="lib/private/Diagnostics/QueryLogger.php">
  1717. <InvalidArgument>
  1718. <code><![CDATA[microtime(true)]]></code>
  1719. </InvalidArgument>
  1720. <InvalidReturnType>
  1721. <code><![CDATA[stopQuery]]></code>
  1722. </InvalidReturnType>
  1723. </file>
  1724. <file src="lib/private/DirectEditing/Manager.php">
  1725. <InvalidReturnType>
  1726. <code><![CDATA[TemplateResponse]]></code>
  1727. </InvalidReturnType>
  1728. <UndefinedMethod>
  1729. <code><![CDATA[$template]]></code>
  1730. <code><![CDATA[$template]]></code>
  1731. <code><![CDATA[$template]]></code>
  1732. <code><![CDATA[$template]]></code>
  1733. </UndefinedMethod>
  1734. </file>
  1735. <file src="lib/private/DirectEditing/Token.php">
  1736. <LessSpecificReturnStatement>
  1737. <code><![CDATA[$this->manager->getFileForToken($this->data['user_id'], $this->data['file_id'], $this->data['file_path'])]]></code>
  1738. </LessSpecificReturnStatement>
  1739. <UndefinedMethod>
  1740. <code><![CDATA[getShareForToken]]></code>
  1741. </UndefinedMethod>
  1742. </file>
  1743. <file src="lib/private/Encryption/Keys/Storage.php">
  1744. <InvalidNullableReturnType>
  1745. <code><![CDATA[deleteUserKey]]></code>
  1746. </InvalidNullableReturnType>
  1747. <NullArgument>
  1748. <code><![CDATA[null]]></code>
  1749. <code><![CDATA[null]]></code>
  1750. <code><![CDATA[null]]></code>
  1751. </NullArgument>
  1752. </file>
  1753. <file src="lib/private/Encryption/Manager.php">
  1754. <ImplementedReturnTypeMismatch>
  1755. <code><![CDATA[bool]]></code>
  1756. </ImplementedReturnTypeMismatch>
  1757. </file>
  1758. <file src="lib/private/Federation/CloudFederationProviderManager.php">
  1759. <ParamNameMismatch>
  1760. <code><![CDATA[$providerId]]></code>
  1761. </ParamNameMismatch>
  1762. </file>
  1763. <file src="lib/private/Files/AppData/AppData.php">
  1764. <LessSpecificReturnStatement>
  1765. <code><![CDATA[$this->folder]]></code>
  1766. </LessSpecificReturnStatement>
  1767. <MoreSpecificReturnType>
  1768. <code><![CDATA[Folder]]></code>
  1769. </MoreSpecificReturnType>
  1770. </file>
  1771. <file src="lib/private/Files/Cache/Cache.php">
  1772. <InvalidArgument>
  1773. <code><![CDATA[$parentData]]></code>
  1774. </InvalidArgument>
  1775. <InvalidNullableReturnType>
  1776. <code><![CDATA[array]]></code>
  1777. </InvalidNullableReturnType>
  1778. <InvalidScalarArgument>
  1779. <code><![CDATA[$path]]></code>
  1780. <code><![CDATA[\OC_Util::normalizeUnicode($path)]]></code>
  1781. </InvalidScalarArgument>
  1782. <NullableReturnStatement>
  1783. <code><![CDATA[null]]></code>
  1784. <code><![CDATA[null]]></code>
  1785. </NullableReturnStatement>
  1786. </file>
  1787. <file src="lib/private/Files/Cache/FailedCache.php">
  1788. <InvalidReturnStatement>
  1789. <code><![CDATA[[]]]></code>
  1790. </InvalidReturnStatement>
  1791. <InvalidReturnType>
  1792. <code><![CDATA[getIncomplete]]></code>
  1793. <code><![CDATA[insert]]></code>
  1794. <code><![CDATA[put]]></code>
  1795. </InvalidReturnType>
  1796. </file>
  1797. <file src="lib/private/Files/Cache/HomeCache.php">
  1798. <FalsableReturnStatement>
  1799. <code><![CDATA[$data]]></code>
  1800. </FalsableReturnStatement>
  1801. <MoreSpecificImplementedParamType>
  1802. <code><![CDATA[$file]]></code>
  1803. <code><![CDATA[$file]]></code>
  1804. </MoreSpecificImplementedParamType>
  1805. </file>
  1806. <file src="lib/private/Files/Cache/Scanner.php">
  1807. <InvalidArgument>
  1808. <code><![CDATA[self::SCAN_RECURSIVE_INCOMPLETE]]></code>
  1809. </InvalidArgument>
  1810. <InvalidReturnStatement>
  1811. <code><![CDATA[$existingChildren]]></code>
  1812. </InvalidReturnStatement>
  1813. <InvalidReturnType>
  1814. <code><![CDATA[array[]]]></code>
  1815. </InvalidReturnType>
  1816. </file>
  1817. <file src="lib/private/Files/Cache/Storage.php">
  1818. <InvalidNullableReturnType>
  1819. <code><![CDATA[array]]></code>
  1820. </InvalidNullableReturnType>
  1821. <NullableReturnStatement>
  1822. <code><![CDATA[self::getGlobalCache()->getStorageInfo($storageId)]]></code>
  1823. </NullableReturnStatement>
  1824. </file>
  1825. <file src="lib/private/Files/Cache/Wrapper/CacheWrapper.php">
  1826. <LessSpecificImplementedReturnType>
  1827. <code><![CDATA[array]]></code>
  1828. <code><![CDATA[array]]></code>
  1829. </LessSpecificImplementedReturnType>
  1830. </file>
  1831. <file src="lib/private/Files/Config/MountProviderCollection.php">
  1832. <InvalidOperand>
  1833. <code><![CDATA[$user]]></code>
  1834. </InvalidOperand>
  1835. <RedundantCondition>
  1836. <code><![CDATA[get_class($provider) !== 'OCA\Files_Sharing\MountProvider']]></code>
  1837. </RedundantCondition>
  1838. <TypeDoesNotContainType>
  1839. <code><![CDATA[get_class($provider) === 'OCA\Files_Sharing\MountProvider']]></code>
  1840. </TypeDoesNotContainType>
  1841. </file>
  1842. <file src="lib/private/Files/Config/UserMountCache.php">
  1843. <InvalidReturnType>
  1844. <code><![CDATA[remoteStorageMounts]]></code>
  1845. <code><![CDATA[removeUserStorageMount]]></code>
  1846. </InvalidReturnType>
  1847. <LessSpecificImplementedReturnType>
  1848. <code><![CDATA[array]]></code>
  1849. </LessSpecificImplementedReturnType>
  1850. <LessSpecificReturnStatement>
  1851. <code><![CDATA[$this->cacheInfoCache[$fileId]]]></code>
  1852. </LessSpecificReturnStatement>
  1853. <MoreSpecificReturnType>
  1854. <code><![CDATA[array{int, string, int}]]></code>
  1855. </MoreSpecificReturnType>
  1856. </file>
  1857. <file src="lib/private/Files/Filesystem.php">
  1858. <LessSpecificReturnStatement>
  1859. <code><![CDATA[$mount->getStorage()]]></code>
  1860. <code><![CDATA[self::getMountManager()->findByNumericId($id)]]></code>
  1861. <code><![CDATA[self::getMountManager()->findByStorageId($id)]]></code>
  1862. </LessSpecificReturnStatement>
  1863. <MoreSpecificReturnType>
  1864. <code><![CDATA[Mount\MountPoint[]]]></code>
  1865. <code><![CDATA[Mount\MountPoint[]]]></code>
  1866. <code><![CDATA[\OC\Files\Storage\Storage|null]]></code>
  1867. </MoreSpecificReturnType>
  1868. <TooManyArguments>
  1869. <code><![CDATA[addStorageWrapper]]></code>
  1870. </TooManyArguments>
  1871. </file>
  1872. <file src="lib/private/Files/Mount/MountPoint.php">
  1873. <UndefinedInterfaceMethod>
  1874. <code><![CDATA[wrap]]></code>
  1875. </UndefinedInterfaceMethod>
  1876. </file>
  1877. <file src="lib/private/Files/Mount/ObjectHomeMountProvider.php">
  1878. <InvalidNullableReturnType>
  1879. <code><![CDATA[\OCP\Files\Mount\IMountPoint]]></code>
  1880. </InvalidNullableReturnType>
  1881. <NullableReturnStatement>
  1882. <code><![CDATA[null]]></code>
  1883. </NullableReturnStatement>
  1884. </file>
  1885. <file src="lib/private/Files/Node/File.php">
  1886. <InvalidReturnStatement>
  1887. <code><![CDATA[$this->view->hash($type, $this->path, $raw)]]></code>
  1888. </InvalidReturnStatement>
  1889. <InvalidReturnType>
  1890. <code><![CDATA[string]]></code>
  1891. </InvalidReturnType>
  1892. </file>
  1893. <file src="lib/private/Files/Node/Folder.php">
  1894. <LessSpecificReturnStatement>
  1895. <code><![CDATA[array_map(function (FileInfo $file) {
  1896. return $this->createNode($file->getPath(), $file);
  1897. }, $files)]]></code>
  1898. </LessSpecificReturnStatement>
  1899. <MoreSpecificImplementedParamType>
  1900. <code><![CDATA[$node]]></code>
  1901. </MoreSpecificImplementedParamType>
  1902. <MoreSpecificReturnType>
  1903. <code><![CDATA[\OC\Files\Node\Node[]]]></code>
  1904. </MoreSpecificReturnType>
  1905. </file>
  1906. <file src="lib/private/Files/Node/HookConnector.php">
  1907. <UndefinedInterfaceMethod>
  1908. <code><![CDATA[emit]]></code>
  1909. <code><![CDATA[emit]]></code>
  1910. <code><![CDATA[emit]]></code>
  1911. <code><![CDATA[emit]]></code>
  1912. <code><![CDATA[emit]]></code>
  1913. <code><![CDATA[emit]]></code>
  1914. <code><![CDATA[emit]]></code>
  1915. <code><![CDATA[emit]]></code>
  1916. <code><![CDATA[emit]]></code>
  1917. <code><![CDATA[emit]]></code>
  1918. <code><![CDATA[emit]]></code>
  1919. <code><![CDATA[emit]]></code>
  1920. <code><![CDATA[emit]]></code>
  1921. </UndefinedInterfaceMethod>
  1922. </file>
  1923. <file src="lib/private/Files/Node/LazyFolder.php">
  1924. <InvalidReturnStatement>
  1925. <code><![CDATA[$this->__call(__FUNCTION__, func_get_args())]]></code>
  1926. </InvalidReturnStatement>
  1927. </file>
  1928. <file src="lib/private/Files/Node/LazyUserFolder.php">
  1929. <LessSpecificReturnStatement>
  1930. <code><![CDATA[$node]]></code>
  1931. </LessSpecificReturnStatement>
  1932. <MoreSpecificReturnType>
  1933. <code><![CDATA[Folder]]></code>
  1934. </MoreSpecificReturnType>
  1935. </file>
  1936. <file src="lib/private/Files/Node/Node.php">
  1937. <InvalidNullableReturnType>
  1938. <code><![CDATA[FileInfo]]></code>
  1939. </InvalidNullableReturnType>
  1940. <InvalidReturnType>
  1941. <code><![CDATA[getChecksum]]></code>
  1942. </InvalidReturnType>
  1943. <LessSpecificReturnStatement>
  1944. <code><![CDATA[$this->parent]]></code>
  1945. </LessSpecificReturnStatement>
  1946. <MoreSpecificReturnType>
  1947. <code><![CDATA[INode|IRootFolder]]></code>
  1948. </MoreSpecificReturnType>
  1949. <NullableReturnStatement>
  1950. <code><![CDATA[$this->fileInfo]]></code>
  1951. </NullableReturnStatement>
  1952. <ParamNameMismatch>
  1953. <code><![CDATA[$type]]></code>
  1954. </ParamNameMismatch>
  1955. <UndefinedInterfaceMethod>
  1956. <code><![CDATA[$this->fileInfo]]></code>
  1957. <code><![CDATA[$this->fileInfo]]></code>
  1958. </UndefinedInterfaceMethod>
  1959. </file>
  1960. <file src="lib/private/Files/Node/Root.php">
  1961. <LessSpecificReturnStatement>
  1962. <code><![CDATA[$folders]]></code>
  1963. <code><![CDATA[$this->mountManager->findByNumericId($numericId)]]></code>
  1964. <code><![CDATA[$this->mountManager->findByStorageId($storageId)]]></code>
  1965. <code><![CDATA[$this->mountManager->findIn($mountPoint)]]></code>
  1966. <code><![CDATA[$this->user]]></code>
  1967. </LessSpecificReturnStatement>
  1968. <MoreSpecificReturnType>
  1969. <code><![CDATA[MountPoint[]]]></code>
  1970. <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code>
  1971. <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code>
  1972. <code><![CDATA[\OC\User\User]]></code>
  1973. </MoreSpecificReturnType>
  1974. <NullableReturnStatement>
  1975. <code><![CDATA[$this->user]]></code>
  1976. </NullableReturnStatement>
  1977. <UndefinedMethod>
  1978. <code><![CDATA[remove]]></code>
  1979. </UndefinedMethod>
  1980. </file>
  1981. <file src="lib/private/Files/ObjectStore/S3ConnectionTrait.php">
  1982. <InternalClass>
  1983. <code><![CDATA[ClientResolver::_default_signature_provider()]]></code>
  1984. <code><![CDATA[ClientResolver::_default_signature_provider()]]></code>
  1985. </InternalClass>
  1986. <InternalMethod>
  1987. <code><![CDATA[ClientResolver::_default_signature_provider()]]></code>
  1988. </InternalMethod>
  1989. <UndefinedFunction>
  1990. <code><![CDATA[\Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())]]></code>
  1991. </UndefinedFunction>
  1992. </file>
  1993. <file src="lib/private/Files/ObjectStore/S3ObjectTrait.php">
  1994. <InternalMethod>
  1995. <code><![CDATA[upload]]></code>
  1996. </InternalMethod>
  1997. <UndefinedFunction>
  1998. <code><![CDATA[\Aws\serialize($command)]]></code>
  1999. </UndefinedFunction>
  2000. </file>
  2001. <file src="lib/private/Files/Storage/Common.php">
  2002. <InvalidOperand>
  2003. <code><![CDATA[!$permissions]]></code>
  2004. <code><![CDATA[$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file)]]></code>
  2005. </InvalidOperand>
  2006. </file>
  2007. <file src="lib/private/Files/Storage/DAV.php">
  2008. <InvalidClass>
  2009. <code><![CDATA[ArrayCache]]></code>
  2010. <code><![CDATA[ArrayCache]]></code>
  2011. </InvalidClass>
  2012. <InvalidReturnStatement>
  2013. <code><![CDATA[$response->getBody()]]></code>
  2014. </InvalidReturnStatement>
  2015. <InvalidReturnType>
  2016. <code><![CDATA[fopen]]></code>
  2017. </InvalidReturnType>
  2018. </file>
  2019. <file src="lib/private/Files/Storage/Local.php">
  2020. <TypeDoesNotContainNull>
  2021. <code><![CDATA[$space === false || is_null($space)]]></code>
  2022. <code><![CDATA[is_null($space)]]></code>
  2023. </TypeDoesNotContainNull>
  2024. <TypeDoesNotContainType>
  2025. <code><![CDATA[$stat === false]]></code>
  2026. </TypeDoesNotContainType>
  2027. </file>
  2028. <file src="lib/private/Files/Storage/LocalRootStorage.php">
  2029. <NoInterfaceProperties>
  2030. <code><![CDATA[$storage->scanner]]></code>
  2031. <code><![CDATA[$storage->scanner]]></code>
  2032. </NoInterfaceProperties>
  2033. </file>
  2034. <file src="lib/private/Files/Storage/Wrapper/Encoding.php">
  2035. <InvalidArgument>
  2036. <code><![CDATA[\Normalizer::FORM_C]]></code>
  2037. <code><![CDATA[\Normalizer::FORM_C]]></code>
  2038. <code><![CDATA[\Normalizer::FORM_D]]></code>
  2039. </InvalidArgument>
  2040. <UndefinedInterfaceMethod>
  2041. <code><![CDATA[$this->namesCache]]></code>
  2042. <code><![CDATA[$this->namesCache]]></code>
  2043. <code><![CDATA[$this->namesCache]]></code>
  2044. <code><![CDATA[$this->namesCache]]></code>
  2045. <code><![CDATA[$this->namesCache]]></code>
  2046. <code><![CDATA[$this->namesCache]]></code>
  2047. <code><![CDATA[$this->namesCache]]></code>
  2048. <code><![CDATA[$this->namesCache]]></code>
  2049. <code><![CDATA[$this->namesCache]]></code>
  2050. <code><![CDATA[$this->namesCache]]></code>
  2051. <code><![CDATA[$this->namesCache]]></code>
  2052. <code><![CDATA[$this->namesCache]]></code>
  2053. <code><![CDATA[$this->namesCache]]></code>
  2054. <code><![CDATA[$this->namesCache]]></code>
  2055. <code><![CDATA[$this->namesCache]]></code>
  2056. <code><![CDATA[$this->namesCache]]></code>
  2057. <code><![CDATA[$this->namesCache]]></code>
  2058. </UndefinedInterfaceMethod>
  2059. </file>
  2060. <file src="lib/private/Files/Storage/Wrapper/Encryption.php">
  2061. <InvalidOperand>
  2062. <code><![CDATA[$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file, false, $isRename)]]></code>
  2063. </InvalidOperand>
  2064. <InvalidReturnStatement>
  2065. <code><![CDATA[$result]]></code>
  2066. </InvalidReturnStatement>
  2067. <InvalidReturnType>
  2068. <code><![CDATA[int]]></code>
  2069. </InvalidReturnType>
  2070. <InvalidScalarArgument>
  2071. <code><![CDATA[$lastChunkPos]]></code>
  2072. <code><![CDATA[$size]]></code>
  2073. </InvalidScalarArgument>
  2074. </file>
  2075. <file src="lib/private/Files/Stream/SeekableHttpStream.php">
  2076. <InvalidReturnType>
  2077. <code><![CDATA[stream_close]]></code>
  2078. <code><![CDATA[stream_flush]]></code>
  2079. </InvalidReturnType>
  2080. </file>
  2081. <file src="lib/private/Files/Template/TemplateManager.php">
  2082. <RedundantCondition>
  2083. <code><![CDATA[!$isDefaultTemplates]]></code>
  2084. </RedundantCondition>
  2085. </file>
  2086. <file src="lib/private/Files/Type/Detection.php">
  2087. <ParamNameMismatch>
  2088. <code><![CDATA[$mimetype]]></code>
  2089. </ParamNameMismatch>
  2090. </file>
  2091. <file src="lib/private/Files/Utils/Scanner.php">
  2092. <LessSpecificReturnStatement>
  2093. <code><![CDATA[$mounts]]></code>
  2094. </LessSpecificReturnStatement>
  2095. <MoreSpecificReturnType>
  2096. <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code>
  2097. </MoreSpecificReturnType>
  2098. </file>
  2099. <file src="lib/private/Files/View.php">
  2100. <InvalidScalarArgument>
  2101. <code><![CDATA[$mtime]]></code>
  2102. </InvalidScalarArgument>
  2103. <UndefinedInterfaceMethod>
  2104. <code><![CDATA[acquireLock]]></code>
  2105. <code><![CDATA[changeLock]]></code>
  2106. <code><![CDATA[releaseLock]]></code>
  2107. </UndefinedInterfaceMethod>
  2108. </file>
  2109. <file src="lib/private/FullTextSearch/Model/IndexDocument.php">
  2110. <TypeDoesNotContainNull>
  2111. <code><![CDATA[is_null($this->getContent())]]></code>
  2112. </TypeDoesNotContainNull>
  2113. </file>
  2114. <file src="lib/private/Group/Group.php">
  2115. <InvalidArgument>
  2116. <code><![CDATA[bool]]></code>
  2117. </InvalidArgument>
  2118. <InvalidOperand>
  2119. <code><![CDATA[$hide]]></code>
  2120. </InvalidOperand>
  2121. <LessSpecificReturnStatement>
  2122. <code><![CDATA[$users]]></code>
  2123. </LessSpecificReturnStatement>
  2124. <MoreSpecificReturnType>
  2125. <code><![CDATA[\OC\User\User[]]]></code>
  2126. </MoreSpecificReturnType>
  2127. <RedundantCondition>
  2128. <code><![CDATA[$this->emitter]]></code>
  2129. <code><![CDATA[$this->emitter]]></code>
  2130. <code><![CDATA[$this->emitter]]></code>
  2131. </RedundantCondition>
  2132. <UndefinedMethod>
  2133. <code><![CDATA[addToGroup]]></code>
  2134. <code><![CDATA[countUsersInGroup]]></code>
  2135. <code><![CDATA[deleteGroup]]></code>
  2136. <code><![CDATA[removeFromGroup]]></code>
  2137. </UndefinedMethod>
  2138. </file>
  2139. <file src="lib/private/Group/Manager.php">
  2140. <LessSpecificReturnStatement>
  2141. <code><![CDATA[$groups]]></code>
  2142. <code><![CDATA[array_values($groups)]]></code>
  2143. <code><![CDATA[array_values($groups)]]></code>
  2144. </LessSpecificReturnStatement>
  2145. <MoreSpecificReturnType>
  2146. <code><![CDATA[\OC\Group\Group[]]]></code>
  2147. <code><![CDATA[\OC\Group\Group[]]]></code>
  2148. </MoreSpecificReturnType>
  2149. <UndefinedInterfaceMethod>
  2150. <code><![CDATA[createGroup]]></code>
  2151. <code><![CDATA[getGroupDetails]]></code>
  2152. <code><![CDATA[isAdmin]]></code>
  2153. </UndefinedInterfaceMethod>
  2154. </file>
  2155. <file src="lib/private/Http/Client/Response.php">
  2156. <InvalidNullableReturnType>
  2157. <code><![CDATA[string|resource]]></code>
  2158. </InvalidNullableReturnType>
  2159. <NullableReturnStatement>
  2160. <code><![CDATA[$this->stream ?
  2161. $this->response->getBody()->detach():
  2162. $this->response->getBody()->getContents()]]></code>
  2163. </NullableReturnStatement>
  2164. </file>
  2165. <file src="lib/private/Installer.php">
  2166. <InvalidArgument>
  2167. <code><![CDATA[false]]></code>
  2168. <code><![CDATA[false]]></code>
  2169. </InvalidArgument>
  2170. <NullArgument>
  2171. <code><![CDATA[null]]></code>
  2172. </NullArgument>
  2173. </file>
  2174. <file src="lib/private/IntegrityCheck/Checker.php">
  2175. <InvalidArrayAccess>
  2176. <code><![CDATA[$x509->getDN(X509::DN_OPENSSL)['CN']]]></code>
  2177. <code><![CDATA[$x509->getDN(X509::DN_OPENSSL)['CN']]]></code>
  2178. <code><![CDATA[$x509->getDN(true)['CN']]]></code>
  2179. </InvalidArrayAccess>
  2180. <UndefinedInterfaceMethod>
  2181. <code><![CDATA[getOnlyDefaultAliases]]></code>
  2182. </UndefinedInterfaceMethod>
  2183. </file>
  2184. <file src="lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php">
  2185. <MissingTemplateParam>
  2186. <code><![CDATA[ExcludeFileByNameFilterIterator]]></code>
  2187. </MissingTemplateParam>
  2188. </file>
  2189. <file src="lib/private/IntegrityCheck/Iterator/ExcludeFoldersByPathFilterIterator.php">
  2190. <MissingTemplateParam>
  2191. <code><![CDATA[ExcludeFoldersByPathFilterIterator]]></code>
  2192. </MissingTemplateParam>
  2193. </file>
  2194. <file src="lib/private/L10N/Factory.php">
  2195. <ImplementedReturnTypeMismatch>
  2196. <code><![CDATA[null|string]]></code>
  2197. </ImplementedReturnTypeMismatch>
  2198. <LessSpecificImplementedReturnType>
  2199. <code><![CDATA[array|mixed]]></code>
  2200. </LessSpecificImplementedReturnType>
  2201. </file>
  2202. <file src="lib/private/LargeFileHelper.php">
  2203. <InvalidOperand>
  2204. <code><![CDATA[$matches[1]]]></code>
  2205. </InvalidOperand>
  2206. </file>
  2207. <file src="lib/private/Lockdown/Filesystem/NullCache.php">
  2208. <InvalidNullableReturnType>
  2209. <code><![CDATA[get]]></code>
  2210. </InvalidNullableReturnType>
  2211. <InvalidReturnStatement>
  2212. <code><![CDATA[[]]]></code>
  2213. </InvalidReturnStatement>
  2214. <InvalidReturnType>
  2215. <code><![CDATA[getIncomplete]]></code>
  2216. </InvalidReturnType>
  2217. <NullableReturnStatement>
  2218. <code><![CDATA[$file !== '' ? null :
  2219. new CacheEntry([
  2220. 'fileid' => -1,
  2221. 'parent' => -1,
  2222. 'name' => '',
  2223. 'path' => '',
  2224. 'size' => '0',
  2225. 'mtime' => time(),
  2226. 'storage_mtime' => time(),
  2227. 'etag' => '',
  2228. 'mimetype' => FileInfo::MIMETYPE_FOLDER,
  2229. 'mimepart' => 'httpd',
  2230. 'permissions' => Constants::PERMISSION_READ
  2231. ])]]></code>
  2232. </NullableReturnStatement>
  2233. </file>
  2234. <file src="lib/private/Lockdown/Filesystem/NullStorage.php">
  2235. <TooManyArguments>
  2236. <code><![CDATA[new IteratorDirectory([])]]></code>
  2237. </TooManyArguments>
  2238. </file>
  2239. <file src="lib/private/Lockdown/LockdownManager.php">
  2240. <InvalidFunctionCall>
  2241. <code><![CDATA[$callback()]]></code>
  2242. </InvalidFunctionCall>
  2243. <InvalidPropertyAssignmentValue>
  2244. <code><![CDATA[$sessionCallback]]></code>
  2245. </InvalidPropertyAssignmentValue>
  2246. </file>
  2247. <file src="lib/private/Log/File.php">
  2248. <TypeDoesNotContainNull>
  2249. <code><![CDATA[$limit === null]]></code>
  2250. </TypeDoesNotContainNull>
  2251. </file>
  2252. <file src="lib/private/Log/LogDetails.php">
  2253. <RedundantCondition>
  2254. <code><![CDATA[is_string($request->getMethod())]]></code>
  2255. </RedundantCondition>
  2256. </file>
  2257. <file src="lib/private/Log/Systemdlog.php">
  2258. <UndefinedFunction>
  2259. <code><![CDATA[sd_journal_send('PRIORITY=' . $journal_level,
  2260. 'SYSLOG_IDENTIFIER=' . $this->syslogId,
  2261. 'MESSAGE=' . $this->logDetailsAsJSON($app, $message, $level))]]></code>
  2262. </UndefinedFunction>
  2263. </file>
  2264. <file src="lib/private/Memcache/APCu.php">
  2265. <InvalidReturnStatement>
  2266. <code><![CDATA[apcu_add($this->getPrefix() . $key, $value, $ttl)]]></code>
  2267. </InvalidReturnStatement>
  2268. <InvalidReturnType>
  2269. <code><![CDATA[bool]]></code>
  2270. </InvalidReturnType>
  2271. </file>
  2272. <file src="lib/private/Memcache/Cache.php">
  2273. <LessSpecificImplementedReturnType>
  2274. <code><![CDATA[mixed]]></code>
  2275. <code><![CDATA[mixed]]></code>
  2276. <code><![CDATA[mixed]]></code>
  2277. <code><![CDATA[mixed]]></code>
  2278. </LessSpecificImplementedReturnType>
  2279. </file>
  2280. <file src="lib/private/Preview/BackgroundCleanupJob.php">
  2281. <InvalidReturnStatement>
  2282. <code><![CDATA[[]]]></code>
  2283. </InvalidReturnStatement>
  2284. </file>
  2285. <file src="lib/private/Preview/Generator.php">
  2286. <InvalidArgument>
  2287. <code><![CDATA[$maxPreviewImage]]></code>
  2288. </InvalidArgument>
  2289. <LessSpecificReturnType>
  2290. <code><![CDATA[null|string]]></code>
  2291. </LessSpecificReturnType>
  2292. <MismatchingDocblockParamType>
  2293. <code><![CDATA[ISimpleFile]]></code>
  2294. </MismatchingDocblockParamType>
  2295. <UndefinedInterfaceMethod>
  2296. <code><![CDATA[height]]></code>
  2297. <code><![CDATA[height]]></code>
  2298. <code><![CDATA[preciseResizeCopy]]></code>
  2299. <code><![CDATA[resizeCopy]]></code>
  2300. <code><![CDATA[valid]]></code>
  2301. <code><![CDATA[width]]></code>
  2302. <code><![CDATA[width]]></code>
  2303. </UndefinedInterfaceMethod>
  2304. </file>
  2305. <file src="lib/private/Preview/ProviderV1Adapter.php">
  2306. <InvalidReturnStatement>
  2307. <code><![CDATA[$thumbnail === false ? null: $thumbnail]]></code>
  2308. </InvalidReturnStatement>
  2309. <InvalidReturnType>
  2310. <code><![CDATA[?IImage]]></code>
  2311. </InvalidReturnType>
  2312. </file>
  2313. <file src="lib/private/RedisFactory.php">
  2314. <InvalidArgument>
  2315. <code><![CDATA[\RedisCluster::OPT_SLAVE_FAILOVER]]></code>
  2316. </InvalidArgument>
  2317. </file>
  2318. <file src="lib/private/Remote/Api/OCS.php">
  2319. <ImplementedReturnTypeMismatch>
  2320. <code><![CDATA[array]]></code>
  2321. </ImplementedReturnTypeMismatch>
  2322. </file>
  2323. <file src="lib/private/Remote/Instance.php">
  2324. <InvalidReturnStatement>
  2325. <code><![CDATA[$request->getBody()]]></code>
  2326. </InvalidReturnStatement>
  2327. <InvalidReturnType>
  2328. <code><![CDATA[bool|string]]></code>
  2329. </InvalidReturnType>
  2330. <InvalidScalarArgument>
  2331. <code><![CDATA[$response]]></code>
  2332. </InvalidScalarArgument>
  2333. </file>
  2334. <file src="lib/private/Repair/Owncloud/CleanPreviews.php">
  2335. <InvalidArgument>
  2336. <code><![CDATA[false]]></code>
  2337. </InvalidArgument>
  2338. </file>
  2339. <file src="lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php">
  2340. <ParamNameMismatch>
  2341. <code><![CDATA[$arguments]]></code>
  2342. </ParamNameMismatch>
  2343. </file>
  2344. <file src="lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php">
  2345. <ParamNameMismatch>
  2346. <code><![CDATA[$arguments]]></code>
  2347. </ParamNameMismatch>
  2348. </file>
  2349. <file src="lib/private/Repair/RemoveLinkShares.php">
  2350. <InvalidPropertyAssignmentValue>
  2351. <code><![CDATA[$this->userToNotify]]></code>
  2352. </InvalidPropertyAssignmentValue>
  2353. </file>
  2354. <file src="lib/private/Repair/RepairInvalidShares.php">
  2355. <ParamNameMismatch>
  2356. <code><![CDATA[$out]]></code>
  2357. </ParamNameMismatch>
  2358. </file>
  2359. <file src="lib/private/Repair/RepairMimeTypes.php">
  2360. <ParamNameMismatch>
  2361. <code><![CDATA[$out]]></code>
  2362. </ParamNameMismatch>
  2363. </file>
  2364. <file src="lib/private/Route/Router.php">
  2365. <InvalidClass>
  2366. <code><![CDATA[\OC_APP]]></code>
  2367. </InvalidClass>
  2368. <InvalidNullableReturnType>
  2369. <code><![CDATA[string]]></code>
  2370. </InvalidNullableReturnType>
  2371. <NullableReturnStatement>
  2372. <code><![CDATA[$this->collectionName]]></code>
  2373. </NullableReturnStatement>
  2374. </file>
  2375. <file src="lib/private/Security/Bruteforce/Throttler.php">
  2376. <NullArgument>
  2377. <code><![CDATA[null]]></code>
  2378. </NullArgument>
  2379. </file>
  2380. <file src="lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php">
  2381. <NoInterfaceProperties>
  2382. <code><![CDATA[$this->request->server]]></code>
  2383. </NoInterfaceProperties>
  2384. </file>
  2385. <file src="lib/private/Security/CSRF/CsrfToken.php">
  2386. <InvalidArgument>
  2387. <code><![CDATA[\strlen($this->value)]]></code>
  2388. </InvalidArgument>
  2389. </file>
  2390. <file src="lib/private/Security/Crypto.php">
  2391. <InternalMethod>
  2392. <code><![CDATA[decrypt]]></code>
  2393. <code><![CDATA[encrypt]]></code>
  2394. <code><![CDATA[setIV]]></code>
  2395. <code><![CDATA[setIV]]></code>
  2396. <code><![CDATA[setPassword]]></code>
  2397. <code><![CDATA[setPassword]]></code>
  2398. </InternalMethod>
  2399. </file>
  2400. <file src="lib/private/Server.php">
  2401. <ImplementedReturnTypeMismatch>
  2402. <code><![CDATA[\OCP\Calendar\Resource\IManager]]></code>
  2403. <code><![CDATA[\OCP\Calendar\Room\IManager]]></code>
  2404. <code><![CDATA[\OCP\Files\Folder|null]]></code>
  2405. </ImplementedReturnTypeMismatch>
  2406. <LessSpecificReturnStatement>
  2407. <code><![CDATA[$this->get(IFile::class)]]></code>
  2408. <code><![CDATA[$this->get(IGroupManager::class)]]></code>
  2409. <code><![CDATA[$this->get(INavigationManager::class)]]></code>
  2410. <code><![CDATA[$this->get(IUserManager::class)]]></code>
  2411. <code><![CDATA[$this->get(IUserSession::class)]]></code>
  2412. <code><![CDATA[$this->get(\OCP\Encryption\IManager::class)]]></code>
  2413. </LessSpecificReturnStatement>
  2414. <MoreSpecificReturnType>
  2415. <code><![CDATA[\OC\Encryption\File]]></code>
  2416. <code><![CDATA[\OC\Encryption\Manager]]></code>
  2417. <code><![CDATA[\OC\Group\Manager]]></code>
  2418. <code><![CDATA[\OC\NavigationManager]]></code>
  2419. <code><![CDATA[\OC\User\Manager]]></code>
  2420. <code><![CDATA[\OC\User\Session]]></code>
  2421. </MoreSpecificReturnType>
  2422. <UndefinedDocblockClass>
  2423. <code><![CDATA[\OC\OCSClient]]></code>
  2424. </UndefinedDocblockClass>
  2425. </file>
  2426. <file src="lib/private/ServerContainer.php">
  2427. <InvalidPropertyAssignmentValue>
  2428. <code><![CDATA[$this->hasNoAppContainer]]></code>
  2429. </InvalidPropertyAssignmentValue>
  2430. <NoValue>
  2431. <code><![CDATA[return $this->appContainers[$namespace];]]></code>
  2432. </NoValue>
  2433. </file>
  2434. <file src="lib/private/Session/Internal.php">
  2435. <MoreSpecificImplementedParamType>
  2436. <code><![CDATA[$value]]></code>
  2437. </MoreSpecificImplementedParamType>
  2438. </file>
  2439. <file src="lib/private/Session/Memory.php">
  2440. <MoreSpecificImplementedParamType>
  2441. <code><![CDATA[$value]]></code>
  2442. </MoreSpecificImplementedParamType>
  2443. </file>
  2444. <file src="lib/private/Setup.php">
  2445. <RedundantCondition>
  2446. <code><![CDATA[$type === 'pdo']]></code>
  2447. </RedundantCondition>
  2448. <UndefinedVariable>
  2449. <code><![CDATA[$vendor]]></code>
  2450. </UndefinedVariable>
  2451. </file>
  2452. <file src="lib/private/Setup/AbstractDatabase.php">
  2453. <TypeDoesNotContainType>
  2454. <code><![CDATA[ctype_digit($this->dbPort)]]></code>
  2455. </TypeDoesNotContainType>
  2456. <UndefinedThisPropertyFetch>
  2457. <code><![CDATA[$this->dbprettyname]]></code>
  2458. <code><![CDATA[$this->dbprettyname]]></code>
  2459. <code><![CDATA[$this->dbprettyname]]></code>
  2460. <code><![CDATA[$this->dbprettyname]]></code>
  2461. </UndefinedThisPropertyFetch>
  2462. </file>
  2463. <file src="lib/private/Share20/DefaultShareProvider.php">
  2464. <InvalidArgument>
  2465. <code><![CDATA[$share->getId()]]></code>
  2466. <code><![CDATA[$share->getId()]]></code>
  2467. <code><![CDATA[(int)$data['id']]]></code>
  2468. </InvalidArgument>
  2469. <TooManyArguments>
  2470. <code><![CDATA[set]]></code>
  2471. </TooManyArguments>
  2472. <UndefinedInterfaceMethod>
  2473. <code><![CDATA[getParent]]></code>
  2474. </UndefinedInterfaceMethod>
  2475. </file>
  2476. <file src="lib/private/Share20/Manager.php">
  2477. <InvalidArgument>
  2478. <code><![CDATA[$id]]></code>
  2479. </InvalidArgument>
  2480. <TooManyArguments>
  2481. <code><![CDATA[update]]></code>
  2482. </TooManyArguments>
  2483. <UndefinedClass>
  2484. <code><![CDATA[\OCA\Circles\Api\v1\Circles]]></code>
  2485. </UndefinedClass>
  2486. <UndefinedInterfaceMethod>
  2487. <code><![CDATA[getChildren]]></code>
  2488. </UndefinedInterfaceMethod>
  2489. </file>
  2490. <file src="lib/private/Share20/ProviderFactory.php">
  2491. <InvalidNullableReturnType>
  2492. <code><![CDATA[FederatedShareProvider]]></code>
  2493. <code><![CDATA[ShareByMailProvider]]></code>
  2494. </InvalidNullableReturnType>
  2495. <InvalidReturnStatement>
  2496. <code><![CDATA[$provider]]></code>
  2497. <code><![CDATA[$provider]]></code>
  2498. <code><![CDATA[$this->shareByCircleProvider]]></code>
  2499. </InvalidReturnStatement>
  2500. <InvalidReturnType>
  2501. <code><![CDATA[getProviderForType]]></code>
  2502. </InvalidReturnType>
  2503. <NullableReturnStatement>
  2504. <code><![CDATA[null]]></code>
  2505. <code><![CDATA[null]]></code>
  2506. <code><![CDATA[null]]></code>
  2507. <code><![CDATA[null]]></code>
  2508. <code><![CDATA[null]]></code>
  2509. <code><![CDATA[null]]></code>
  2510. </NullableReturnStatement>
  2511. <ParamNameMismatch>
  2512. <code><![CDATA[$shareProviderClass]]></code>
  2513. </ParamNameMismatch>
  2514. <UndefinedClass>
  2515. <code><![CDATA[\OCA\Circles\ShareByCircleProvider]]></code>
  2516. </UndefinedClass>
  2517. <UndefinedDocblockClass>
  2518. <code><![CDATA[RoomShareProvider]]></code>
  2519. <code><![CDATA[\OCA\Circles\ShareByCircleProvider]]></code>
  2520. <code><![CDATA[\OCA\Talk\Share\RoomShareProvider]]></code>
  2521. <code><![CDATA[private $roomShareProvider = null;]]></code>
  2522. <code><![CDATA[private $shareByCircleProvider = null;]]></code>
  2523. </UndefinedDocblockClass>
  2524. </file>
  2525. <file src="lib/private/Share20/Share.php">
  2526. <LessSpecificReturnStatement>
  2527. <code><![CDATA[$this->node]]></code>
  2528. </LessSpecificReturnStatement>
  2529. <MoreSpecificReturnType>
  2530. <code><![CDATA[getNode]]></code>
  2531. </MoreSpecificReturnType>
  2532. </file>
  2533. <file src="lib/private/Streamer.php">
  2534. <UndefinedInterfaceMethod>
  2535. <code><![CDATA[get]]></code>
  2536. </UndefinedInterfaceMethod>
  2537. </file>
  2538. <file src="lib/private/SubAdmin.php">
  2539. <UndefinedInterfaceMethod>
  2540. <code><![CDATA[listen]]></code>
  2541. <code><![CDATA[listen]]></code>
  2542. </UndefinedInterfaceMethod>
  2543. </file>
  2544. <file src="lib/private/Support/Subscription/Registry.php">
  2545. <UndefinedInterfaceMethod>
  2546. <code><![CDATA[getSupportedApps]]></code>
  2547. </UndefinedInterfaceMethod>
  2548. </file>
  2549. <file src="lib/private/TagManager.php">
  2550. <InvalidNullableReturnType>
  2551. <code><![CDATA[\OCP\ITags]]></code>
  2552. </InvalidNullableReturnType>
  2553. <NullableReturnStatement>
  2554. <code><![CDATA[null]]></code>
  2555. </NullableReturnStatement>
  2556. </file>
  2557. <file src="lib/private/Tags.php">
  2558. <InvalidScalarArgument>
  2559. <code><![CDATA[$from]]></code>
  2560. <code><![CDATA[$names]]></code>
  2561. </InvalidScalarArgument>
  2562. <MoreSpecificImplementedParamType>
  2563. <code><![CDATA[$tag]]></code>
  2564. </MoreSpecificImplementedParamType>
  2565. </file>
  2566. <file src="lib/private/TempManager.php">
  2567. <FalsableReturnStatement>
  2568. <code><![CDATA[false]]></code>
  2569. <code><![CDATA[false]]></code>
  2570. </FalsableReturnStatement>
  2571. </file>
  2572. <file src="lib/private/Template/CSSResourceLocator.php">
  2573. <ParamNameMismatch>
  2574. <code><![CDATA[$style]]></code>
  2575. <code><![CDATA[$style]]></code>
  2576. </ParamNameMismatch>
  2577. </file>
  2578. <file src="lib/private/Template/JSConfigHelper.php">
  2579. <NullArgument>
  2580. <code><![CDATA[null]]></code>
  2581. <code><![CDATA[null]]></code>
  2582. </NullArgument>
  2583. </file>
  2584. <file src="lib/private/Template/JSResourceLocator.php">
  2585. <InvalidArgument>
  2586. <code><![CDATA[false]]></code>
  2587. </InvalidArgument>
  2588. <ParamNameMismatch>
  2589. <code><![CDATA[$script]]></code>
  2590. <code><![CDATA[$script]]></code>
  2591. </ParamNameMismatch>
  2592. </file>
  2593. <file src="lib/private/TemplateLayout.php">
  2594. <InvalidParamDefault>
  2595. <code><![CDATA[string]]></code>
  2596. <code><![CDATA[string]]></code>
  2597. </InvalidParamDefault>
  2598. <InvalidScalarArgument>
  2599. <code><![CDATA[$appId]]></code>
  2600. </InvalidScalarArgument>
  2601. </file>
  2602. <file src="lib/private/URLGenerator.php">
  2603. <InvalidReturnStatement>
  2604. <code><![CDATA[$path]]></code>
  2605. </InvalidReturnStatement>
  2606. </file>
  2607. <file src="lib/private/User/Database.php">
  2608. <FalsableReturnStatement>
  2609. <code><![CDATA[false]]></code>
  2610. </FalsableReturnStatement>
  2611. </file>
  2612. <file src="lib/private/User/Manager.php">
  2613. <ImplementedReturnTypeMismatch>
  2614. <code><![CDATA[IUser|false]]></code>
  2615. </ImplementedReturnTypeMismatch>
  2616. <InvalidArgument>
  2617. <code><![CDATA[$backend]]></code>
  2618. </InvalidArgument>
  2619. <UndefinedInterfaceMethod>
  2620. <code><![CDATA[createUser]]></code>
  2621. <code><![CDATA[getUsersForUserValueCaseInsensitive]]></code>
  2622. </UndefinedInterfaceMethod>
  2623. </file>
  2624. <file src="lib/private/User/Session.php">
  2625. <ImplementedReturnTypeMismatch>
  2626. <code><![CDATA[boolean|null]]></code>
  2627. </ImplementedReturnTypeMismatch>
  2628. <NoInterfaceProperties>
  2629. <code><![CDATA[$request->server]]></code>
  2630. <code><![CDATA[$request->server]]></code>
  2631. </NoInterfaceProperties>
  2632. <RedundantCondition>
  2633. <code><![CDATA[$this->manager instanceof PublicEmitter]]></code>
  2634. </RedundantCondition>
  2635. </file>
  2636. <file src="lib/private/User/User.php">
  2637. <UndefinedInterfaceMethod>
  2638. <code><![CDATA[emit]]></code>
  2639. <code><![CDATA[emit]]></code>
  2640. <code><![CDATA[emit]]></code>
  2641. <code><![CDATA[emit]]></code>
  2642. <code><![CDATA[emit]]></code>
  2643. </UndefinedInterfaceMethod>
  2644. </file>
  2645. <file src="lib/private/legacy/OC_App.php">
  2646. <InvalidArgument>
  2647. <code><![CDATA[$groupsList]]></code>
  2648. </InvalidArgument>
  2649. <NullArgument>
  2650. <code><![CDATA[null]]></code>
  2651. </NullArgument>
  2652. </file>
  2653. <file src="lib/private/legacy/OC_Helper.php">
  2654. <InvalidArrayOffset>
  2655. <code><![CDATA[$matches[0][$last_match]]]></code>
  2656. <code><![CDATA[$matches[1][$last_match]]]></code>
  2657. </InvalidArrayOffset>
  2658. <InvalidScalarArgument>
  2659. <code><![CDATA[$path]]></code>
  2660. </InvalidScalarArgument>
  2661. <UndefinedInterfaceMethod>
  2662. <code><![CDATA[getQuota]]></code>
  2663. </UndefinedInterfaceMethod>
  2664. </file>
  2665. <file src="lib/private/legacy/OC_Template.php">
  2666. <InvalidReturnType>
  2667. <code><![CDATA[bool|string]]></code>
  2668. </InvalidReturnType>
  2669. </file>
  2670. <file src="lib/private/legacy/OC_User.php">
  2671. <UndefinedClass>
  2672. <code><![CDATA[\Test\Util\User\Dummy]]></code>
  2673. </UndefinedClass>
  2674. </file>
  2675. <file src="lib/private/legacy/OC_Util.php">
  2676. <InvalidReturnType>
  2677. <code><![CDATA[void]]></code>
  2678. </InvalidReturnType>
  2679. </file>
  2680. <file src="lib/public/AppFramework/ApiController.php">
  2681. <NoInterfaceProperties>
  2682. <code><![CDATA[$this->request->server]]></code>
  2683. </NoInterfaceProperties>
  2684. </file>
  2685. <file src="lib/public/AppFramework/App.php">
  2686. <InternalMethod>
  2687. <code><![CDATA[new RouteConfig($this->container, $router, $routes)]]></code>
  2688. </InternalMethod>
  2689. </file>
  2690. <file src="lib/public/AppFramework/Http/Response.php">
  2691. <LessSpecificReturnStatement>
  2692. <code><![CDATA[array_merge($mergeWith, $this->headers)]]></code>
  2693. </LessSpecificReturnStatement>
  2694. <MoreSpecificReturnType>
  2695. <code><![CDATA[array{X-Request-Id: string, Cache-Control: string, Content-Security-Policy: string, Feature-Policy: string, X-Robots-Tag: string, Last-Modified?: string, ETag?: string, ...H}]]></code>
  2696. </MoreSpecificReturnType>
  2697. </file>
  2698. <file src="lib/public/Color.php">
  2699. <LessSpecificReturnStatement>
  2700. <code><![CDATA[$step]]></code>
  2701. </LessSpecificReturnStatement>
  2702. <MoreSpecificReturnType>
  2703. <code><![CDATA[array{0: int, 1: int, 2: int}]]></code>
  2704. </MoreSpecificReturnType>
  2705. </file>
  2706. <file src="lib/public/Diagnostics/IQueryLogger.php">
  2707. <LessSpecificImplementedReturnType>
  2708. <code><![CDATA[mixed]]></code>
  2709. </LessSpecificImplementedReturnType>
  2710. </file>
  2711. <file src="lib/public/EventDispatcher/GenericEvent.php">
  2712. <MissingTemplateParam>
  2713. <code><![CDATA[ArrayAccess]]></code>
  2714. <code><![CDATA[IteratorAggregate]]></code>
  2715. </MissingTemplateParam>
  2716. </file>
  2717. <file src="lib/public/Files.php">
  2718. <FalsableReturnStatement>
  2719. <code><![CDATA[\OC_App::getStorage($app)]]></code>
  2720. </FalsableReturnStatement>
  2721. </file>
  2722. <file src="lib/public/L10N/ILanguageIterator.php">
  2723. <MissingTemplateParam>
  2724. <code><![CDATA[\Iterator]]></code>
  2725. </MissingTemplateParam>
  2726. </file>
  2727. <file src="lib/public/Preview/BeforePreviewFetchedEvent.php">
  2728. <LessSpecificReturnStatement>
  2729. <code><![CDATA[$this->mode]]></code>
  2730. </LessSpecificReturnStatement>
  2731. <MoreSpecificReturnType>
  2732. <code><![CDATA[null|IPreview::MODE_FILL|IPreview::MODE_COVER]]></code>
  2733. </MoreSpecificReturnType>
  2734. </file>
  2735. </files>