psalm-baseline.xml 97 KB

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