psalm-baseline.xml 128 KB

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