1
0

psalm-baseline.xml 105 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013
  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/RequestRemoteAddress.php">
  1236. <InvalidArgument>
  1237. <code><![CDATA[$decodedValue[1]]]></code>
  1238. <code><![CDATA[$decodedValue[1]]]></code>
  1239. <code><![CDATA[$decodedValue[1]]]></code>
  1240. <code><![CDATA[$decodedValue[1]]]></code>
  1241. </InvalidArgument>
  1242. </file>
  1243. <file src="apps/workflowengine/lib/Check/RequestTime.php">
  1244. <InvalidScalarArgument>
  1245. <code><![CDATA[$hour1]]></code>
  1246. <code><![CDATA[$minute1]]></code>
  1247. </InvalidScalarArgument>
  1248. </file>
  1249. <file src="apps/workflowengine/lib/Check/TFileCheck.php">
  1250. <InvalidArgument>
  1251. <code><![CDATA[['app' => Application::APP_ID, 'class' => get_class($subject)]]]></code>
  1252. </InvalidArgument>
  1253. </file>
  1254. <file src="apps/workflowengine/lib/Entity/File.php">
  1255. <InvalidReturnType>
  1256. <code><![CDATA[string]]></code>
  1257. </InvalidReturnType>
  1258. </file>
  1259. <file src="apps/workflowengine/lib/Manager.php">
  1260. <InvalidArgument>
  1261. <code><![CDATA[$missingCheck]]></code>
  1262. </InvalidArgument>
  1263. <InvalidOperand>
  1264. <code><![CDATA[$result]]></code>
  1265. </InvalidOperand>
  1266. <InvalidReturnStatement>
  1267. <code><![CDATA[$result]]></code>
  1268. </InvalidReturnStatement>
  1269. <InvalidReturnType>
  1270. <code><![CDATA[bool]]></code>
  1271. </InvalidReturnType>
  1272. </file>
  1273. <file src="apps/workflowengine/lib/Service/RuleMatcher.php">
  1274. <UndefinedInterfaceMethod>
  1275. <code><![CDATA[getAllConfiguredScopesForOperation]]></code>
  1276. <code><![CDATA[getChecks]]></code>
  1277. <code><![CDATA[getOperations]]></code>
  1278. <code><![CDATA[getOperations]]></code>
  1279. <code><![CDATA[isUserScopeEnabled]]></code>
  1280. </UndefinedInterfaceMethod>
  1281. </file>
  1282. <file src="core/BackgroundJobs/CheckForUserCertificates.php">
  1283. <ParamNameMismatch>
  1284. <code><![CDATA[$arguments]]></code>
  1285. </ParamNameMismatch>
  1286. </file>
  1287. <file src="core/Command/App/ListApps.php">
  1288. <LessSpecificImplementedReturnType>
  1289. <code><![CDATA[array]]></code>
  1290. </LessSpecificImplementedReturnType>
  1291. </file>
  1292. <file src="core/Command/Config/Import.php">
  1293. <InvalidScalarArgument>
  1294. <code><![CDATA[0]]></code>
  1295. <code><![CDATA[1]]></code>
  1296. </InvalidScalarArgument>
  1297. </file>
  1298. <file src="core/Command/Config/ListConfigs.php">
  1299. <FalsableReturnStatement>
  1300. <code><![CDATA[$this->appConfig->getValues($app, false)]]></code>
  1301. </FalsableReturnStatement>
  1302. <TooManyArguments>
  1303. <code><![CDATA[getFilteredValues]]></code>
  1304. </TooManyArguments>
  1305. </file>
  1306. <file src="core/Command/Db/ConvertType.php">
  1307. <InvalidScalarArgument>
  1308. <code><![CDATA[0]]></code>
  1309. <code><![CDATA[1]]></code>
  1310. </InvalidScalarArgument>
  1311. </file>
  1312. <file src="core/Command/Encryption/Enable.php">
  1313. <NullArgument>
  1314. <code><![CDATA[null]]></code>
  1315. </NullArgument>
  1316. </file>
  1317. <file src="core/Command/Log/File.php">
  1318. <InvalidReturnStatement>
  1319. <code><![CDATA[[0]]]></code>
  1320. </InvalidReturnStatement>
  1321. <InvalidReturnType>
  1322. <code><![CDATA[string[]]]></code>
  1323. </InvalidReturnType>
  1324. </file>
  1325. <file src="core/Command/Log/Manage.php">
  1326. <InvalidArgument>
  1327. <code><![CDATA[$levelNum]]></code>
  1328. </InvalidArgument>
  1329. </file>
  1330. <file src="core/Command/Maintenance/DataFingerprint.php">
  1331. <InvalidScalarArgument>
  1332. <code><![CDATA[$this->timeFactory->getTime()]]></code>
  1333. </InvalidScalarArgument>
  1334. </file>
  1335. <file src="core/Command/Maintenance/Mimetype/UpdateDB.php">
  1336. <UndefinedInterfaceMethod>
  1337. <code><![CDATA[getAllMappings]]></code>
  1338. <code><![CDATA[updateFilecache]]></code>
  1339. </UndefinedInterfaceMethod>
  1340. </file>
  1341. <file src="core/Command/Preview/Repair.php">
  1342. <UndefinedInterfaceMethod>
  1343. <code><![CDATA[section]]></code>
  1344. <code><![CDATA[section]]></code>
  1345. </UndefinedInterfaceMethod>
  1346. </file>
  1347. <file src="core/Command/Preview/ResetRenderedTexts.php">
  1348. <InvalidReturnStatement>
  1349. <code><![CDATA[[]]]></code>
  1350. </InvalidReturnStatement>
  1351. </file>
  1352. <file src="core/Controller/ClientFlowLoginV2Controller.php">
  1353. <TypeDoesNotContainType>
  1354. <code><![CDATA[!is_string($stateToken)]]></code>
  1355. </TypeDoesNotContainType>
  1356. </file>
  1357. <file src="core/Controller/CollaborationResourcesController.php">
  1358. <UndefinedInterfaceMethod>
  1359. <code><![CDATA[searchCollections]]></code>
  1360. </UndefinedInterfaceMethod>
  1361. </file>
  1362. <file src="core/Controller/LostController.php">
  1363. <RedundantCast>
  1364. <code><![CDATA[(int)$e->getCode()]]></code>
  1365. </RedundantCast>
  1366. </file>
  1367. <file src="core/Controller/UnifiedSearchController.php">
  1368. <UndefinedInterfaceMethod>
  1369. <code><![CDATA[findMatchingRoute]]></code>
  1370. </UndefinedInterfaceMethod>
  1371. </file>
  1372. <file src="core/Middleware/TwoFactorMiddleware.php">
  1373. <NoInterfaceProperties>
  1374. <code><![CDATA[$this->request->server]]></code>
  1375. </NoInterfaceProperties>
  1376. </file>
  1377. <file src="core/routes.php">
  1378. <InvalidScope>
  1379. <code><![CDATA[$this]]></code>
  1380. <code><![CDATA[$this->create('core_ajax_update', '/core/ajax/update.php')]]></code>
  1381. </InvalidScope>
  1382. </file>
  1383. <file src="core/templates/layout.public.php">
  1384. <UndefinedInterfaceMethod>
  1385. <code><![CDATA[getIcon]]></code>
  1386. </UndefinedInterfaceMethod>
  1387. </file>
  1388. <file src="lib/autoloader.php">
  1389. <RedundantCondition>
  1390. <code><![CDATA[$this->memoryCache]]></code>
  1391. </RedundantCondition>
  1392. </file>
  1393. <file src="lib/base.php">
  1394. <InvalidArgument>
  1395. <code><![CDATA[$restrictions]]></code>
  1396. </InvalidArgument>
  1397. </file>
  1398. <file src="lib/private/Activity/Manager.php">
  1399. <InvalidPropertyAssignmentValue>
  1400. <code><![CDATA[$this->filterClasses]]></code>
  1401. <code><![CDATA[$this->providerClasses]]></code>
  1402. <code><![CDATA[$this->settingsClasses]]></code>
  1403. </InvalidPropertyAssignmentValue>
  1404. <LessSpecificReturnStatement>
  1405. <code><![CDATA[$this->settings]]></code>
  1406. </LessSpecificReturnStatement>
  1407. <MoreSpecificReturnType>
  1408. <code><![CDATA[ActivitySettings[]]]></code>
  1409. </MoreSpecificReturnType>
  1410. </file>
  1411. <file src="lib/private/AllConfig.php">
  1412. <MoreSpecificImplementedParamType>
  1413. <code><![CDATA[$key]]></code>
  1414. </MoreSpecificImplementedParamType>
  1415. <TypeDoesNotContainType>
  1416. <code><![CDATA[!is_array($userIds)]]></code>
  1417. </TypeDoesNotContainType>
  1418. </file>
  1419. <file src="lib/private/App/AppManager.php">
  1420. <LessSpecificImplementedReturnType>
  1421. <code><![CDATA[array]]></code>
  1422. <code><![CDATA[array]]></code>
  1423. </LessSpecificImplementedReturnType>
  1424. </file>
  1425. <file src="lib/private/App/AppStore/Fetcher/Fetcher.php">
  1426. <TooManyArguments>
  1427. <code><![CDATA[fetch]]></code>
  1428. </TooManyArguments>
  1429. </file>
  1430. <file src="lib/private/App/DependencyAnalyzer.php">
  1431. <InvalidNullableReturnType>
  1432. <code><![CDATA[bool]]></code>
  1433. </InvalidNullableReturnType>
  1434. <NullableReturnStatement>
  1435. <code><![CDATA[version_compare($first, $second, $operator)]]></code>
  1436. </NullableReturnStatement>
  1437. </file>
  1438. <file src="lib/private/App/InfoParser.php">
  1439. <InvalidArrayOffset>
  1440. <code><![CDATA[$array[$element][]]]></code>
  1441. <code><![CDATA[$array[$element][]]]></code>
  1442. </InvalidArrayOffset>
  1443. <InvalidReturnStatement>
  1444. <code><![CDATA[(string)$xml]]></code>
  1445. </InvalidReturnStatement>
  1446. <InvalidReturnType>
  1447. <code><![CDATA[array]]></code>
  1448. </InvalidReturnType>
  1449. </file>
  1450. <file src="lib/private/AppConfig.php">
  1451. <NullableReturnStatement>
  1452. <code><![CDATA[$this->fastCache[$app][$key] ?? $default]]></code>
  1453. </NullableReturnStatement>
  1454. </file>
  1455. <file src="lib/private/AppFramework/Bootstrap/Coordinator.php">
  1456. <InvalidPropertyAssignmentValue>
  1457. <code><![CDATA[$this->bootedApps]]></code>
  1458. </InvalidPropertyAssignmentValue>
  1459. </file>
  1460. <file src="lib/private/AppFramework/Bootstrap/FunctionInjector.php">
  1461. <UndefinedMethod>
  1462. <code><![CDATA[getName]]></code>
  1463. </UndefinedMethod>
  1464. </file>
  1465. <file src="lib/private/AppFramework/DependencyInjection/DIContainer.php">
  1466. <ImplementedReturnTypeMismatch>
  1467. <code><![CDATA[boolean|null]]></code>
  1468. </ImplementedReturnTypeMismatch>
  1469. <InvalidReturnStatement>
  1470. <code><![CDATA[$this->server]]></code>
  1471. </InvalidReturnStatement>
  1472. <InvalidReturnType>
  1473. <code><![CDATA[\OCP\IServerContainer]]></code>
  1474. </InvalidReturnType>
  1475. <UndefinedInterfaceMethod>
  1476. <code><![CDATA[getAppDataDir]]></code>
  1477. </UndefinedInterfaceMethod>
  1478. </file>
  1479. <file src="lib/private/AppFramework/Http/Dispatcher.php">
  1480. <NoInterfaceProperties>
  1481. <code><![CDATA[$this->request->method]]></code>
  1482. </NoInterfaceProperties>
  1483. <NullArgument>
  1484. <code><![CDATA[null]]></code>
  1485. </NullArgument>
  1486. </file>
  1487. <file src="lib/private/AppFramework/Http/Output.php">
  1488. <InvalidReturnStatement>
  1489. <code><![CDATA[@readfile($path)]]></code>
  1490. <code><![CDATA[http_response_code()]]></code>
  1491. </InvalidReturnStatement>
  1492. <InvalidReturnType>
  1493. <code><![CDATA[bool]]></code>
  1494. <code><![CDATA[int]]></code>
  1495. </InvalidReturnType>
  1496. </file>
  1497. <file src="lib/private/AppFramework/Http/Request.php">
  1498. <NullableReturnStatement>
  1499. <code><![CDATA[$this->getOverwriteHost()]]></code>
  1500. <code><![CDATA[isset($this->cookies[$key]) ? $this->cookies[$key] : null]]></code>
  1501. <code><![CDATA[isset($this->env[$key]) ? $this->env[$key] : null]]></code>
  1502. <code><![CDATA[isset($this->files[$key]) ? $this->files[$key] : null]]></code>
  1503. </NullableReturnStatement>
  1504. <RedundantCondition>
  1505. <code><![CDATA[\is_array($params)]]></code>
  1506. </RedundantCondition>
  1507. <UndefinedFunction>
  1508. <code><![CDATA[\Sabre\HTTP\decodePath($pathInfo)]]></code>
  1509. </UndefinedFunction>
  1510. </file>
  1511. <file src="lib/private/AppFramework/Logger.php">
  1512. <InvalidReturnType>
  1513. <code><![CDATA[log]]></code>
  1514. </InvalidReturnType>
  1515. </file>
  1516. <file src="lib/private/AppFramework/Middleware/OCSMiddleware.php">
  1517. <InternalMethod>
  1518. <code><![CDATA[setOCSVersion]]></code>
  1519. </InternalMethod>
  1520. </file>
  1521. <file src="lib/private/AppFramework/Middleware/Security/CORSMiddleware.php">
  1522. <NoInterfaceProperties>
  1523. <code><![CDATA[$this->request->server]]></code>
  1524. <code><![CDATA[$this->request->server]]></code>
  1525. </NoInterfaceProperties>
  1526. </file>
  1527. <file src="lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php">
  1528. <NoInterfaceProperties>
  1529. <code><![CDATA[$this->request->server]]></code>
  1530. </NoInterfaceProperties>
  1531. <UndefinedClass>
  1532. <code><![CDATA[\OCA\Talk\Controller\PageController]]></code>
  1533. </UndefinedClass>
  1534. </file>
  1535. <file src="lib/private/AppFramework/Routing/RouteConfig.php">
  1536. <InvalidArrayOffset>
  1537. <code><![CDATA[$action['url-postfix']]]></code>
  1538. </InvalidArrayOffset>
  1539. </file>
  1540. <file src="lib/private/AppFramework/Services/AppConfig.php">
  1541. <MoreSpecificImplementedParamType>
  1542. <code><![CDATA[$default]]></code>
  1543. </MoreSpecificImplementedParamType>
  1544. </file>
  1545. <file src="lib/private/AppFramework/Utility/SimpleContainer.php">
  1546. <LessSpecificReturnStatement>
  1547. <code><![CDATA[$class->newInstance()]]></code>
  1548. <code><![CDATA[$class->newInstanceArgs(array_map(function (ReflectionParameter $parameter) {
  1549. $parameterType = $parameter->getType();
  1550. $resolveName = $parameter->getName();
  1551. // try to find out if it is a class or a simple parameter
  1552. if ($parameterType !== null && ($parameterType instanceof ReflectionNamedType) && !$parameterType->isBuiltin()) {
  1553. $resolveName = $parameterType->getName();
  1554. }
  1555. try {
  1556. $builtIn = $parameter->hasType() && ($parameter->getType() instanceof ReflectionNamedType)
  1557. && $parameter->getType()->isBuiltin();
  1558. return $this->query($resolveName, !$builtIn);
  1559. } catch (QueryException $e) {
  1560. // Service not found, use the default value when available
  1561. if ($parameter->isDefaultValueAvailable()) {
  1562. return $parameter->getDefaultValue();
  1563. }
  1564. if ($parameterType !== null && ($parameterType instanceof ReflectionNamedType) && !$parameterType->isBuiltin()) {
  1565. $resolveName = $parameter->getName();
  1566. try {
  1567. return $this->query($resolveName);
  1568. } catch (QueryException $e2) {
  1569. // Pass null if typed and nullable
  1570. if ($parameter->allowsNull() && ($parameterType instanceof ReflectionNamedType)) {
  1571. return null;
  1572. }
  1573. // don't lose the error we got while trying to query by type
  1574. throw new QueryException($e->getMessage(), (int) $e->getCode(), $e);
  1575. }
  1576. }
  1577. throw $e;
  1578. }
  1579. }, $constructor->getParameters()))]]></code>
  1580. </LessSpecificReturnStatement>
  1581. <MissingTemplateParam>
  1582. <code><![CDATA[ArrayAccess]]></code>
  1583. </MissingTemplateParam>
  1584. <MoreSpecificReturnType>
  1585. <code><![CDATA[\stdClass]]></code>
  1586. </MoreSpecificReturnType>
  1587. <RedundantCast>
  1588. <code><![CDATA[(int) $e->getCode()]]></code>
  1589. </RedundantCast>
  1590. </file>
  1591. <file src="lib/private/Archive/TAR.php">
  1592. <UndefinedDocblockClass>
  1593. <code><![CDATA[$this->tar->extractInString($path)]]></code>
  1594. </UndefinedDocblockClass>
  1595. </file>
  1596. <file src="lib/private/Authentication/LoginCredentials/Store.php">
  1597. <RedundantCondition>
  1598. <code><![CDATA[$trySession]]></code>
  1599. </RedundantCondition>
  1600. </file>
  1601. <file src="lib/private/Authentication/Token/PublicKeyToken.php">
  1602. <UndefinedMagicMethod>
  1603. <code><![CDATA[getExpires]]></code>
  1604. <code><![CDATA[getLastCheck]]></code>
  1605. <code><![CDATA[getLoginName]]></code>
  1606. <code><![CDATA[getName]]></code>
  1607. <code><![CDATA[getPassword]]></code>
  1608. <code><![CDATA[getRemember]]></code>
  1609. <code><![CDATA[getScope]]></code>
  1610. <code><![CDATA[setExpires]]></code>
  1611. <code><![CDATA[setLastCheck]]></code>
  1612. <code><![CDATA[setName]]></code>
  1613. <code><![CDATA[setPassword]]></code>
  1614. <code><![CDATA[setPasswordInvalid]]></code>
  1615. <code><![CDATA[setScope]]></code>
  1616. <code><![CDATA[setScope]]></code>
  1617. <code><![CDATA[setToken]]></code>
  1618. <code><![CDATA[setType]]></code>
  1619. </UndefinedMagicMethod>
  1620. </file>
  1621. <file src="lib/private/Authentication/TwoFactorAuth/ProviderSet.php">
  1622. <InvalidArgument>
  1623. <code><![CDATA[$this->providers]]></code>
  1624. </InvalidArgument>
  1625. <InvalidPropertyAssignmentValue>
  1626. <code><![CDATA[$this->providers]]></code>
  1627. <code><![CDATA[[]]]></code>
  1628. </InvalidPropertyAssignmentValue>
  1629. <InvalidReturnStatement>
  1630. <code><![CDATA[$this->providers]]></code>
  1631. </InvalidReturnStatement>
  1632. <InvalidReturnType>
  1633. <code><![CDATA[IProvider[]]]></code>
  1634. </InvalidReturnType>
  1635. <UndefinedInterfaceMethod>
  1636. <code><![CDATA[$this->providers]]></code>
  1637. </UndefinedInterfaceMethod>
  1638. </file>
  1639. <file src="lib/private/Cache/CappedMemoryCache.php">
  1640. <MissingTemplateParam>
  1641. <code><![CDATA[\ArrayAccess]]></code>
  1642. </MissingTemplateParam>
  1643. </file>
  1644. <file src="lib/private/Cache/File.php">
  1645. <LessSpecificImplementedReturnType>
  1646. <code><![CDATA[bool|mixed]]></code>
  1647. <code><![CDATA[bool|mixed]]></code>
  1648. </LessSpecificImplementedReturnType>
  1649. </file>
  1650. <file src="lib/private/Calendar/Manager.php">
  1651. <LessSpecificReturnStatement>
  1652. <code><![CDATA[array_merge(
  1653. ...array_map(function ($registration) use ($principalUri, $calendarUris) {
  1654. try {
  1655. /** @var ICalendarProvider $provider */
  1656. $provider = $this->container->get($registration->getService());
  1657. } catch (Throwable $e) {
  1658. $this->logger->error('Could not load calendar provider ' . $registration->getService() . ': ' . $e->getMessage(), [
  1659. 'exception' => $e,
  1660. ]);
  1661. return [];
  1662. }
  1663. return $provider->getCalendars($principalUri, $calendarUris);
  1664. }, $context->getCalendarProviders())
  1665. )]]></code>
  1666. </LessSpecificReturnStatement>
  1667. <MoreSpecificReturnType>
  1668. <code><![CDATA[ICreateFromString[]]]></code>
  1669. </MoreSpecificReturnType>
  1670. <NamedArgumentNotAllowed>
  1671. <code><![CDATA[array_map(function ($registration) use ($principalUri, $calendarUris) {
  1672. try {
  1673. /** @var ICalendarProvider $provider */
  1674. $provider = $this->container->get($registration->getService());
  1675. } catch (Throwable $e) {
  1676. $this->logger->error('Could not load calendar provider ' . $registration->getService() . ': ' . $e->getMessage(), [
  1677. 'exception' => $e,
  1678. ]);
  1679. return [];
  1680. }
  1681. return $provider->getCalendars($principalUri, $calendarUris);
  1682. }, $context->getCalendarProviders())]]></code>
  1683. </NamedArgumentNotAllowed>
  1684. </file>
  1685. <file src="lib/private/Command/CallableJob.php">
  1686. <ParamNameMismatch>
  1687. <code><![CDATA[$serializedCallable]]></code>
  1688. </ParamNameMismatch>
  1689. </file>
  1690. <file src="lib/private/Command/ClosureJob.php">
  1691. <InvalidArgument>
  1692. <code><![CDATA[[LaravelClosure::class]]]></code>
  1693. </InvalidArgument>
  1694. </file>
  1695. <file src="lib/private/Comments/Manager.php">
  1696. <RedundantCast>
  1697. <code><![CDATA[(string)$id]]></code>
  1698. </RedundantCast>
  1699. </file>
  1700. <file src="lib/private/Config.php">
  1701. <InvalidOperand>
  1702. <code><![CDATA[$this->delete($key)]]></code>
  1703. <code><![CDATA[$this->set($key, $value)]]></code>
  1704. </InvalidOperand>
  1705. <UndefinedVariable>
  1706. <code><![CDATA[$CONFIG]]></code>
  1707. <code><![CDATA[$CONFIG]]></code>
  1708. </UndefinedVariable>
  1709. </file>
  1710. <file src="lib/private/Console/Application.php">
  1711. <NoInterfaceProperties>
  1712. <code><![CDATA[$this->request->server]]></code>
  1713. </NoInterfaceProperties>
  1714. </file>
  1715. <file src="lib/private/ContactsManager.php">
  1716. <InvalidArgument>
  1717. <code><![CDATA[$searchOptions]]></code>
  1718. </InvalidArgument>
  1719. </file>
  1720. <file src="lib/private/DB/AdapterMySQL.php">
  1721. <InternalMethod>
  1722. <code><![CDATA[getParams]]></code>
  1723. </InternalMethod>
  1724. <InvalidArrayOffset>
  1725. <code><![CDATA[$params['collation']]]></code>
  1726. </InvalidArrayOffset>
  1727. </file>
  1728. <file src="lib/private/DB/Connection.php">
  1729. <InternalMethod>
  1730. <code><![CDATA[getParams]]></code>
  1731. </InternalMethod>
  1732. <InvalidArgument>
  1733. <code><![CDATA[$params]]></code>
  1734. </InvalidArgument>
  1735. <InvalidArrayOffset>
  1736. <code><![CDATA[$params['adapter']]]></code>
  1737. <code><![CDATA[$params['tablePrefix']]]></code>
  1738. </InvalidArrayOffset>
  1739. </file>
  1740. <file src="lib/private/DB/Exceptions/DbalException.php">
  1741. <RedundantCondition>
  1742. <code><![CDATA[is_int($original->getCode())]]></code>
  1743. </RedundantCondition>
  1744. <TypeDoesNotContainType>
  1745. <code><![CDATA[0]]></code>
  1746. </TypeDoesNotContainType>
  1747. </file>
  1748. <file src="lib/private/DB/MigrationService.php">
  1749. <LessSpecificReturnStatement>
  1750. <code><![CDATA[$s]]></code>
  1751. </LessSpecificReturnStatement>
  1752. <MoreSpecificReturnType>
  1753. <code><![CDATA[IMigrationStep]]></code>
  1754. </MoreSpecificReturnType>
  1755. </file>
  1756. <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php">
  1757. <ImplicitToStringCast>
  1758. <code><![CDATA[$this->functionBuilder->lower($x)]]></code>
  1759. </ImplicitToStringCast>
  1760. <InvalidArgument>
  1761. <code><![CDATA[$y]]></code>
  1762. <code><![CDATA[$y]]></code>
  1763. </InvalidArgument>
  1764. </file>
  1765. <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php">
  1766. <InternalMethod>
  1767. <code><![CDATA[getParams]]></code>
  1768. </InternalMethod>
  1769. <InvalidArrayOffset>
  1770. <code><![CDATA[$params['collation']]]></code>
  1771. </InvalidArrayOffset>
  1772. </file>
  1773. <file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
  1774. <InvalidNullableReturnType>
  1775. <code><![CDATA[string]]></code>
  1776. </InvalidNullableReturnType>
  1777. <NullableReturnStatement>
  1778. <code><![CDATA[$alias]]></code>
  1779. </NullableReturnStatement>
  1780. <ParamNameMismatch>
  1781. <code><![CDATA[$selects]]></code>
  1782. </ParamNameMismatch>
  1783. </file>
  1784. <file src="lib/private/DB/QueryBuilder/QuoteHelper.php">
  1785. <InvalidNullableReturnType>
  1786. <code><![CDATA[string]]></code>
  1787. </InvalidNullableReturnType>
  1788. <NullableReturnStatement>
  1789. <code><![CDATA[$string]]></code>
  1790. </NullableReturnStatement>
  1791. </file>
  1792. <file src="lib/private/DateTimeFormatter.php">
  1793. <FalsableReturnStatement>
  1794. <code><![CDATA[$l->l($type, $timestamp, [
  1795. 'width' => $format,
  1796. ])]]></code>
  1797. </FalsableReturnStatement>
  1798. <InvalidReturnStatement>
  1799. <code><![CDATA[$l->l($type, $timestamp, [
  1800. 'width' => $format,
  1801. ])]]></code>
  1802. </InvalidReturnStatement>
  1803. <InvalidReturnType>
  1804. <code><![CDATA[string]]></code>
  1805. </InvalidReturnType>
  1806. </file>
  1807. <file src="lib/private/DateTimeZone.php">
  1808. <InvalidScalarArgument>
  1809. <code><![CDATA[$timestamp]]></code>
  1810. </InvalidScalarArgument>
  1811. </file>
  1812. <file src="lib/private/Diagnostics/Query.php">
  1813. <ImplementedReturnTypeMismatch>
  1814. <code><![CDATA[float]]></code>
  1815. </ImplementedReturnTypeMismatch>
  1816. </file>
  1817. <file src="lib/private/Diagnostics/QueryLogger.php">
  1818. <InvalidArgument>
  1819. <code><![CDATA[microtime(true)]]></code>
  1820. </InvalidArgument>
  1821. <InvalidReturnType>
  1822. <code><![CDATA[stopQuery]]></code>
  1823. </InvalidReturnType>
  1824. </file>
  1825. <file src="lib/private/DirectEditing/Manager.php">
  1826. <InvalidReturnStatement>
  1827. <code><![CDATA[$query->execute()]]></code>
  1828. </InvalidReturnStatement>
  1829. <InvalidReturnType>
  1830. <code><![CDATA[TemplateResponse]]></code>
  1831. <code><![CDATA[int]]></code>
  1832. </InvalidReturnType>
  1833. <UndefinedMethod>
  1834. <code><![CDATA[$template]]></code>
  1835. <code><![CDATA[$template]]></code>
  1836. <code><![CDATA[$template]]></code>
  1837. <code><![CDATA[$template]]></code>
  1838. </UndefinedMethod>
  1839. </file>
  1840. <file src="lib/private/DirectEditing/Token.php">
  1841. <LessSpecificReturnStatement>
  1842. <code><![CDATA[$this->manager->getFileForToken($this->data['user_id'], $this->data['file_id'], $this->data['file_path'])]]></code>
  1843. </LessSpecificReturnStatement>
  1844. <UndefinedMethod>
  1845. <code><![CDATA[getShareForToken]]></code>
  1846. </UndefinedMethod>
  1847. </file>
  1848. <file src="lib/private/Encryption/Keys/Storage.php">
  1849. <InvalidNullableReturnType>
  1850. <code><![CDATA[deleteUserKey]]></code>
  1851. </InvalidNullableReturnType>
  1852. <NullArgument>
  1853. <code><![CDATA[null]]></code>
  1854. <code><![CDATA[null]]></code>
  1855. <code><![CDATA[null]]></code>
  1856. </NullArgument>
  1857. </file>
  1858. <file src="lib/private/Encryption/Manager.php">
  1859. <ImplementedReturnTypeMismatch>
  1860. <code><![CDATA[bool]]></code>
  1861. </ImplementedReturnTypeMismatch>
  1862. </file>
  1863. <file src="lib/private/Federation/CloudFederationProviderManager.php">
  1864. <ParamNameMismatch>
  1865. <code><![CDATA[$providerId]]></code>
  1866. </ParamNameMismatch>
  1867. </file>
  1868. <file src="lib/private/Files/AppData/AppData.php">
  1869. <LessSpecificReturnStatement>
  1870. <code><![CDATA[$this->folder]]></code>
  1871. </LessSpecificReturnStatement>
  1872. <MoreSpecificReturnType>
  1873. <code><![CDATA[Folder]]></code>
  1874. </MoreSpecificReturnType>
  1875. </file>
  1876. <file src="lib/private/Files/Cache/Cache.php">
  1877. <InvalidArgument>
  1878. <code><![CDATA[$parentData]]></code>
  1879. </InvalidArgument>
  1880. <InvalidNullableReturnType>
  1881. <code><![CDATA[array]]></code>
  1882. </InvalidNullableReturnType>
  1883. <InvalidScalarArgument>
  1884. <code><![CDATA[$path]]></code>
  1885. <code><![CDATA[\OC_Util::normalizeUnicode($path)]]></code>
  1886. </InvalidScalarArgument>
  1887. <NullableReturnStatement>
  1888. <code><![CDATA[null]]></code>
  1889. <code><![CDATA[null]]></code>
  1890. </NullableReturnStatement>
  1891. <ParamNameMismatch>
  1892. <code><![CDATA[$searchQuery]]></code>
  1893. </ParamNameMismatch>
  1894. </file>
  1895. <file src="lib/private/Files/Cache/FailedCache.php">
  1896. <InvalidReturnStatement>
  1897. <code><![CDATA[[]]]></code>
  1898. </InvalidReturnStatement>
  1899. <InvalidReturnType>
  1900. <code><![CDATA[getIncomplete]]></code>
  1901. <code><![CDATA[insert]]></code>
  1902. <code><![CDATA[put]]></code>
  1903. </InvalidReturnType>
  1904. </file>
  1905. <file src="lib/private/Files/Cache/HomeCache.php">
  1906. <FalsableReturnStatement>
  1907. <code><![CDATA[$data]]></code>
  1908. </FalsableReturnStatement>
  1909. <MoreSpecificImplementedParamType>
  1910. <code><![CDATA[$file]]></code>
  1911. <code><![CDATA[$file]]></code>
  1912. </MoreSpecificImplementedParamType>
  1913. </file>
  1914. <file src="lib/private/Files/Cache/Scanner.php">
  1915. <InvalidArgument>
  1916. <code><![CDATA[self::SCAN_RECURSIVE_INCOMPLETE]]></code>
  1917. </InvalidArgument>
  1918. <InvalidReturnStatement>
  1919. <code><![CDATA[$existingChildren]]></code>
  1920. </InvalidReturnStatement>
  1921. <InvalidReturnType>
  1922. <code><![CDATA[array[]]]></code>
  1923. </InvalidReturnType>
  1924. </file>
  1925. <file src="lib/private/Files/Cache/Storage.php">
  1926. <InvalidNullableReturnType>
  1927. <code><![CDATA[array]]></code>
  1928. </InvalidNullableReturnType>
  1929. <NullableReturnStatement>
  1930. <code><![CDATA[self::getGlobalCache()->getStorageInfo($storageId)]]></code>
  1931. </NullableReturnStatement>
  1932. </file>
  1933. <file src="lib/private/Files/Cache/Updater.php">
  1934. <RedundantCondition>
  1935. <code><![CDATA[$this->cache instanceof Cache]]></code>
  1936. </RedundantCondition>
  1937. </file>
  1938. <file src="lib/private/Files/Cache/Wrapper/CacheWrapper.php">
  1939. <LessSpecificImplementedReturnType>
  1940. <code><![CDATA[array]]></code>
  1941. <code><![CDATA[array]]></code>
  1942. </LessSpecificImplementedReturnType>
  1943. <ParamNameMismatch>
  1944. <code><![CDATA[$searchQuery]]></code>
  1945. </ParamNameMismatch>
  1946. </file>
  1947. <file src="lib/private/Files/Config/MountProviderCollection.php">
  1948. <InvalidOperand>
  1949. <code><![CDATA[$user]]></code>
  1950. </InvalidOperand>
  1951. <RedundantCondition>
  1952. <code><![CDATA[get_class($provider) !== 'OCA\Files_Sharing\MountProvider']]></code>
  1953. </RedundantCondition>
  1954. <TypeDoesNotContainType>
  1955. <code><![CDATA[get_class($provider) === 'OCA\Files_Sharing\MountProvider']]></code>
  1956. </TypeDoesNotContainType>
  1957. </file>
  1958. <file src="lib/private/Files/Config/UserMountCache.php">
  1959. <InvalidReturnType>
  1960. <code><![CDATA[remoteStorageMounts]]></code>
  1961. <code><![CDATA[removeUserStorageMount]]></code>
  1962. </InvalidReturnType>
  1963. <LessSpecificImplementedReturnType>
  1964. <code><![CDATA[array]]></code>
  1965. </LessSpecificImplementedReturnType>
  1966. <LessSpecificReturnStatement>
  1967. <code><![CDATA[$this->cacheInfoCache[$fileId]]]></code>
  1968. </LessSpecificReturnStatement>
  1969. <MoreSpecificReturnType>
  1970. <code><![CDATA[array{int, string, int}]]></code>
  1971. </MoreSpecificReturnType>
  1972. </file>
  1973. <file src="lib/private/Files/Filesystem.php">
  1974. <LessSpecificReturnStatement>
  1975. <code><![CDATA[$mount->getStorage()]]></code>
  1976. <code><![CDATA[self::getMountManager()->findByNumericId($id)]]></code>
  1977. <code><![CDATA[self::getMountManager()->findByStorageId($id)]]></code>
  1978. </LessSpecificReturnStatement>
  1979. <MoreSpecificReturnType>
  1980. <code><![CDATA[Mount\MountPoint[]]]></code>
  1981. <code><![CDATA[Mount\MountPoint[]]]></code>
  1982. <code><![CDATA[\OC\Files\Storage\Storage|null]]></code>
  1983. </MoreSpecificReturnType>
  1984. <TooManyArguments>
  1985. <code><![CDATA[addStorageWrapper]]></code>
  1986. </TooManyArguments>
  1987. </file>
  1988. <file src="lib/private/Files/Mount/MountPoint.php">
  1989. <UndefinedInterfaceMethod>
  1990. <code><![CDATA[wrap]]></code>
  1991. </UndefinedInterfaceMethod>
  1992. </file>
  1993. <file src="lib/private/Files/Mount/ObjectHomeMountProvider.php">
  1994. <InvalidNullableReturnType>
  1995. <code><![CDATA[\OCP\Files\Mount\IMountPoint]]></code>
  1996. </InvalidNullableReturnType>
  1997. <NullableReturnStatement>
  1998. <code><![CDATA[null]]></code>
  1999. </NullableReturnStatement>
  2000. </file>
  2001. <file src="lib/private/Files/Node/File.php">
  2002. <InvalidReturnStatement>
  2003. <code><![CDATA[$this->view->hash($type, $this->path, $raw)]]></code>
  2004. </InvalidReturnStatement>
  2005. <InvalidReturnType>
  2006. <code><![CDATA[string]]></code>
  2007. </InvalidReturnType>
  2008. </file>
  2009. <file src="lib/private/Files/Node/Folder.php">
  2010. <LessSpecificReturnStatement>
  2011. <code><![CDATA[$this->root->get($this->getFullPath($path))]]></code>
  2012. <code><![CDATA[array_map(function (FileInfo $file) {
  2013. return $this->createNode($file->getPath(), $file);
  2014. }, $files)]]></code>
  2015. </LessSpecificReturnStatement>
  2016. <MoreSpecificImplementedParamType>
  2017. <code><![CDATA[$node]]></code>
  2018. </MoreSpecificImplementedParamType>
  2019. <MoreSpecificReturnType>
  2020. <code><![CDATA[\OC\Files\Node\Node]]></code>
  2021. <code><![CDATA[\OC\Files\Node\Node[]]]></code>
  2022. </MoreSpecificReturnType>
  2023. </file>
  2024. <file src="lib/private/Files/Node/HookConnector.php">
  2025. <UndefinedInterfaceMethod>
  2026. <code><![CDATA[emit]]></code>
  2027. <code><![CDATA[emit]]></code>
  2028. <code><![CDATA[emit]]></code>
  2029. <code><![CDATA[emit]]></code>
  2030. <code><![CDATA[emit]]></code>
  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. </UndefinedInterfaceMethod>
  2040. </file>
  2041. <file src="lib/private/Files/Node/LazyFolder.php">
  2042. <InvalidReturnStatement>
  2043. <code><![CDATA[$this->__call(__FUNCTION__, func_get_args())]]></code>
  2044. </InvalidReturnStatement>
  2045. </file>
  2046. <file src="lib/private/Files/Node/LazyUserFolder.php">
  2047. <LessSpecificReturnStatement>
  2048. <code><![CDATA[$node]]></code>
  2049. </LessSpecificReturnStatement>
  2050. <MoreSpecificReturnType>
  2051. <code><![CDATA[Folder]]></code>
  2052. </MoreSpecificReturnType>
  2053. </file>
  2054. <file src="lib/private/Files/Node/Node.php">
  2055. <InvalidNullableReturnType>
  2056. <code><![CDATA[FileInfo]]></code>
  2057. </InvalidNullableReturnType>
  2058. <InvalidReturnType>
  2059. <code><![CDATA[getChecksum]]></code>
  2060. </InvalidReturnType>
  2061. <LessSpecificReturnStatement>
  2062. <code><![CDATA[$this->parent]]></code>
  2063. </LessSpecificReturnStatement>
  2064. <MoreSpecificReturnType>
  2065. <code><![CDATA[INode|IRootFolder]]></code>
  2066. </MoreSpecificReturnType>
  2067. <NullableReturnStatement>
  2068. <code><![CDATA[$this->fileInfo]]></code>
  2069. </NullableReturnStatement>
  2070. <ParamNameMismatch>
  2071. <code><![CDATA[$type]]></code>
  2072. </ParamNameMismatch>
  2073. <UndefinedInterfaceMethod>
  2074. <code><![CDATA[$this->fileInfo]]></code>
  2075. <code><![CDATA[$this->fileInfo]]></code>
  2076. </UndefinedInterfaceMethod>
  2077. </file>
  2078. <file src="lib/private/Files/Node/Root.php">
  2079. <LessSpecificReturnStatement>
  2080. <code><![CDATA[$folders]]></code>
  2081. <code><![CDATA[$this->createNode($fullPath, $fileInfo, false)]]></code>
  2082. <code><![CDATA[$this->mountManager->findByNumericId($numericId)]]></code>
  2083. <code><![CDATA[$this->mountManager->findByStorageId($storageId)]]></code>
  2084. <code><![CDATA[$this->mountManager->findIn($mountPoint)]]></code>
  2085. <code><![CDATA[$this->user]]></code>
  2086. </LessSpecificReturnStatement>
  2087. <MoreSpecificReturnType>
  2088. <code><![CDATA[MountPoint[]]]></code>
  2089. <code><![CDATA[Node]]></code>
  2090. <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code>
  2091. <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code>
  2092. <code><![CDATA[\OC\User\User]]></code>
  2093. </MoreSpecificReturnType>
  2094. <NullableReturnStatement>
  2095. <code><![CDATA[$this->user]]></code>
  2096. </NullableReturnStatement>
  2097. <UndefinedMethod>
  2098. <code><![CDATA[remove]]></code>
  2099. </UndefinedMethod>
  2100. </file>
  2101. <file src="lib/private/Files/ObjectStore/ObjectStoreStorage.php">
  2102. <InvalidScalarArgument>
  2103. <code><![CDATA[$source]]></code>
  2104. </InvalidScalarArgument>
  2105. </file>
  2106. <file src="lib/private/Files/ObjectStore/S3ConnectionTrait.php">
  2107. <InternalClass>
  2108. <code><![CDATA[ClientResolver::_default_signature_provider()]]></code>
  2109. <code><![CDATA[ClientResolver::_default_signature_provider()]]></code>
  2110. </InternalClass>
  2111. <InternalMethod>
  2112. <code><![CDATA[ClientResolver::_default_signature_provider()]]></code>
  2113. </InternalMethod>
  2114. <UndefinedFunction>
  2115. <code><![CDATA[\Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())]]></code>
  2116. </UndefinedFunction>
  2117. </file>
  2118. <file src="lib/private/Files/ObjectStore/S3ObjectTrait.php">
  2119. <InternalMethod>
  2120. <code><![CDATA[upload]]></code>
  2121. </InternalMethod>
  2122. <UndefinedFunction>
  2123. <code><![CDATA[\Aws\serialize($command)]]></code>
  2124. </UndefinedFunction>
  2125. </file>
  2126. <file src="lib/private/Files/ObjectStore/StorageObjectStore.php">
  2127. <InvalidReturnType>
  2128. <code><![CDATA[string]]></code>
  2129. </InvalidReturnType>
  2130. </file>
  2131. <file src="lib/private/Files/Storage/Common.php">
  2132. <ImplementedReturnTypeMismatch>
  2133. <code><![CDATA[string|false]]></code>
  2134. </ImplementedReturnTypeMismatch>
  2135. <InvalidOperand>
  2136. <code><![CDATA[!$permissions]]></code>
  2137. <code><![CDATA[$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file)]]></code>
  2138. </InvalidOperand>
  2139. <NoInterfaceProperties>
  2140. <code><![CDATA[$storage->cache]]></code>
  2141. <code><![CDATA[$storage->cache]]></code>
  2142. <code><![CDATA[$storage->propagator]]></code>
  2143. <code><![CDATA[$storage->propagator]]></code>
  2144. <code><![CDATA[$storage->scanner]]></code>
  2145. <code><![CDATA[$storage->scanner]]></code>
  2146. <code><![CDATA[$storage->updater]]></code>
  2147. <code><![CDATA[$storage->updater]]></code>
  2148. </NoInterfaceProperties>
  2149. </file>
  2150. <file src="lib/private/Files/Storage/DAV.php">
  2151. <InvalidClass>
  2152. <code><![CDATA[ArrayCache]]></code>
  2153. <code><![CDATA[ArrayCache]]></code>
  2154. </InvalidClass>
  2155. <InvalidReturnStatement>
  2156. <code><![CDATA[$response->getBody()]]></code>
  2157. </InvalidReturnStatement>
  2158. <InvalidReturnType>
  2159. <code><![CDATA[fopen]]></code>
  2160. </InvalidReturnType>
  2161. <NullableReturnStatement>
  2162. <code><![CDATA[null]]></code>
  2163. </NullableReturnStatement>
  2164. </file>
  2165. <file src="lib/private/Files/Storage/FailedStorage.php">
  2166. <InvalidReturnStatement>
  2167. <code><![CDATA[new FailedCache()]]></code>
  2168. <code><![CDATA[true]]></code>
  2169. </InvalidReturnStatement>
  2170. <InvalidReturnType>
  2171. <code><![CDATA[getCache]]></code>
  2172. <code><![CDATA[verifyPath]]></code>
  2173. </InvalidReturnType>
  2174. </file>
  2175. <file src="lib/private/Files/Storage/Local.php">
  2176. <ImplicitToStringCast>
  2177. <code><![CDATA[$file]]></code>
  2178. </ImplicitToStringCast>
  2179. <TypeDoesNotContainNull>
  2180. <code><![CDATA[$space === false || is_null($space)]]></code>
  2181. <code><![CDATA[is_null($space)]]></code>
  2182. </TypeDoesNotContainNull>
  2183. <TypeDoesNotContainType>
  2184. <code><![CDATA[$stat === false]]></code>
  2185. </TypeDoesNotContainType>
  2186. </file>
  2187. <file src="lib/private/Files/Storage/LocalRootStorage.php">
  2188. <NoInterfaceProperties>
  2189. <code><![CDATA[$storage->scanner]]></code>
  2190. <code><![CDATA[$storage->scanner]]></code>
  2191. </NoInterfaceProperties>
  2192. </file>
  2193. <file src="lib/private/Files/Storage/Wrapper/Encoding.php">
  2194. <InvalidArgument>
  2195. <code><![CDATA[\Normalizer::FORM_C]]></code>
  2196. <code><![CDATA[\Normalizer::FORM_C]]></code>
  2197. <code><![CDATA[\Normalizer::FORM_D]]></code>
  2198. </InvalidArgument>
  2199. <UndefinedInterfaceMethod>
  2200. <code><![CDATA[$this->namesCache]]></code>
  2201. <code><![CDATA[$this->namesCache]]></code>
  2202. <code><![CDATA[$this->namesCache]]></code>
  2203. <code><![CDATA[$this->namesCache]]></code>
  2204. <code><![CDATA[$this->namesCache]]></code>
  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. </UndefinedInterfaceMethod>
  2218. </file>
  2219. <file src="lib/private/Files/Storage/Wrapper/Encryption.php">
  2220. <InvalidOperand>
  2221. <code><![CDATA[$result]]></code>
  2222. <code><![CDATA[$result]]></code>
  2223. <code><![CDATA[$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file, false, $isRename)]]></code>
  2224. </InvalidOperand>
  2225. <InvalidReturnStatement>
  2226. <code><![CDATA[$newUnencryptedSize]]></code>
  2227. <code><![CDATA[$result]]></code>
  2228. </InvalidReturnStatement>
  2229. <InvalidReturnType>
  2230. <code><![CDATA[bool]]></code>
  2231. <code><![CDATA[int]]></code>
  2232. </InvalidReturnType>
  2233. <InvalidScalarArgument>
  2234. <code><![CDATA[$lastChunkPos]]></code>
  2235. <code><![CDATA[$size]]></code>
  2236. </InvalidScalarArgument>
  2237. </file>
  2238. <file src="lib/private/Files/Storage/Wrapper/Jail.php">
  2239. <InvalidReturnStatement>
  2240. <code><![CDATA[$this->getWrapperStorage()->filetype($this->getUnjailedPath($path))]]></code>
  2241. </InvalidReturnStatement>
  2242. <InvalidReturnType>
  2243. <code><![CDATA[bool]]></code>
  2244. </InvalidReturnType>
  2245. </file>
  2246. <file src="lib/private/Files/Storage/Wrapper/Wrapper.php">
  2247. <InvalidReturnStatement>
  2248. <code><![CDATA[$this->getWrapperStorage()->test()]]></code>
  2249. </InvalidReturnStatement>
  2250. <InvalidReturnType>
  2251. <code><![CDATA[true]]></code>
  2252. </InvalidReturnType>
  2253. </file>
  2254. <file src="lib/private/Files/Stream/SeekableHttpStream.php">
  2255. <InvalidReturnType>
  2256. <code><![CDATA[stream_close]]></code>
  2257. <code><![CDATA[stream_flush]]></code>
  2258. </InvalidReturnType>
  2259. </file>
  2260. <file src="lib/private/Files/Template/TemplateManager.php">
  2261. <RedundantCondition>
  2262. <code><![CDATA[!$isDefaultTemplates]]></code>
  2263. </RedundantCondition>
  2264. </file>
  2265. <file src="lib/private/Files/Type/Detection.php">
  2266. <ParamNameMismatch>
  2267. <code><![CDATA[$mimetype]]></code>
  2268. </ParamNameMismatch>
  2269. </file>
  2270. <file src="lib/private/Files/Type/Loader.php">
  2271. <InvalidReturnStatement>
  2272. <code><![CDATA[$update->execute()]]></code>
  2273. </InvalidReturnStatement>
  2274. <InvalidReturnType>
  2275. <code><![CDATA[int]]></code>
  2276. </InvalidReturnType>
  2277. </file>
  2278. <file src="lib/private/Files/Utils/Scanner.php">
  2279. <LessSpecificReturnStatement>
  2280. <code><![CDATA[$mounts]]></code>
  2281. </LessSpecificReturnStatement>
  2282. <MoreSpecificReturnType>
  2283. <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code>
  2284. </MoreSpecificReturnType>
  2285. </file>
  2286. <file src="lib/private/Files/View.php">
  2287. <InvalidScalarArgument>
  2288. <code><![CDATA[$mtime]]></code>
  2289. </InvalidScalarArgument>
  2290. <UndefinedInterfaceMethod>
  2291. <code><![CDATA[acquireLock]]></code>
  2292. <code><![CDATA[changeLock]]></code>
  2293. <code><![CDATA[releaseLock]]></code>
  2294. </UndefinedInterfaceMethod>
  2295. </file>
  2296. <file src="lib/private/FullTextSearch/Model/IndexDocument.php">
  2297. <TypeDoesNotContainNull>
  2298. <code><![CDATA[is_null($this->getContent())]]></code>
  2299. </TypeDoesNotContainNull>
  2300. </file>
  2301. <file src="lib/private/Group/Group.php">
  2302. <InvalidArgument>
  2303. <code><![CDATA[bool]]></code>
  2304. </InvalidArgument>
  2305. <InvalidOperand>
  2306. <code><![CDATA[$hide]]></code>
  2307. </InvalidOperand>
  2308. <LessSpecificReturnStatement>
  2309. <code><![CDATA[$users]]></code>
  2310. </LessSpecificReturnStatement>
  2311. <MoreSpecificReturnType>
  2312. <code><![CDATA[\OC\User\User[]]]></code>
  2313. </MoreSpecificReturnType>
  2314. <RedundantCondition>
  2315. <code><![CDATA[$this->emitter]]></code>
  2316. <code><![CDATA[$this->emitter]]></code>
  2317. <code><![CDATA[$this->emitter]]></code>
  2318. </RedundantCondition>
  2319. <UndefinedMethod>
  2320. <code><![CDATA[addToGroup]]></code>
  2321. <code><![CDATA[countUsersInGroup]]></code>
  2322. <code><![CDATA[deleteGroup]]></code>
  2323. <code><![CDATA[removeFromGroup]]></code>
  2324. </UndefinedMethod>
  2325. </file>
  2326. <file src="lib/private/Group/Manager.php">
  2327. <LessSpecificReturnStatement>
  2328. <code><![CDATA[$groups]]></code>
  2329. <code><![CDATA[array_values($groups)]]></code>
  2330. <code><![CDATA[array_values($groups)]]></code>
  2331. </LessSpecificReturnStatement>
  2332. <MoreSpecificReturnType>
  2333. <code><![CDATA[\OC\Group\Group[]]]></code>
  2334. <code><![CDATA[\OC\Group\Group[]]]></code>
  2335. </MoreSpecificReturnType>
  2336. <UndefinedInterfaceMethod>
  2337. <code><![CDATA[createGroup]]></code>
  2338. <code><![CDATA[getGroupDetails]]></code>
  2339. <code><![CDATA[isAdmin]]></code>
  2340. </UndefinedInterfaceMethod>
  2341. </file>
  2342. <file src="lib/private/Http/Client/Response.php">
  2343. <InvalidNullableReturnType>
  2344. <code><![CDATA[string|resource]]></code>
  2345. </InvalidNullableReturnType>
  2346. <NullableReturnStatement>
  2347. <code><![CDATA[$this->stream ?
  2348. $this->response->getBody()->detach():
  2349. $this->response->getBody()->getContents()]]></code>
  2350. </NullableReturnStatement>
  2351. </file>
  2352. <file src="lib/private/Installer.php">
  2353. <InvalidArgument>
  2354. <code><![CDATA[false]]></code>
  2355. <code><![CDATA[false]]></code>
  2356. </InvalidArgument>
  2357. <NullArgument>
  2358. <code><![CDATA[null]]></code>
  2359. </NullArgument>
  2360. </file>
  2361. <file src="lib/private/IntegrityCheck/Checker.php">
  2362. <InvalidArrayAccess>
  2363. <code><![CDATA[$x509->getDN(X509::DN_OPENSSL)['CN']]]></code>
  2364. <code><![CDATA[$x509->getDN(X509::DN_OPENSSL)['CN']]]></code>
  2365. <code><![CDATA[$x509->getDN(true)['CN']]]></code>
  2366. </InvalidArrayAccess>
  2367. <UndefinedInterfaceMethod>
  2368. <code><![CDATA[getOnlyDefaultAliases]]></code>
  2369. </UndefinedInterfaceMethod>
  2370. </file>
  2371. <file src="lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php">
  2372. <MissingTemplateParam>
  2373. <code><![CDATA[ExcludeFileByNameFilterIterator]]></code>
  2374. </MissingTemplateParam>
  2375. </file>
  2376. <file src="lib/private/IntegrityCheck/Iterator/ExcludeFoldersByPathFilterIterator.php">
  2377. <MissingTemplateParam>
  2378. <code><![CDATA[ExcludeFoldersByPathFilterIterator]]></code>
  2379. </MissingTemplateParam>
  2380. </file>
  2381. <file src="lib/private/L10N/Factory.php">
  2382. <ImplementedReturnTypeMismatch>
  2383. <code><![CDATA[null|string]]></code>
  2384. </ImplementedReturnTypeMismatch>
  2385. <LessSpecificImplementedReturnType>
  2386. <code><![CDATA[array|mixed]]></code>
  2387. </LessSpecificImplementedReturnType>
  2388. </file>
  2389. <file src="lib/private/LargeFileHelper.php">
  2390. <InvalidOperand>
  2391. <code><![CDATA[$matches[1]]]></code>
  2392. </InvalidOperand>
  2393. </file>
  2394. <file src="lib/private/Lockdown/Filesystem/NullCache.php">
  2395. <InvalidNullableReturnType>
  2396. <code><![CDATA[get]]></code>
  2397. </InvalidNullableReturnType>
  2398. <InvalidReturnStatement>
  2399. <code><![CDATA[[]]]></code>
  2400. </InvalidReturnStatement>
  2401. <InvalidReturnType>
  2402. <code><![CDATA[getIncomplete]]></code>
  2403. </InvalidReturnType>
  2404. <NullableReturnStatement>
  2405. <code><![CDATA[$file !== '' ? null :
  2406. new CacheEntry([
  2407. 'fileid' => -1,
  2408. 'parent' => -1,
  2409. 'name' => '',
  2410. 'path' => '',
  2411. 'size' => '0',
  2412. 'mtime' => time(),
  2413. 'storage_mtime' => time(),
  2414. 'etag' => '',
  2415. 'mimetype' => FileInfo::MIMETYPE_FOLDER,
  2416. 'mimepart' => 'httpd',
  2417. 'permissions' => Constants::PERMISSION_READ
  2418. ])]]></code>
  2419. </NullableReturnStatement>
  2420. </file>
  2421. <file src="lib/private/Lockdown/Filesystem/NullStorage.php">
  2422. <InvalidNullableReturnType>
  2423. <code><![CDATA[getOwner]]></code>
  2424. <code><![CDATA[getPermissions]]></code>
  2425. </InvalidNullableReturnType>
  2426. <InvalidReturnStatement>
  2427. <code><![CDATA[new IteratorDirectory([])]]></code>
  2428. <code><![CDATA[new NullCache()]]></code>
  2429. </InvalidReturnStatement>
  2430. <InvalidReturnType>
  2431. <code><![CDATA[getCache]]></code>
  2432. <code><![CDATA[opendir]]></code>
  2433. </InvalidReturnType>
  2434. <NullableReturnStatement>
  2435. <code><![CDATA[null]]></code>
  2436. <code><![CDATA[null]]></code>
  2437. </NullableReturnStatement>
  2438. <TooManyArguments>
  2439. <code><![CDATA[new IteratorDirectory([])]]></code>
  2440. </TooManyArguments>
  2441. </file>
  2442. <file src="lib/private/Lockdown/LockdownManager.php">
  2443. <InvalidFunctionCall>
  2444. <code><![CDATA[$callback()]]></code>
  2445. </InvalidFunctionCall>
  2446. <InvalidPropertyAssignmentValue>
  2447. <code><![CDATA[$sessionCallback]]></code>
  2448. </InvalidPropertyAssignmentValue>
  2449. </file>
  2450. <file src="lib/private/Log.php">
  2451. <RedundantCondition>
  2452. <code><![CDATA[$request]]></code>
  2453. </RedundantCondition>
  2454. </file>
  2455. <file src="lib/private/Log/File.php">
  2456. <TypeDoesNotContainNull>
  2457. <code><![CDATA[$limit === null]]></code>
  2458. </TypeDoesNotContainNull>
  2459. </file>
  2460. <file src="lib/private/Log/LogDetails.php">
  2461. <RedundantCondition>
  2462. <code><![CDATA[is_string($request->getMethod())]]></code>
  2463. </RedundantCondition>
  2464. </file>
  2465. <file src="lib/private/Log/Systemdlog.php">
  2466. <UndefinedFunction>
  2467. <code><![CDATA[sd_journal_send('PRIORITY='.$journal_level,
  2468. 'SYSLOG_IDENTIFIER='.$this->syslogId,
  2469. 'MESSAGE=' . $this->logDetailsAsJSON($app, $message, $level))]]></code>
  2470. </UndefinedFunction>
  2471. </file>
  2472. <file src="lib/private/Memcache/APCu.php">
  2473. <InvalidReturnStatement>
  2474. <code><![CDATA[apcu_add($this->getPrefix() . $key, $value, $ttl)]]></code>
  2475. </InvalidReturnStatement>
  2476. <InvalidReturnType>
  2477. <code><![CDATA[bool]]></code>
  2478. </InvalidReturnType>
  2479. </file>
  2480. <file src="lib/private/Memcache/Cache.php">
  2481. <LessSpecificImplementedReturnType>
  2482. <code><![CDATA[mixed]]></code>
  2483. <code><![CDATA[mixed]]></code>
  2484. <code><![CDATA[mixed]]></code>
  2485. <code><![CDATA[mixed]]></code>
  2486. </LessSpecificImplementedReturnType>
  2487. </file>
  2488. <file src="lib/private/Preview/BackgroundCleanupJob.php">
  2489. <InvalidReturnStatement>
  2490. <code><![CDATA[[]]]></code>
  2491. </InvalidReturnStatement>
  2492. </file>
  2493. <file src="lib/private/Preview/Generator.php">
  2494. <InvalidArgument>
  2495. <code><![CDATA[$maxPreviewImage]]></code>
  2496. </InvalidArgument>
  2497. <LessSpecificReturnType>
  2498. <code><![CDATA[null|string]]></code>
  2499. </LessSpecificReturnType>
  2500. <MismatchingDocblockParamType>
  2501. <code><![CDATA[ISimpleFile]]></code>
  2502. </MismatchingDocblockParamType>
  2503. <UndefinedInterfaceMethod>
  2504. <code><![CDATA[height]]></code>
  2505. <code><![CDATA[height]]></code>
  2506. <code><![CDATA[preciseResizeCopy]]></code>
  2507. <code><![CDATA[resizeCopy]]></code>
  2508. <code><![CDATA[valid]]></code>
  2509. <code><![CDATA[width]]></code>
  2510. <code><![CDATA[width]]></code>
  2511. </UndefinedInterfaceMethod>
  2512. </file>
  2513. <file src="lib/private/Preview/ProviderV1Adapter.php">
  2514. <InvalidReturnStatement>
  2515. <code><![CDATA[$thumbnail === false ? null: $thumbnail]]></code>
  2516. </InvalidReturnStatement>
  2517. <InvalidReturnType>
  2518. <code><![CDATA[?IImage]]></code>
  2519. </InvalidReturnType>
  2520. </file>
  2521. <file src="lib/private/RedisFactory.php">
  2522. <InvalidArgument>
  2523. <code><![CDATA[\RedisCluster::OPT_SLAVE_FAILOVER]]></code>
  2524. </InvalidArgument>
  2525. </file>
  2526. <file src="lib/private/Remote/Api/OCS.php">
  2527. <ImplementedReturnTypeMismatch>
  2528. <code><![CDATA[array]]></code>
  2529. </ImplementedReturnTypeMismatch>
  2530. </file>
  2531. <file src="lib/private/Remote/Instance.php">
  2532. <InvalidReturnStatement>
  2533. <code><![CDATA[$request->getBody()]]></code>
  2534. </InvalidReturnStatement>
  2535. <InvalidReturnType>
  2536. <code><![CDATA[bool|string]]></code>
  2537. </InvalidReturnType>
  2538. <InvalidScalarArgument>
  2539. <code><![CDATA[$response]]></code>
  2540. </InvalidScalarArgument>
  2541. </file>
  2542. <file src="lib/private/Repair/Owncloud/CleanPreviews.php">
  2543. <InvalidArgument>
  2544. <code><![CDATA[false]]></code>
  2545. </InvalidArgument>
  2546. </file>
  2547. <file src="lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php">
  2548. <ParamNameMismatch>
  2549. <code><![CDATA[$arguments]]></code>
  2550. </ParamNameMismatch>
  2551. </file>
  2552. <file src="lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php">
  2553. <ParamNameMismatch>
  2554. <code><![CDATA[$arguments]]></code>
  2555. </ParamNameMismatch>
  2556. </file>
  2557. <file src="lib/private/Repair/RemoveLinkShares.php">
  2558. <InvalidPropertyAssignmentValue>
  2559. <code><![CDATA[$this->userToNotify]]></code>
  2560. </InvalidPropertyAssignmentValue>
  2561. </file>
  2562. <file src="lib/private/Repair/RepairInvalidShares.php">
  2563. <ParamNameMismatch>
  2564. <code><![CDATA[$out]]></code>
  2565. </ParamNameMismatch>
  2566. </file>
  2567. <file src="lib/private/Repair/RepairMimeTypes.php">
  2568. <ParamNameMismatch>
  2569. <code><![CDATA[$out]]></code>
  2570. </ParamNameMismatch>
  2571. </file>
  2572. <file src="lib/private/Route/Router.php">
  2573. <InvalidClass>
  2574. <code><![CDATA[\OC_APP]]></code>
  2575. </InvalidClass>
  2576. <InvalidNullableReturnType>
  2577. <code><![CDATA[string]]></code>
  2578. </InvalidNullableReturnType>
  2579. <NullableReturnStatement>
  2580. <code><![CDATA[$this->collectionName]]></code>
  2581. </NullableReturnStatement>
  2582. </file>
  2583. <file src="lib/private/Search.php">
  2584. <RedundantCondition>
  2585. <code><![CDATA[$provider instanceof Provider]]></code>
  2586. </RedundantCondition>
  2587. </file>
  2588. <file src="lib/private/Search/Result/File.php">
  2589. <InvalidPropertyAssignmentValue>
  2590. <code><![CDATA[$data->getId()]]></code>
  2591. <code><![CDATA[$data->getMtime()]]></code>
  2592. <code><![CDATA[$data->getPermissions()]]></code>
  2593. <code><![CDATA[$this->hasPreview($data)]]></code>
  2594. </InvalidPropertyAssignmentValue>
  2595. </file>
  2596. <file src="lib/private/Security/Bruteforce/Throttler.php">
  2597. <NullArgument>
  2598. <code><![CDATA[null]]></code>
  2599. </NullArgument>
  2600. </file>
  2601. <file src="lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php">
  2602. <NoInterfaceProperties>
  2603. <code><![CDATA[$this->request->server]]></code>
  2604. </NoInterfaceProperties>
  2605. </file>
  2606. <file src="lib/private/Security/CSRF/CsrfToken.php">
  2607. <InvalidArgument>
  2608. <code><![CDATA[\strlen($this->value)]]></code>
  2609. </InvalidArgument>
  2610. </file>
  2611. <file src="lib/private/Security/CredentialsManager.php">
  2612. <InvalidReturnStatement>
  2613. <code><![CDATA[$qb->execute()]]></code>
  2614. <code><![CDATA[$qb->execute()]]></code>
  2615. </InvalidReturnStatement>
  2616. <InvalidReturnType>
  2617. <code><![CDATA[int]]></code>
  2618. <code><![CDATA[int]]></code>
  2619. </InvalidReturnType>
  2620. </file>
  2621. <file src="lib/private/Security/Crypto.php">
  2622. <InternalMethod>
  2623. <code><![CDATA[decrypt]]></code>
  2624. <code><![CDATA[encrypt]]></code>
  2625. <code><![CDATA[setIV]]></code>
  2626. <code><![CDATA[setIV]]></code>
  2627. <code><![CDATA[setPassword]]></code>
  2628. <code><![CDATA[setPassword]]></code>
  2629. </InternalMethod>
  2630. </file>
  2631. <file src="lib/private/Server.php">
  2632. <ImplementedReturnTypeMismatch>
  2633. <code><![CDATA[\OCP\Calendar\Resource\IManager]]></code>
  2634. <code><![CDATA[\OCP\Calendar\Room\IManager]]></code>
  2635. <code><![CDATA[\OCP\Files\Folder|null]]></code>
  2636. </ImplementedReturnTypeMismatch>
  2637. <LessSpecificReturnStatement>
  2638. <code><![CDATA[$this->get(IFile::class)]]></code>
  2639. <code><![CDATA[$this->get(IGroupManager::class)]]></code>
  2640. <code><![CDATA[$this->get(INavigationManager::class)]]></code>
  2641. <code><![CDATA[$this->get(IUserManager::class)]]></code>
  2642. <code><![CDATA[$this->get(IUserSession::class)]]></code>
  2643. <code><![CDATA[$this->get(\OCP\Encryption\IManager::class)]]></code>
  2644. </LessSpecificReturnStatement>
  2645. <MoreSpecificReturnType>
  2646. <code><![CDATA[\OC\Encryption\File]]></code>
  2647. <code><![CDATA[\OC\Encryption\Manager]]></code>
  2648. <code><![CDATA[\OC\Group\Manager]]></code>
  2649. <code><![CDATA[\OC\NavigationManager]]></code>
  2650. <code><![CDATA[\OC\User\Manager]]></code>
  2651. <code><![CDATA[\OC\User\Session]]></code>
  2652. </MoreSpecificReturnType>
  2653. <UndefinedDocblockClass>
  2654. <code><![CDATA[\OC\OCSClient]]></code>
  2655. </UndefinedDocblockClass>
  2656. </file>
  2657. <file src="lib/private/ServerContainer.php">
  2658. <InvalidPropertyAssignmentValue>
  2659. <code><![CDATA[$this->hasNoAppContainer]]></code>
  2660. </InvalidPropertyAssignmentValue>
  2661. <NoValue>
  2662. <code><![CDATA[return $this->appContainers[$namespace];]]></code>
  2663. </NoValue>
  2664. </file>
  2665. <file src="lib/private/Session/Internal.php">
  2666. <MoreSpecificImplementedParamType>
  2667. <code><![CDATA[$value]]></code>
  2668. </MoreSpecificImplementedParamType>
  2669. </file>
  2670. <file src="lib/private/Session/Memory.php">
  2671. <MoreSpecificImplementedParamType>
  2672. <code><![CDATA[$value]]></code>
  2673. </MoreSpecificImplementedParamType>
  2674. </file>
  2675. <file src="lib/private/Setup.php">
  2676. <RedundantCondition>
  2677. <code><![CDATA[$type === 'pdo']]></code>
  2678. </RedundantCondition>
  2679. <UndefinedVariable>
  2680. <code><![CDATA[$vendor]]></code>
  2681. </UndefinedVariable>
  2682. </file>
  2683. <file src="lib/private/Setup/AbstractDatabase.php">
  2684. <TypeDoesNotContainType>
  2685. <code><![CDATA[ctype_digit($this->dbPort)]]></code>
  2686. </TypeDoesNotContainType>
  2687. <UndefinedThisPropertyFetch>
  2688. <code><![CDATA[$this->dbprettyname]]></code>
  2689. <code><![CDATA[$this->dbprettyname]]></code>
  2690. <code><![CDATA[$this->dbprettyname]]></code>
  2691. <code><![CDATA[$this->dbprettyname]]></code>
  2692. </UndefinedThisPropertyFetch>
  2693. </file>
  2694. <file src="lib/private/Share20/DefaultShareProvider.php">
  2695. <InvalidArgument>
  2696. <code><![CDATA[$share->getId()]]></code>
  2697. <code><![CDATA[$share->getId()]]></code>
  2698. <code><![CDATA[(int)$data['id']]]></code>
  2699. </InvalidArgument>
  2700. <TooManyArguments>
  2701. <code><![CDATA[set]]></code>
  2702. </TooManyArguments>
  2703. <UndefinedInterfaceMethod>
  2704. <code><![CDATA[getParent]]></code>
  2705. </UndefinedInterfaceMethod>
  2706. </file>
  2707. <file src="lib/private/Share20/Manager.php">
  2708. <InvalidArgument>
  2709. <code><![CDATA[$id]]></code>
  2710. </InvalidArgument>
  2711. <TooManyArguments>
  2712. <code><![CDATA[update]]></code>
  2713. </TooManyArguments>
  2714. <UndefinedClass>
  2715. <code><![CDATA[\OCA\Circles\Api\v1\Circles]]></code>
  2716. </UndefinedClass>
  2717. <UndefinedInterfaceMethod>
  2718. <code><![CDATA[getChildren]]></code>
  2719. </UndefinedInterfaceMethod>
  2720. </file>
  2721. <file src="lib/private/Share20/ProviderFactory.php">
  2722. <InvalidNullableReturnType>
  2723. <code><![CDATA[FederatedShareProvider]]></code>
  2724. <code><![CDATA[ShareByMailProvider]]></code>
  2725. </InvalidNullableReturnType>
  2726. <InvalidReturnStatement>
  2727. <code><![CDATA[$provider]]></code>
  2728. <code><![CDATA[$provider]]></code>
  2729. <code><![CDATA[$this->shareByCircleProvider]]></code>
  2730. </InvalidReturnStatement>
  2731. <InvalidReturnType>
  2732. <code><![CDATA[getProviderForType]]></code>
  2733. </InvalidReturnType>
  2734. <NullableReturnStatement>
  2735. <code><![CDATA[null]]></code>
  2736. <code><![CDATA[null]]></code>
  2737. <code><![CDATA[null]]></code>
  2738. <code><![CDATA[null]]></code>
  2739. <code><![CDATA[null]]></code>
  2740. <code><![CDATA[null]]></code>
  2741. </NullableReturnStatement>
  2742. <ParamNameMismatch>
  2743. <code><![CDATA[$shareProviderClass]]></code>
  2744. </ParamNameMismatch>
  2745. <UndefinedClass>
  2746. <code><![CDATA[\OCA\Circles\ShareByCircleProvider]]></code>
  2747. </UndefinedClass>
  2748. <UndefinedDocblockClass>
  2749. <code><![CDATA[RoomShareProvider]]></code>
  2750. <code><![CDATA[\OCA\Circles\ShareByCircleProvider]]></code>
  2751. <code><![CDATA[\OCA\Talk\Share\RoomShareProvider]]></code>
  2752. <code><![CDATA[private $roomShareProvider = null;]]></code>
  2753. <code><![CDATA[private $shareByCircleProvider = null;]]></code>
  2754. </UndefinedDocblockClass>
  2755. </file>
  2756. <file src="lib/private/Share20/Share.php">
  2757. <LessSpecificReturnStatement>
  2758. <code><![CDATA[$this->node]]></code>
  2759. </LessSpecificReturnStatement>
  2760. <MoreSpecificReturnType>
  2761. <code><![CDATA[getNode]]></code>
  2762. </MoreSpecificReturnType>
  2763. </file>
  2764. <file src="lib/private/Streamer.php">
  2765. <UndefinedInterfaceMethod>
  2766. <code><![CDATA[get]]></code>
  2767. </UndefinedInterfaceMethod>
  2768. </file>
  2769. <file src="lib/private/SubAdmin.php">
  2770. <UndefinedInterfaceMethod>
  2771. <code><![CDATA[listen]]></code>
  2772. <code><![CDATA[listen]]></code>
  2773. </UndefinedInterfaceMethod>
  2774. </file>
  2775. <file src="lib/private/Support/Subscription/Registry.php">
  2776. <UndefinedInterfaceMethod>
  2777. <code><![CDATA[getSupportedApps]]></code>
  2778. </UndefinedInterfaceMethod>
  2779. </file>
  2780. <file src="lib/private/TagManager.php">
  2781. <InvalidNullableReturnType>
  2782. <code><![CDATA[\OCP\ITags]]></code>
  2783. </InvalidNullableReturnType>
  2784. <NullableReturnStatement>
  2785. <code><![CDATA[null]]></code>
  2786. </NullableReturnStatement>
  2787. </file>
  2788. <file src="lib/private/Tags.php">
  2789. <InvalidScalarArgument>
  2790. <code><![CDATA[$from]]></code>
  2791. <code><![CDATA[$names]]></code>
  2792. </InvalidScalarArgument>
  2793. <MoreSpecificImplementedParamType>
  2794. <code><![CDATA[$tag]]></code>
  2795. </MoreSpecificImplementedParamType>
  2796. </file>
  2797. <file src="lib/private/TempManager.php">
  2798. <FalsableReturnStatement>
  2799. <code><![CDATA[false]]></code>
  2800. <code><![CDATA[false]]></code>
  2801. </FalsableReturnStatement>
  2802. </file>
  2803. <file src="lib/private/Template/CSSResourceLocator.php">
  2804. <ParamNameMismatch>
  2805. <code><![CDATA[$style]]></code>
  2806. <code><![CDATA[$style]]></code>
  2807. </ParamNameMismatch>
  2808. </file>
  2809. <file src="lib/private/Template/JSConfigHelper.php">
  2810. <NullArgument>
  2811. <code><![CDATA[null]]></code>
  2812. <code><![CDATA[null]]></code>
  2813. </NullArgument>
  2814. </file>
  2815. <file src="lib/private/Template/JSResourceLocator.php">
  2816. <InvalidArgument>
  2817. <code><![CDATA[false]]></code>
  2818. </InvalidArgument>
  2819. <ParamNameMismatch>
  2820. <code><![CDATA[$script]]></code>
  2821. <code><![CDATA[$script]]></code>
  2822. </ParamNameMismatch>
  2823. </file>
  2824. <file src="lib/private/TemplateLayout.php">
  2825. <InvalidParamDefault>
  2826. <code><![CDATA[string]]></code>
  2827. <code><![CDATA[string]]></code>
  2828. </InvalidParamDefault>
  2829. <InvalidScalarArgument>
  2830. <code><![CDATA[$appName]]></code>
  2831. <code><![CDATA[$appName]]></code>
  2832. </InvalidScalarArgument>
  2833. <UndefinedInterfaceMethod>
  2834. <code><![CDATA[getInitialStates]]></code>
  2835. </UndefinedInterfaceMethod>
  2836. </file>
  2837. <file src="lib/private/URLGenerator.php">
  2838. <InvalidReturnStatement>
  2839. <code><![CDATA[$path]]></code>
  2840. </InvalidReturnStatement>
  2841. </file>
  2842. <file src="lib/private/User/Database.php">
  2843. <FalsableReturnStatement>
  2844. <code><![CDATA[false]]></code>
  2845. </FalsableReturnStatement>
  2846. </file>
  2847. <file src="lib/private/User/Manager.php">
  2848. <ImplementedReturnTypeMismatch>
  2849. <code><![CDATA[IUser|false]]></code>
  2850. </ImplementedReturnTypeMismatch>
  2851. <InvalidArgument>
  2852. <code><![CDATA[$backend]]></code>
  2853. </InvalidArgument>
  2854. <UndefinedInterfaceMethod>
  2855. <code><![CDATA[createUser]]></code>
  2856. <code><![CDATA[getUsersForUserValueCaseInsensitive]]></code>
  2857. </UndefinedInterfaceMethod>
  2858. </file>
  2859. <file src="lib/private/User/Session.php">
  2860. <ImplementedReturnTypeMismatch>
  2861. <code><![CDATA[boolean|null]]></code>
  2862. </ImplementedReturnTypeMismatch>
  2863. <NoInterfaceProperties>
  2864. <code><![CDATA[$request->server]]></code>
  2865. <code><![CDATA[$request->server]]></code>
  2866. </NoInterfaceProperties>
  2867. <RedundantCondition>
  2868. <code><![CDATA[$this->manager instanceof PublicEmitter]]></code>
  2869. </RedundantCondition>
  2870. </file>
  2871. <file src="lib/private/User/User.php">
  2872. <UndefinedInterfaceMethod>
  2873. <code><![CDATA[emit]]></code>
  2874. <code><![CDATA[emit]]></code>
  2875. <code><![CDATA[emit]]></code>
  2876. <code><![CDATA[emit]]></code>
  2877. <code><![CDATA[emit]]></code>
  2878. </UndefinedInterfaceMethod>
  2879. </file>
  2880. <file src="lib/private/legacy/OC_API.php">
  2881. <InvalidNullableReturnType>
  2882. <code><![CDATA[int]]></code>
  2883. </InvalidNullableReturnType>
  2884. <NullableReturnStatement>
  2885. <code><![CDATA[null]]></code>
  2886. </NullableReturnStatement>
  2887. </file>
  2888. <file src="lib/private/legacy/OC_App.php">
  2889. <InvalidArgument>
  2890. <code><![CDATA[$groupsList]]></code>
  2891. </InvalidArgument>
  2892. <NullArgument>
  2893. <code><![CDATA[null]]></code>
  2894. </NullArgument>
  2895. <TypeDoesNotContainNull>
  2896. <code><![CDATA[$appId === null]]></code>
  2897. <code><![CDATA[$appId === null]]></code>
  2898. </TypeDoesNotContainNull>
  2899. </file>
  2900. <file src="lib/private/legacy/OC_Files.php">
  2901. <RedundantCondition>
  2902. <code><![CDATA[$getType === self::ZIP_DIR]]></code>
  2903. <code><![CDATA[$getType === self::ZIP_DIR]]></code>
  2904. </RedundantCondition>
  2905. <UndefinedInterfaceMethod>
  2906. <code><![CDATA[get]]></code>
  2907. <code><![CDATA[get]]></code>
  2908. </UndefinedInterfaceMethod>
  2909. </file>
  2910. <file src="lib/private/legacy/OC_Helper.php">
  2911. <InvalidArrayOffset>
  2912. <code><![CDATA[$matches[0][$last_match]]]></code>
  2913. <code><![CDATA[$matches[1][$last_match]]]></code>
  2914. </InvalidArrayOffset>
  2915. <InvalidScalarArgument>
  2916. <code><![CDATA[$path]]></code>
  2917. </InvalidScalarArgument>
  2918. <UndefinedInterfaceMethod>
  2919. <code><![CDATA[getQuota]]></code>
  2920. </UndefinedInterfaceMethod>
  2921. </file>
  2922. <file src="lib/private/legacy/OC_Template.php">
  2923. <InvalidReturnType>
  2924. <code><![CDATA[bool|string]]></code>
  2925. </InvalidReturnType>
  2926. </file>
  2927. <file src="lib/private/legacy/OC_User.php">
  2928. <UndefinedClass>
  2929. <code><![CDATA[\Test\Util\User\Dummy]]></code>
  2930. </UndefinedClass>
  2931. </file>
  2932. <file src="lib/private/legacy/OC_Util.php">
  2933. <InvalidReturnType>
  2934. <code><![CDATA[void]]></code>
  2935. </InvalidReturnType>
  2936. </file>
  2937. <file src="lib/public/AppFramework/ApiController.php">
  2938. <NoInterfaceProperties>
  2939. <code><![CDATA[$this->request->server]]></code>
  2940. </NoInterfaceProperties>
  2941. </file>
  2942. <file src="lib/public/AppFramework/App.php">
  2943. <InternalMethod>
  2944. <code><![CDATA[new RouteConfig($this->container, $router, $routes)]]></code>
  2945. </InternalMethod>
  2946. </file>
  2947. <file src="lib/public/AppFramework/Db/Entity.php">
  2948. <InvalidNullableReturnType>
  2949. <code><![CDATA[string]]></code>
  2950. </InvalidNullableReturnType>
  2951. <NullableReturnStatement>
  2952. <code><![CDATA[$column]]></code>
  2953. </NullableReturnStatement>
  2954. </file>
  2955. <file src="lib/public/AppFramework/Http/Response.php">
  2956. <LessSpecificReturnStatement>
  2957. <code><![CDATA[array_merge($mergeWith, $this->headers)]]></code>
  2958. </LessSpecificReturnStatement>
  2959. <MoreSpecificReturnType>
  2960. <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>
  2961. </MoreSpecificReturnType>
  2962. </file>
  2963. <file src="lib/public/Color.php">
  2964. <LessSpecificReturnStatement>
  2965. <code><![CDATA[$step]]></code>
  2966. </LessSpecificReturnStatement>
  2967. <MoreSpecificReturnType>
  2968. <code><![CDATA[array{0: int, 1: int, 2: int}]]></code>
  2969. </MoreSpecificReturnType>
  2970. </file>
  2971. <file src="lib/public/Diagnostics/IQueryLogger.php">
  2972. <LessSpecificImplementedReturnType>
  2973. <code><![CDATA[mixed]]></code>
  2974. </LessSpecificImplementedReturnType>
  2975. </file>
  2976. <file src="lib/public/EventDispatcher/GenericEvent.php">
  2977. <MissingTemplateParam>
  2978. <code><![CDATA[ArrayAccess]]></code>
  2979. <code><![CDATA[IteratorAggregate]]></code>
  2980. </MissingTemplateParam>
  2981. </file>
  2982. <file src="lib/public/Files.php">
  2983. <FalsableReturnStatement>
  2984. <code><![CDATA[\OC_App::getStorage($app)]]></code>
  2985. </FalsableReturnStatement>
  2986. </file>
  2987. <file src="lib/public/Files/Storage.php">
  2988. <InvalidParamDefault>
  2989. <code><![CDATA[array]]></code>
  2990. </InvalidParamDefault>
  2991. </file>
  2992. <file src="lib/public/L10N/ILanguageIterator.php">
  2993. <MissingTemplateParam>
  2994. <code><![CDATA[\Iterator]]></code>
  2995. </MissingTemplateParam>
  2996. </file>
  2997. <file src="lib/public/Preview/BeforePreviewFetchedEvent.php">
  2998. <LessSpecificReturnStatement>
  2999. <code><![CDATA[$this->mode]]></code>
  3000. </LessSpecificReturnStatement>
  3001. <MoreSpecificReturnType>
  3002. <code><![CDATA[null|IPreview::MODE_FILL|IPreview::MODE_COVER]]></code>
  3003. </MoreSpecificReturnType>
  3004. </file>
  3005. </files>