psalm-baseline.xml 106 KB

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