psalm-baseline.xml 105 KB

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