1
0

psalm-baseline.xml 104 KB

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