psalm-baseline.xml 100 KB

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