psalm-baseline.xml 97 KB

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