psalm-baseline.xml 96 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751
  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->create('files_versions_download', 'apps/files_versions/download.php')]]></code>
  982. </InvalidScope>
  983. </file>
  984. <file src="apps/files_versions/lib/Sabre/RestoreFolder.php">
  985. <InvalidNullableReturnType>
  986. <code><![CDATA[getChild]]></code>
  987. </InvalidNullableReturnType>
  988. <NullableReturnStatement>
  989. <code><![CDATA[null]]></code>
  990. </NullableReturnStatement>
  991. </file>
  992. <file src="apps/files_versions/lib/Sabre/VersionHome.php">
  993. <InvalidNullableReturnType>
  994. <code><![CDATA[getChild]]></code>
  995. </InvalidNullableReturnType>
  996. </file>
  997. <file src="apps/files_versions/lib/Storage.php">
  998. <RedundantCondition>
  999. <code><![CDATA[$storage1->instanceOfStorage('\OC\Files\ObjectStore\ObjectStoreStorage')]]></code>
  1000. </RedundantCondition>
  1001. </file>
  1002. <file src="apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php">
  1003. <InvalidArgument>
  1004. <code><![CDATA[$this->retries + 1]]></code>
  1005. </InvalidArgument>
  1006. </file>
  1007. <file src="apps/oauth2/lib/Controller/OauthApiController.php">
  1008. <NoInterfaceProperties>
  1009. <code><![CDATA[$this->request->server]]></code>
  1010. </NoInterfaceProperties>
  1011. </file>
  1012. <file src="apps/provisioning_api/lib/Controller/UsersController.php">
  1013. <TypeDoesNotContainNull>
  1014. <code><![CDATA[$groupid === null]]></code>
  1015. <code><![CDATA[$groupid === null]]></code>
  1016. </TypeDoesNotContainNull>
  1017. </file>
  1018. <file src="apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php">
  1019. <InvalidReturnType>
  1020. <code><![CDATA[Response]]></code>
  1021. </InvalidReturnType>
  1022. </file>
  1023. <file src="apps/settings/lib/AppInfo/Application.php">
  1024. <UndefinedInterfaceMethod>
  1025. <code><![CDATA[getSettingsManager]]></code>
  1026. </UndefinedInterfaceMethod>
  1027. </file>
  1028. <file src="apps/settings/lib/Hooks.php">
  1029. <InvalidArrayOffset>
  1030. <code><![CDATA[[$user->getEMailAddress() => $user->getDisplayName()]]]></code>
  1031. </InvalidArrayOffset>
  1032. </file>
  1033. <file src="apps/settings/lib/Settings/Admin/Security.php">
  1034. <UndefinedInterfaceMethod>
  1035. <code><![CDATA[isReady]]></code>
  1036. </UndefinedInterfaceMethod>
  1037. </file>
  1038. <file src="apps/sharebymail/lib/ShareByMailProvider.php">
  1039. <InvalidArgument>
  1040. <code><![CDATA[$share->getId()]]></code>
  1041. <code><![CDATA[(int)$data['id']]]></code>
  1042. </InvalidArgument>
  1043. </file>
  1044. <file src="apps/systemtags/lib/Activity/Listener.php">
  1045. <InvalidArgument>
  1046. <code><![CDATA[$event->getObjectId()]]></code>
  1047. <code><![CDATA[$event->getObjectId()]]></code>
  1048. </InvalidArgument>
  1049. </file>
  1050. <file src="apps/theming/lib/Util.php">
  1051. <InvalidReturnStatement>
  1052. <code><![CDATA[array_values($color->getRgb())]]></code>
  1053. </InvalidReturnStatement>
  1054. <InvalidReturnType>
  1055. <code><![CDATA[array{0: int, 1: int, 2: int}]]></code>
  1056. </InvalidReturnType>
  1057. </file>
  1058. <file src="apps/user_ldap/appinfo/routes.php">
  1059. <InvalidScope>
  1060. <code><![CDATA[$this]]></code>
  1061. </InvalidScope>
  1062. </file>
  1063. <file src="apps/user_ldap/lib/Access.php">
  1064. <InvalidReturnStatement>
  1065. <code><![CDATA[$uuid]]></code>
  1066. <code><![CDATA[$values]]></code>
  1067. </InvalidReturnStatement>
  1068. <InvalidReturnType>
  1069. <code><![CDATA[string[]]]></code>
  1070. </InvalidReturnType>
  1071. <RedundantCast>
  1072. <code><![CDATA[(int)$e->getCode()]]></code>
  1073. </RedundantCast>
  1074. </file>
  1075. <file src="apps/user_ldap/lib/Connection.php">
  1076. <NoValue>
  1077. <code><![CDATA[$subj]]></code>
  1078. </NoValue>
  1079. <ParadoxicalCondition>
  1080. <code><![CDATA[default:
  1081. $subj = $key;
  1082. break;]]></code>
  1083. </ParadoxicalCondition>
  1084. </file>
  1085. <file src="apps/user_ldap/lib/Group_LDAP.php">
  1086. <InvalidScalarArgument>
  1087. <code><![CDATA[$groupID]]></code>
  1088. </InvalidScalarArgument>
  1089. </file>
  1090. <file src="apps/user_ldap/lib/Group_Proxy.php">
  1091. <ParamNameMismatch>
  1092. <code><![CDATA[$gid]]></code>
  1093. </ParamNameMismatch>
  1094. </file>
  1095. <file src="apps/user_ldap/lib/Jobs/Sync.php">
  1096. <InvalidOperand>
  1097. <code><![CDATA[$i]]></code>
  1098. </InvalidOperand>
  1099. </file>
  1100. <file src="apps/user_ldap/lib/Mapping/AbstractMapping.php">
  1101. <RedundantCondition>
  1102. <code><![CDATA[isset($qb)]]></code>
  1103. </RedundantCondition>
  1104. <TypeDoesNotContainNull>
  1105. <code><![CDATA[isset($qb)]]></code>
  1106. </TypeDoesNotContainNull>
  1107. </file>
  1108. <file src="apps/user_ldap/lib/User/Manager.php">
  1109. <InvalidDocblock>
  1110. <code><![CDATA[public function setLdapAccess(Access $access) {]]></code>
  1111. </InvalidDocblock>
  1112. </file>
  1113. <file src="apps/user_ldap/lib/User/User.php">
  1114. <FalsableReturnStatement>
  1115. <code><![CDATA[$this->avatarImage]]></code>
  1116. </FalsableReturnStatement>
  1117. <InvalidPropertyAssignmentValue>
  1118. <code><![CDATA[$this->refreshedFeatures]]></code>
  1119. </InvalidPropertyAssignmentValue>
  1120. <InvalidReturnType>
  1121. <code><![CDATA[null]]></code>
  1122. </InvalidReturnType>
  1123. <RedundantCondition>
  1124. <code><![CDATA[$aQuota && (count($aQuota) > 0)]]></code>
  1125. </RedundantCondition>
  1126. </file>
  1127. <file src="apps/user_ldap/lib/User_LDAP.php">
  1128. <ImplementedReturnTypeMismatch>
  1129. <code><![CDATA[string|false]]></code>
  1130. </ImplementedReturnTypeMismatch>
  1131. <MoreSpecificImplementedParamType>
  1132. <code><![CDATA[$limit]]></code>
  1133. <code><![CDATA[$offset]]></code>
  1134. </MoreSpecificImplementedParamType>
  1135. <NullableReturnStatement>
  1136. <code><![CDATA[null]]></code>
  1137. </NullableReturnStatement>
  1138. <RedundantCondition>
  1139. <code><![CDATA[$displayName && (count($displayName) > 0)]]></code>
  1140. <code><![CDATA[is_string($dn)]]></code>
  1141. </RedundantCondition>
  1142. </file>
  1143. <file src="apps/user_ldap/lib/User_Proxy.php">
  1144. <ParamNameMismatch>
  1145. <code><![CDATA[$uid]]></code>
  1146. </ParamNameMismatch>
  1147. </file>
  1148. <file src="apps/user_ldap/lib/Wizard.php">
  1149. <InvalidArrayOffset>
  1150. <code><![CDATA[$possibleAttrs[$i]]]></code>
  1151. </InvalidArrayOffset>
  1152. </file>
  1153. <file src="apps/user_status/lib/AppInfo/Application.php">
  1154. <UndefinedInterfaceMethod>
  1155. <code><![CDATA[registerProvider]]></code>
  1156. </UndefinedInterfaceMethod>
  1157. </file>
  1158. <file src="apps/workflowengine/lib/Check/AbstractStringCheck.php">
  1159. <NullArgument>
  1160. <code><![CDATA[null]]></code>
  1161. </NullArgument>
  1162. </file>
  1163. <file src="apps/workflowengine/lib/Check/FileSize.php">
  1164. <FalsableReturnStatement>
  1165. <code><![CDATA[$this->size]]></code>
  1166. </FalsableReturnStatement>
  1167. <InvalidPropertyAssignmentValue>
  1168. <code><![CDATA[$size]]></code>
  1169. </InvalidPropertyAssignmentValue>
  1170. <InvalidReturnStatement>
  1171. <code><![CDATA[$this->size]]></code>
  1172. </InvalidReturnStatement>
  1173. <InvalidReturnType>
  1174. <code><![CDATA[string]]></code>
  1175. </InvalidReturnType>
  1176. </file>
  1177. <file src="apps/workflowengine/lib/Check/RequestRemoteAddress.php">
  1178. <InvalidArgument>
  1179. <code><![CDATA[$decodedValue[1]]]></code>
  1180. <code><![CDATA[$decodedValue[1]]]></code>
  1181. <code><![CDATA[$decodedValue[1]]]></code>
  1182. <code><![CDATA[$decodedValue[1]]]></code>
  1183. </InvalidArgument>
  1184. </file>
  1185. <file src="apps/workflowengine/lib/Check/TFileCheck.php">
  1186. <InvalidArgument>
  1187. <code><![CDATA[['app' => Application::APP_ID, 'class' => get_class($subject)]]]></code>
  1188. </InvalidArgument>
  1189. </file>
  1190. <file src="apps/workflowengine/lib/Entity/File.php">
  1191. <InvalidReturnType>
  1192. <code><![CDATA[string]]></code>
  1193. </InvalidReturnType>
  1194. </file>
  1195. <file src="apps/workflowengine/lib/Manager.php">
  1196. <InvalidArgument>
  1197. <code><![CDATA[$missingCheck]]></code>
  1198. </InvalidArgument>
  1199. <InvalidOperand>
  1200. <code><![CDATA[$result]]></code>
  1201. </InvalidOperand>
  1202. <InvalidReturnStatement>
  1203. <code><![CDATA[$result]]></code>
  1204. </InvalidReturnStatement>
  1205. <InvalidReturnType>
  1206. <code><![CDATA[bool]]></code>
  1207. </InvalidReturnType>
  1208. </file>
  1209. <file src="core/BackgroundJobs/CheckForUserCertificates.php">
  1210. <ParamNameMismatch>
  1211. <code><![CDATA[$arguments]]></code>
  1212. </ParamNameMismatch>
  1213. </file>
  1214. <file src="core/Command/App/ListApps.php">
  1215. <LessSpecificImplementedReturnType>
  1216. <code><![CDATA[array]]></code>
  1217. </LessSpecificImplementedReturnType>
  1218. </file>
  1219. <file src="core/Command/Config/Import.php">
  1220. <InvalidScalarArgument>
  1221. <code><![CDATA[0]]></code>
  1222. <code><![CDATA[1]]></code>
  1223. </InvalidScalarArgument>
  1224. </file>
  1225. <file src="core/Command/Config/ListConfigs.php">
  1226. <FalsableReturnStatement>
  1227. <code><![CDATA[$this->appConfig->getValues($app, false)]]></code>
  1228. </FalsableReturnStatement>
  1229. <TooManyArguments>
  1230. <code><![CDATA[getFilteredValues]]></code>
  1231. </TooManyArguments>
  1232. </file>
  1233. <file src="core/Command/Db/ConvertType.php">
  1234. <InvalidScalarArgument>
  1235. <code><![CDATA[0]]></code>
  1236. <code><![CDATA[1]]></code>
  1237. </InvalidScalarArgument>
  1238. </file>
  1239. <file src="core/Command/Encryption/Enable.php">
  1240. <NullArgument>
  1241. <code><![CDATA[null]]></code>
  1242. </NullArgument>
  1243. </file>
  1244. <file src="core/Command/Log/File.php">
  1245. <InvalidReturnStatement>
  1246. <code><![CDATA[[0]]]></code>
  1247. </InvalidReturnStatement>
  1248. <InvalidReturnType>
  1249. <code><![CDATA[string[]]]></code>
  1250. </InvalidReturnType>
  1251. </file>
  1252. <file src="core/Command/Log/Manage.php">
  1253. <InvalidArgument>
  1254. <code><![CDATA[$levelNum]]></code>
  1255. </InvalidArgument>
  1256. </file>
  1257. <file src="core/Command/Maintenance/DataFingerprint.php">
  1258. <InvalidScalarArgument>
  1259. <code><![CDATA[$this->timeFactory->getTime()]]></code>
  1260. </InvalidScalarArgument>
  1261. </file>
  1262. <file src="core/Command/Maintenance/Mimetype/UpdateDB.php">
  1263. <UndefinedInterfaceMethod>
  1264. <code><![CDATA[getAllMappings]]></code>
  1265. <code><![CDATA[updateFilecache]]></code>
  1266. </UndefinedInterfaceMethod>
  1267. </file>
  1268. <file src="core/Command/Preview/Repair.php">
  1269. <UndefinedInterfaceMethod>
  1270. <code><![CDATA[section]]></code>
  1271. <code><![CDATA[section]]></code>
  1272. </UndefinedInterfaceMethod>
  1273. </file>
  1274. <file src="core/Command/Preview/ResetRenderedTexts.php">
  1275. <InvalidReturnStatement>
  1276. <code><![CDATA[[]]]></code>
  1277. </InvalidReturnStatement>
  1278. </file>
  1279. <file src="core/Controller/ClientFlowLoginV2Controller.php">
  1280. <TypeDoesNotContainType>
  1281. <code><![CDATA[!is_string($stateToken)]]></code>
  1282. </TypeDoesNotContainType>
  1283. </file>
  1284. <file src="core/Controller/CollaborationResourcesController.php">
  1285. <UndefinedInterfaceMethod>
  1286. <code><![CDATA[searchCollections]]></code>
  1287. </UndefinedInterfaceMethod>
  1288. </file>
  1289. <file src="core/Controller/LostController.php">
  1290. <RedundantCast>
  1291. <code><![CDATA[(int)$e->getCode()]]></code>
  1292. </RedundantCast>
  1293. </file>
  1294. <file src="core/Controller/UnifiedSearchController.php">
  1295. <UndefinedInterfaceMethod>
  1296. <code><![CDATA[findMatchingRoute]]></code>
  1297. </UndefinedInterfaceMethod>
  1298. </file>
  1299. <file src="core/Middleware/TwoFactorMiddleware.php">
  1300. <NoInterfaceProperties>
  1301. <code><![CDATA[$this->request->server]]></code>
  1302. </NoInterfaceProperties>
  1303. </file>
  1304. <file src="lib/autoloader.php">
  1305. <RedundantCondition>
  1306. <code><![CDATA[$this->memoryCache]]></code>
  1307. </RedundantCondition>
  1308. </file>
  1309. <file src="lib/base.php">
  1310. <InvalidArgument>
  1311. <code><![CDATA[$restrictions]]></code>
  1312. </InvalidArgument>
  1313. </file>
  1314. <file src="lib/private/Activity/Manager.php">
  1315. <InvalidPropertyAssignmentValue>
  1316. <code><![CDATA[$this->filterClasses]]></code>
  1317. <code><![CDATA[$this->providerClasses]]></code>
  1318. <code><![CDATA[$this->settingsClasses]]></code>
  1319. </InvalidPropertyAssignmentValue>
  1320. <LessSpecificReturnStatement>
  1321. <code><![CDATA[$this->settings]]></code>
  1322. </LessSpecificReturnStatement>
  1323. <MoreSpecificReturnType>
  1324. <code><![CDATA[ActivitySettings[]]]></code>
  1325. </MoreSpecificReturnType>
  1326. </file>
  1327. <file src="lib/private/AllConfig.php">
  1328. <MoreSpecificImplementedParamType>
  1329. <code><![CDATA[$key]]></code>
  1330. </MoreSpecificImplementedParamType>
  1331. </file>
  1332. <file src="lib/private/App/AppStore/Fetcher/Fetcher.php">
  1333. <TooManyArguments>
  1334. <code><![CDATA[fetch]]></code>
  1335. </TooManyArguments>
  1336. </file>
  1337. <file src="lib/private/App/DependencyAnalyzer.php">
  1338. <InvalidNullableReturnType>
  1339. <code><![CDATA[bool]]></code>
  1340. </InvalidNullableReturnType>
  1341. <NullableReturnStatement>
  1342. <code><![CDATA[version_compare($first, $second, $operator)]]></code>
  1343. </NullableReturnStatement>
  1344. </file>
  1345. <file src="lib/private/App/InfoParser.php">
  1346. <InvalidArrayOffset>
  1347. <code><![CDATA[$array[$element][]]]></code>
  1348. <code><![CDATA[$array[$element][]]]></code>
  1349. </InvalidArrayOffset>
  1350. <InvalidReturnStatement>
  1351. <code><![CDATA[(string)$xml]]></code>
  1352. </InvalidReturnStatement>
  1353. <InvalidReturnType>
  1354. <code><![CDATA[array]]></code>
  1355. </InvalidReturnType>
  1356. </file>
  1357. <file src="lib/private/AppConfig.php">
  1358. <NullableReturnStatement>
  1359. <code><![CDATA[$this->fastCache[$app][$key] ?? $default]]></code>
  1360. </NullableReturnStatement>
  1361. </file>
  1362. <file src="lib/private/AppFramework/Bootstrap/Coordinator.php">
  1363. <InvalidPropertyAssignmentValue>
  1364. <code><![CDATA[$this->bootedApps]]></code>
  1365. </InvalidPropertyAssignmentValue>
  1366. </file>
  1367. <file src="lib/private/AppFramework/Bootstrap/FunctionInjector.php">
  1368. <UndefinedMethod>
  1369. <code><![CDATA[getName]]></code>
  1370. </UndefinedMethod>
  1371. </file>
  1372. <file src="lib/private/AppFramework/DependencyInjection/DIContainer.php">
  1373. <ImplementedReturnTypeMismatch>
  1374. <code><![CDATA[boolean|null]]></code>
  1375. </ImplementedReturnTypeMismatch>
  1376. <InvalidReturnStatement>
  1377. <code><![CDATA[$this->server]]></code>
  1378. </InvalidReturnStatement>
  1379. <InvalidReturnType>
  1380. <code><![CDATA[\OCP\IServerContainer]]></code>
  1381. </InvalidReturnType>
  1382. <UndefinedInterfaceMethod>
  1383. <code><![CDATA[getAppDataDir]]></code>
  1384. </UndefinedInterfaceMethod>
  1385. </file>
  1386. <file src="lib/private/AppFramework/Http/Dispatcher.php">
  1387. <NoInterfaceProperties>
  1388. <code><![CDATA[$this->request->method]]></code>
  1389. </NoInterfaceProperties>
  1390. <NullArgument>
  1391. <code><![CDATA[null]]></code>
  1392. </NullArgument>
  1393. </file>
  1394. <file src="lib/private/AppFramework/Http/Output.php">
  1395. <InvalidReturnStatement>
  1396. <code><![CDATA[@readfile($path)]]></code>
  1397. <code><![CDATA[http_response_code()]]></code>
  1398. </InvalidReturnStatement>
  1399. <InvalidReturnType>
  1400. <code><![CDATA[bool]]></code>
  1401. <code><![CDATA[int]]></code>
  1402. </InvalidReturnType>
  1403. </file>
  1404. <file src="lib/private/AppFramework/Http/Request.php">
  1405. <NullableReturnStatement>
  1406. <code><![CDATA[$this->getOverwriteHost()]]></code>
  1407. <code><![CDATA[isset($this->cookies[$key]) ? $this->cookies[$key] : null]]></code>
  1408. <code><![CDATA[isset($this->env[$key]) ? $this->env[$key] : null]]></code>
  1409. <code><![CDATA[isset($this->files[$key]) ? $this->files[$key] : null]]></code>
  1410. </NullableReturnStatement>
  1411. <RedundantCondition>
  1412. <code><![CDATA[\is_array($params)]]></code>
  1413. </RedundantCondition>
  1414. <UndefinedFunction>
  1415. <code><![CDATA[\Sabre\HTTP\decodePath($pathInfo)]]></code>
  1416. </UndefinedFunction>
  1417. </file>
  1418. <file src="lib/private/AppFramework/Middleware/OCSMiddleware.php">
  1419. <InternalMethod>
  1420. <code><![CDATA[setOCSVersion]]></code>
  1421. </InternalMethod>
  1422. </file>
  1423. <file src="lib/private/AppFramework/Middleware/Security/CORSMiddleware.php">
  1424. <NoInterfaceProperties>
  1425. <code><![CDATA[$this->request->server]]></code>
  1426. <code><![CDATA[$this->request->server]]></code>
  1427. </NoInterfaceProperties>
  1428. </file>
  1429. <file src="lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php">
  1430. <NoInterfaceProperties>
  1431. <code><![CDATA[$this->request->server]]></code>
  1432. </NoInterfaceProperties>
  1433. <UndefinedClass>
  1434. <code><![CDATA[\OCA\Talk\Controller\PageController]]></code>
  1435. </UndefinedClass>
  1436. </file>
  1437. <file src="lib/private/AppFramework/Routing/RouteConfig.php">
  1438. <InvalidArrayOffset>
  1439. <code><![CDATA[$action['url-postfix']]]></code>
  1440. </InvalidArrayOffset>
  1441. </file>
  1442. <file src="lib/private/AppFramework/Services/AppConfig.php">
  1443. <MoreSpecificImplementedParamType>
  1444. <code><![CDATA[$default]]></code>
  1445. </MoreSpecificImplementedParamType>
  1446. </file>
  1447. <file src="lib/private/AppFramework/Utility/SimpleContainer.php">
  1448. <LessSpecificReturnStatement>
  1449. <code><![CDATA[$class->newInstance()]]></code>
  1450. <code><![CDATA[$class->newInstanceArgs(array_map(function (ReflectionParameter $parameter) {
  1451. $parameterType = $parameter->getType();
  1452. $resolveName = $parameter->getName();
  1453. // try to find out if it is a class or a simple parameter
  1454. if ($parameterType !== null && ($parameterType instanceof ReflectionNamedType) && !$parameterType->isBuiltin()) {
  1455. $resolveName = $parameterType->getName();
  1456. }
  1457. try {
  1458. $builtIn = $parameter->hasType() && ($parameter->getType() instanceof ReflectionNamedType)
  1459. && $parameter->getType()->isBuiltin();
  1460. return $this->query($resolveName, !$builtIn);
  1461. } catch (QueryException $e) {
  1462. // Service not found, use the default value when available
  1463. if ($parameter->isDefaultValueAvailable()) {
  1464. return $parameter->getDefaultValue();
  1465. }
  1466. if ($parameterType !== null && ($parameterType instanceof ReflectionNamedType) && !$parameterType->isBuiltin()) {
  1467. $resolveName = $parameter->getName();
  1468. try {
  1469. return $this->query($resolveName);
  1470. } catch (QueryException $e2) {
  1471. // Pass null if typed and nullable
  1472. if ($parameter->allowsNull() && ($parameterType instanceof ReflectionNamedType)) {
  1473. return null;
  1474. }
  1475. // don't lose the error we got while trying to query by type
  1476. throw new QueryException($e->getMessage(), (int)$e->getCode(), $e);
  1477. }
  1478. }
  1479. throw $e;
  1480. }
  1481. }, $constructor->getParameters()))]]></code>
  1482. </LessSpecificReturnStatement>
  1483. <MissingTemplateParam>
  1484. <code><![CDATA[ArrayAccess]]></code>
  1485. </MissingTemplateParam>
  1486. <MoreSpecificReturnType>
  1487. <code><![CDATA[\stdClass]]></code>
  1488. </MoreSpecificReturnType>
  1489. <RedundantCast>
  1490. <code><![CDATA[(int)$e->getCode()]]></code>
  1491. </RedundantCast>
  1492. </file>
  1493. <file src="lib/private/Archive/TAR.php">
  1494. <UndefinedDocblockClass>
  1495. <code><![CDATA[$this->tar->extractInString($path)]]></code>
  1496. </UndefinedDocblockClass>
  1497. </file>
  1498. <file src="lib/private/Authentication/LoginCredentials/Store.php">
  1499. <RedundantCondition>
  1500. <code><![CDATA[$trySession]]></code>
  1501. </RedundantCondition>
  1502. </file>
  1503. <file src="lib/private/Authentication/Token/PublicKeyToken.php">
  1504. <UndefinedMagicMethod>
  1505. <code><![CDATA[getExpires]]></code>
  1506. <code><![CDATA[getLastCheck]]></code>
  1507. <code><![CDATA[getLoginName]]></code>
  1508. <code><![CDATA[getName]]></code>
  1509. <code><![CDATA[getPassword]]></code>
  1510. <code><![CDATA[getRemember]]></code>
  1511. <code><![CDATA[getScope]]></code>
  1512. <code><![CDATA[setExpires]]></code>
  1513. <code><![CDATA[setLastCheck]]></code>
  1514. <code><![CDATA[setName]]></code>
  1515. <code><![CDATA[setPassword]]></code>
  1516. <code><![CDATA[setPasswordInvalid]]></code>
  1517. <code><![CDATA[setScope]]></code>
  1518. <code><![CDATA[setScope]]></code>
  1519. <code><![CDATA[setToken]]></code>
  1520. <code><![CDATA[setType]]></code>
  1521. </UndefinedMagicMethod>
  1522. </file>
  1523. <file src="lib/private/Authentication/TwoFactorAuth/ProviderSet.php">
  1524. <InvalidArgument>
  1525. <code><![CDATA[$this->providers]]></code>
  1526. </InvalidArgument>
  1527. <InvalidPropertyAssignmentValue>
  1528. <code><![CDATA[$this->providers]]></code>
  1529. <code><![CDATA[[]]]></code>
  1530. </InvalidPropertyAssignmentValue>
  1531. <InvalidReturnStatement>
  1532. <code><![CDATA[$this->providers]]></code>
  1533. </InvalidReturnStatement>
  1534. <InvalidReturnType>
  1535. <code><![CDATA[IProvider[]]]></code>
  1536. </InvalidReturnType>
  1537. <UndefinedInterfaceMethod>
  1538. <code><![CDATA[$this->providers]]></code>
  1539. </UndefinedInterfaceMethod>
  1540. </file>
  1541. <file src="lib/private/Cache/CappedMemoryCache.php">
  1542. <MissingTemplateParam>
  1543. <code><![CDATA[\ArrayAccess]]></code>
  1544. </MissingTemplateParam>
  1545. </file>
  1546. <file src="lib/private/Cache/File.php">
  1547. <LessSpecificImplementedReturnType>
  1548. <code><![CDATA[bool|mixed]]></code>
  1549. <code><![CDATA[bool|mixed]]></code>
  1550. </LessSpecificImplementedReturnType>
  1551. </file>
  1552. <file src="lib/private/Calendar/Manager.php">
  1553. <LessSpecificReturnStatement>
  1554. <code><![CDATA[array_merge(
  1555. ...array_map(function ($registration) use ($principalUri, $calendarUris) {
  1556. try {
  1557. /** @var ICalendarProvider $provider */
  1558. $provider = $this->container->get($registration->getService());
  1559. } catch (Throwable $e) {
  1560. $this->logger->error('Could not load calendar provider ' . $registration->getService() . ': ' . $e->getMessage(), [
  1561. 'exception' => $e,
  1562. ]);
  1563. return [];
  1564. }
  1565. return $provider->getCalendars($principalUri, $calendarUris);
  1566. }, $context->getCalendarProviders())
  1567. )]]></code>
  1568. </LessSpecificReturnStatement>
  1569. <MoreSpecificReturnType>
  1570. <code><![CDATA[ICreateFromString[]]]></code>
  1571. </MoreSpecificReturnType>
  1572. <NamedArgumentNotAllowed>
  1573. <code><![CDATA[array_map(function ($registration) use ($principalUri, $calendarUris) {
  1574. try {
  1575. /** @var ICalendarProvider $provider */
  1576. $provider = $this->container->get($registration->getService());
  1577. } catch (Throwable $e) {
  1578. $this->logger->error('Could not load calendar provider ' . $registration->getService() . ': ' . $e->getMessage(), [
  1579. 'exception' => $e,
  1580. ]);
  1581. return [];
  1582. }
  1583. return $provider->getCalendars($principalUri, $calendarUris);
  1584. }, $context->getCalendarProviders())]]></code>
  1585. </NamedArgumentNotAllowed>
  1586. </file>
  1587. <file src="lib/private/Command/CallableJob.php">
  1588. <ParamNameMismatch>
  1589. <code><![CDATA[$serializedCallable]]></code>
  1590. </ParamNameMismatch>
  1591. </file>
  1592. <file src="lib/private/Command/ClosureJob.php">
  1593. <InvalidArgument>
  1594. <code><![CDATA[[LaravelClosure::class]]]></code>
  1595. </InvalidArgument>
  1596. </file>
  1597. <file src="lib/private/Comments/Manager.php">
  1598. <RedundantCast>
  1599. <code><![CDATA[(string)$id]]></code>
  1600. </RedundantCast>
  1601. </file>
  1602. <file src="lib/private/Config.php">
  1603. <InvalidOperand>
  1604. <code><![CDATA[$this->delete($key)]]></code>
  1605. <code><![CDATA[$this->set($key, $value)]]></code>
  1606. </InvalidOperand>
  1607. <UndefinedVariable>
  1608. <code><![CDATA[$CONFIG]]></code>
  1609. <code><![CDATA[$CONFIG]]></code>
  1610. </UndefinedVariable>
  1611. </file>
  1612. <file src="lib/private/Console/Application.php">
  1613. <NoInterfaceProperties>
  1614. <code><![CDATA[$this->request->server]]></code>
  1615. </NoInterfaceProperties>
  1616. </file>
  1617. <file src="lib/private/ContactsManager.php">
  1618. <InvalidArgument>
  1619. <code><![CDATA[$searchOptions]]></code>
  1620. </InvalidArgument>
  1621. </file>
  1622. <file src="lib/private/DB/AdapterMySQL.php">
  1623. <InternalMethod>
  1624. <code><![CDATA[getParams]]></code>
  1625. </InternalMethod>
  1626. <InvalidArrayOffset>
  1627. <code><![CDATA[$params['collation']]]></code>
  1628. </InvalidArrayOffset>
  1629. </file>
  1630. <file src="lib/private/DB/Connection.php">
  1631. <InternalMethod>
  1632. <code><![CDATA[getParams]]></code>
  1633. </InternalMethod>
  1634. <InvalidArgument>
  1635. <code><![CDATA[$params]]></code>
  1636. </InvalidArgument>
  1637. <InvalidArrayOffset>
  1638. <code><![CDATA[$params['adapter']]]></code>
  1639. <code><![CDATA[$params['tablePrefix']]]></code>
  1640. </InvalidArrayOffset>
  1641. </file>
  1642. <file src="lib/private/DB/Exceptions/DbalException.php">
  1643. <RedundantCondition>
  1644. <code><![CDATA[is_int($original->getCode())]]></code>
  1645. </RedundantCondition>
  1646. <TypeDoesNotContainType>
  1647. <code><![CDATA[0]]></code>
  1648. </TypeDoesNotContainType>
  1649. </file>
  1650. <file src="lib/private/DB/MigrationService.php">
  1651. <LessSpecificReturnStatement>
  1652. <code><![CDATA[$s]]></code>
  1653. </LessSpecificReturnStatement>
  1654. <MoreSpecificReturnType>
  1655. <code><![CDATA[IMigrationStep]]></code>
  1656. </MoreSpecificReturnType>
  1657. </file>
  1658. <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php">
  1659. <ImplicitToStringCast>
  1660. <code><![CDATA[$this->functionBuilder->lower($x)]]></code>
  1661. </ImplicitToStringCast>
  1662. <InvalidArgument>
  1663. <code><![CDATA[$y]]></code>
  1664. <code><![CDATA[$y]]></code>
  1665. </InvalidArgument>
  1666. </file>
  1667. <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php">
  1668. <InternalMethod>
  1669. <code><![CDATA[getParams]]></code>
  1670. </InternalMethod>
  1671. <InvalidArrayOffset>
  1672. <code><![CDATA[$params['collation']]]></code>
  1673. </InvalidArrayOffset>
  1674. </file>
  1675. <file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
  1676. <InvalidNullableReturnType>
  1677. <code><![CDATA[string]]></code>
  1678. </InvalidNullableReturnType>
  1679. <NullableReturnStatement>
  1680. <code><![CDATA[$alias]]></code>
  1681. </NullableReturnStatement>
  1682. <ParamNameMismatch>
  1683. <code><![CDATA[$selects]]></code>
  1684. </ParamNameMismatch>
  1685. </file>
  1686. <file src="lib/private/DB/QueryBuilder/QuoteHelper.php">
  1687. <InvalidNullableReturnType>
  1688. <code><![CDATA[string]]></code>
  1689. </InvalidNullableReturnType>
  1690. <NullableReturnStatement>
  1691. <code><![CDATA[$string]]></code>
  1692. </NullableReturnStatement>
  1693. </file>
  1694. <file src="lib/private/DateTimeFormatter.php">
  1695. <FalsableReturnStatement>
  1696. <code><![CDATA[$l->l($type, $timestamp, [
  1697. 'width' => $format,
  1698. ])]]></code>
  1699. </FalsableReturnStatement>
  1700. <InvalidReturnStatement>
  1701. <code><![CDATA[$l->l($type, $timestamp, [
  1702. 'width' => $format,
  1703. ])]]></code>
  1704. </InvalidReturnStatement>
  1705. <InvalidReturnType>
  1706. <code><![CDATA[string]]></code>
  1707. </InvalidReturnType>
  1708. </file>
  1709. <file src="lib/private/DateTimeZone.php">
  1710. <InvalidScalarArgument>
  1711. <code><![CDATA[$timestamp]]></code>
  1712. </InvalidScalarArgument>
  1713. </file>
  1714. <file src="lib/private/Diagnostics/Query.php">
  1715. <ImplementedReturnTypeMismatch>
  1716. <code><![CDATA[float]]></code>
  1717. </ImplementedReturnTypeMismatch>
  1718. </file>
  1719. <file src="lib/private/Diagnostics/QueryLogger.php">
  1720. <InvalidArgument>
  1721. <code><![CDATA[microtime(true)]]></code>
  1722. </InvalidArgument>
  1723. <InvalidReturnType>
  1724. <code><![CDATA[stopQuery]]></code>
  1725. </InvalidReturnType>
  1726. </file>
  1727. <file src="lib/private/DirectEditing/Manager.php">
  1728. <InvalidReturnType>
  1729. <code><![CDATA[TemplateResponse]]></code>
  1730. </InvalidReturnType>
  1731. <UndefinedMethod>
  1732. <code><![CDATA[$template]]></code>
  1733. <code><![CDATA[$template]]></code>
  1734. <code><![CDATA[$template]]></code>
  1735. <code><![CDATA[$template]]></code>
  1736. </UndefinedMethod>
  1737. </file>
  1738. <file src="lib/private/DirectEditing/Token.php">
  1739. <LessSpecificReturnStatement>
  1740. <code><![CDATA[$this->manager->getFileForToken($this->data['user_id'], $this->data['file_id'], $this->data['file_path'])]]></code>
  1741. </LessSpecificReturnStatement>
  1742. <UndefinedMethod>
  1743. <code><![CDATA[getShareForToken]]></code>
  1744. </UndefinedMethod>
  1745. </file>
  1746. <file src="lib/private/Encryption/Keys/Storage.php">
  1747. <InvalidNullableReturnType>
  1748. <code><![CDATA[deleteUserKey]]></code>
  1749. </InvalidNullableReturnType>
  1750. <NullArgument>
  1751. <code><![CDATA[null]]></code>
  1752. <code><![CDATA[null]]></code>
  1753. <code><![CDATA[null]]></code>
  1754. </NullArgument>
  1755. </file>
  1756. <file src="lib/private/Encryption/Manager.php">
  1757. <ImplementedReturnTypeMismatch>
  1758. <code><![CDATA[bool]]></code>
  1759. </ImplementedReturnTypeMismatch>
  1760. </file>
  1761. <file src="lib/private/Federation/CloudFederationProviderManager.php">
  1762. <ParamNameMismatch>
  1763. <code><![CDATA[$providerId]]></code>
  1764. </ParamNameMismatch>
  1765. </file>
  1766. <file src="lib/private/Files/AppData/AppData.php">
  1767. <LessSpecificReturnStatement>
  1768. <code><![CDATA[$this->folder]]></code>
  1769. </LessSpecificReturnStatement>
  1770. <MoreSpecificReturnType>
  1771. <code><![CDATA[Folder]]></code>
  1772. </MoreSpecificReturnType>
  1773. </file>
  1774. <file src="lib/private/Files/Cache/Cache.php">
  1775. <InvalidArgument>
  1776. <code><![CDATA[$parentData]]></code>
  1777. </InvalidArgument>
  1778. <InvalidNullableReturnType>
  1779. <code><![CDATA[array]]></code>
  1780. </InvalidNullableReturnType>
  1781. <InvalidScalarArgument>
  1782. <code><![CDATA[$path]]></code>
  1783. <code><![CDATA[\OC_Util::normalizeUnicode($path)]]></code>
  1784. </InvalidScalarArgument>
  1785. <NullableReturnStatement>
  1786. <code><![CDATA[null]]></code>
  1787. <code><![CDATA[null]]></code>
  1788. </NullableReturnStatement>
  1789. </file>
  1790. <file src="lib/private/Files/Cache/FailedCache.php">
  1791. <InvalidReturnStatement>
  1792. <code><![CDATA[[]]]></code>
  1793. </InvalidReturnStatement>
  1794. <InvalidReturnType>
  1795. <code><![CDATA[getIncomplete]]></code>
  1796. <code><![CDATA[insert]]></code>
  1797. <code><![CDATA[put]]></code>
  1798. </InvalidReturnType>
  1799. </file>
  1800. <file src="lib/private/Files/Cache/HomeCache.php">
  1801. <FalsableReturnStatement>
  1802. <code><![CDATA[$data]]></code>
  1803. </FalsableReturnStatement>
  1804. <MoreSpecificImplementedParamType>
  1805. <code><![CDATA[$file]]></code>
  1806. <code><![CDATA[$file]]></code>
  1807. </MoreSpecificImplementedParamType>
  1808. </file>
  1809. <file src="lib/private/Files/Cache/Scanner.php">
  1810. <InvalidArgument>
  1811. <code><![CDATA[self::SCAN_RECURSIVE_INCOMPLETE]]></code>
  1812. </InvalidArgument>
  1813. <InvalidReturnStatement>
  1814. <code><![CDATA[$existingChildren]]></code>
  1815. </InvalidReturnStatement>
  1816. <InvalidReturnType>
  1817. <code><![CDATA[array[]]]></code>
  1818. </InvalidReturnType>
  1819. </file>
  1820. <file src="lib/private/Files/Cache/Storage.php">
  1821. <InvalidNullableReturnType>
  1822. <code><![CDATA[array]]></code>
  1823. </InvalidNullableReturnType>
  1824. <NullableReturnStatement>
  1825. <code><![CDATA[self::getGlobalCache()->getStorageInfo($storageId)]]></code>
  1826. </NullableReturnStatement>
  1827. </file>
  1828. <file src="lib/private/Files/Cache/Updater.php">
  1829. <RedundantCondition>
  1830. <code><![CDATA[$this->cache instanceof Cache]]></code>
  1831. </RedundantCondition>
  1832. </file>
  1833. <file src="lib/private/Files/Cache/Wrapper/CacheWrapper.php">
  1834. <LessSpecificImplementedReturnType>
  1835. <code><![CDATA[array]]></code>
  1836. <code><![CDATA[array]]></code>
  1837. </LessSpecificImplementedReturnType>
  1838. </file>
  1839. <file src="lib/private/Files/Config/MountProviderCollection.php">
  1840. <InvalidOperand>
  1841. <code><![CDATA[$user]]></code>
  1842. </InvalidOperand>
  1843. <RedundantCondition>
  1844. <code><![CDATA[get_class($provider) !== 'OCA\Files_Sharing\MountProvider']]></code>
  1845. </RedundantCondition>
  1846. <TypeDoesNotContainType>
  1847. <code><![CDATA[get_class($provider) === 'OCA\Files_Sharing\MountProvider']]></code>
  1848. </TypeDoesNotContainType>
  1849. </file>
  1850. <file src="lib/private/Files/Config/UserMountCache.php">
  1851. <InvalidReturnType>
  1852. <code><![CDATA[remoteStorageMounts]]></code>
  1853. <code><![CDATA[removeUserStorageMount]]></code>
  1854. </InvalidReturnType>
  1855. <LessSpecificImplementedReturnType>
  1856. <code><![CDATA[array]]></code>
  1857. </LessSpecificImplementedReturnType>
  1858. <LessSpecificReturnStatement>
  1859. <code><![CDATA[$this->cacheInfoCache[$fileId]]]></code>
  1860. </LessSpecificReturnStatement>
  1861. <MoreSpecificReturnType>
  1862. <code><![CDATA[array{int, string, int}]]></code>
  1863. </MoreSpecificReturnType>
  1864. </file>
  1865. <file src="lib/private/Files/Filesystem.php">
  1866. <LessSpecificReturnStatement>
  1867. <code><![CDATA[$mount->getStorage()]]></code>
  1868. <code><![CDATA[self::getMountManager()->findByNumericId($id)]]></code>
  1869. <code><![CDATA[self::getMountManager()->findByStorageId($id)]]></code>
  1870. </LessSpecificReturnStatement>
  1871. <MoreSpecificReturnType>
  1872. <code><![CDATA[Mount\MountPoint[]]]></code>
  1873. <code><![CDATA[Mount\MountPoint[]]]></code>
  1874. <code><![CDATA[\OC\Files\Storage\Storage|null]]></code>
  1875. </MoreSpecificReturnType>
  1876. <TooManyArguments>
  1877. <code><![CDATA[addStorageWrapper]]></code>
  1878. </TooManyArguments>
  1879. </file>
  1880. <file src="lib/private/Files/Mount/MountPoint.php">
  1881. <UndefinedInterfaceMethod>
  1882. <code><![CDATA[wrap]]></code>
  1883. </UndefinedInterfaceMethod>
  1884. </file>
  1885. <file src="lib/private/Files/Mount/ObjectHomeMountProvider.php">
  1886. <InvalidNullableReturnType>
  1887. <code><![CDATA[\OCP\Files\Mount\IMountPoint]]></code>
  1888. </InvalidNullableReturnType>
  1889. <NullableReturnStatement>
  1890. <code><![CDATA[null]]></code>
  1891. </NullableReturnStatement>
  1892. </file>
  1893. <file src="lib/private/Files/Node/File.php">
  1894. <InvalidReturnStatement>
  1895. <code><![CDATA[$this->view->hash($type, $this->path, $raw)]]></code>
  1896. </InvalidReturnStatement>
  1897. <InvalidReturnType>
  1898. <code><![CDATA[string]]></code>
  1899. </InvalidReturnType>
  1900. </file>
  1901. <file src="lib/private/Files/Node/Folder.php">
  1902. <LessSpecificReturnStatement>
  1903. <code><![CDATA[array_map(function (FileInfo $file) {
  1904. return $this->createNode($file->getPath(), $file);
  1905. }, $files)]]></code>
  1906. </LessSpecificReturnStatement>
  1907. <MoreSpecificImplementedParamType>
  1908. <code><![CDATA[$node]]></code>
  1909. </MoreSpecificImplementedParamType>
  1910. <MoreSpecificReturnType>
  1911. <code><![CDATA[\OC\Files\Node\Node[]]]></code>
  1912. </MoreSpecificReturnType>
  1913. </file>
  1914. <file src="lib/private/Files/Node/HookConnector.php">
  1915. <UndefinedInterfaceMethod>
  1916. <code><![CDATA[emit]]></code>
  1917. <code><![CDATA[emit]]></code>
  1918. <code><![CDATA[emit]]></code>
  1919. <code><![CDATA[emit]]></code>
  1920. <code><![CDATA[emit]]></code>
  1921. <code><![CDATA[emit]]></code>
  1922. <code><![CDATA[emit]]></code>
  1923. <code><![CDATA[emit]]></code>
  1924. <code><![CDATA[emit]]></code>
  1925. <code><![CDATA[emit]]></code>
  1926. <code><![CDATA[emit]]></code>
  1927. <code><![CDATA[emit]]></code>
  1928. <code><![CDATA[emit]]></code>
  1929. </UndefinedInterfaceMethod>
  1930. </file>
  1931. <file src="lib/private/Files/Node/LazyFolder.php">
  1932. <InvalidReturnStatement>
  1933. <code><![CDATA[$this->__call(__FUNCTION__, func_get_args())]]></code>
  1934. </InvalidReturnStatement>
  1935. </file>
  1936. <file src="lib/private/Files/Node/LazyUserFolder.php">
  1937. <LessSpecificReturnStatement>
  1938. <code><![CDATA[$node]]></code>
  1939. </LessSpecificReturnStatement>
  1940. <MoreSpecificReturnType>
  1941. <code><![CDATA[Folder]]></code>
  1942. </MoreSpecificReturnType>
  1943. </file>
  1944. <file src="lib/private/Files/Node/Node.php">
  1945. <InvalidNullableReturnType>
  1946. <code><![CDATA[FileInfo]]></code>
  1947. </InvalidNullableReturnType>
  1948. <InvalidReturnType>
  1949. <code><![CDATA[getChecksum]]></code>
  1950. </InvalidReturnType>
  1951. <LessSpecificReturnStatement>
  1952. <code><![CDATA[$this->parent]]></code>
  1953. </LessSpecificReturnStatement>
  1954. <MoreSpecificReturnType>
  1955. <code><![CDATA[INode|IRootFolder]]></code>
  1956. </MoreSpecificReturnType>
  1957. <NullableReturnStatement>
  1958. <code><![CDATA[$this->fileInfo]]></code>
  1959. </NullableReturnStatement>
  1960. <ParamNameMismatch>
  1961. <code><![CDATA[$type]]></code>
  1962. </ParamNameMismatch>
  1963. <UndefinedInterfaceMethod>
  1964. <code><![CDATA[$this->fileInfo]]></code>
  1965. <code><![CDATA[$this->fileInfo]]></code>
  1966. </UndefinedInterfaceMethod>
  1967. </file>
  1968. <file src="lib/private/Files/Node/Root.php">
  1969. <LessSpecificReturnStatement>
  1970. <code><![CDATA[$folders]]></code>
  1971. <code><![CDATA[$this->mountManager->findByNumericId($numericId)]]></code>
  1972. <code><![CDATA[$this->mountManager->findByStorageId($storageId)]]></code>
  1973. <code><![CDATA[$this->mountManager->findIn($mountPoint)]]></code>
  1974. <code><![CDATA[$this->user]]></code>
  1975. </LessSpecificReturnStatement>
  1976. <MoreSpecificReturnType>
  1977. <code><![CDATA[MountPoint[]]]></code>
  1978. <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code>
  1979. <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code>
  1980. <code><![CDATA[\OC\User\User]]></code>
  1981. </MoreSpecificReturnType>
  1982. <NullableReturnStatement>
  1983. <code><![CDATA[$this->user]]></code>
  1984. </NullableReturnStatement>
  1985. <UndefinedMethod>
  1986. <code><![CDATA[remove]]></code>
  1987. </UndefinedMethod>
  1988. </file>
  1989. <file src="lib/private/Files/ObjectStore/S3ConnectionTrait.php">
  1990. <InternalClass>
  1991. <code><![CDATA[ClientResolver::_default_signature_provider()]]></code>
  1992. <code><![CDATA[ClientResolver::_default_signature_provider()]]></code>
  1993. </InternalClass>
  1994. <InternalMethod>
  1995. <code><![CDATA[ClientResolver::_default_signature_provider()]]></code>
  1996. </InternalMethod>
  1997. <UndefinedFunction>
  1998. <code><![CDATA[\Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())]]></code>
  1999. </UndefinedFunction>
  2000. </file>
  2001. <file src="lib/private/Files/ObjectStore/S3ObjectTrait.php">
  2002. <InternalMethod>
  2003. <code><![CDATA[upload]]></code>
  2004. </InternalMethod>
  2005. <UndefinedFunction>
  2006. <code><![CDATA[\Aws\serialize($command)]]></code>
  2007. </UndefinedFunction>
  2008. </file>
  2009. <file src="lib/private/Files/Storage/Common.php">
  2010. <InvalidOperand>
  2011. <code><![CDATA[!$permissions]]></code>
  2012. <code><![CDATA[$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file)]]></code>
  2013. </InvalidOperand>
  2014. </file>
  2015. <file src="lib/private/Files/Storage/DAV.php">
  2016. <InvalidClass>
  2017. <code><![CDATA[ArrayCache]]></code>
  2018. <code><![CDATA[ArrayCache]]></code>
  2019. </InvalidClass>
  2020. <InvalidReturnStatement>
  2021. <code><![CDATA[$response->getBody()]]></code>
  2022. </InvalidReturnStatement>
  2023. <InvalidReturnType>
  2024. <code><![CDATA[fopen]]></code>
  2025. </InvalidReturnType>
  2026. </file>
  2027. <file src="lib/private/Files/Storage/Local.php">
  2028. <TypeDoesNotContainNull>
  2029. <code><![CDATA[$space === false || is_null($space)]]></code>
  2030. <code><![CDATA[is_null($space)]]></code>
  2031. </TypeDoesNotContainNull>
  2032. <TypeDoesNotContainType>
  2033. <code><![CDATA[$stat === false]]></code>
  2034. </TypeDoesNotContainType>
  2035. </file>
  2036. <file src="lib/private/Files/Storage/LocalRootStorage.php">
  2037. <NoInterfaceProperties>
  2038. <code><![CDATA[$storage->scanner]]></code>
  2039. <code><![CDATA[$storage->scanner]]></code>
  2040. </NoInterfaceProperties>
  2041. </file>
  2042. <file src="lib/private/Files/Storage/Wrapper/Encoding.php">
  2043. <InvalidArgument>
  2044. <code><![CDATA[\Normalizer::FORM_C]]></code>
  2045. <code><![CDATA[\Normalizer::FORM_C]]></code>
  2046. <code><![CDATA[\Normalizer::FORM_D]]></code>
  2047. </InvalidArgument>
  2048. <UndefinedInterfaceMethod>
  2049. <code><![CDATA[$this->namesCache]]></code>
  2050. <code><![CDATA[$this->namesCache]]></code>
  2051. <code><![CDATA[$this->namesCache]]></code>
  2052. <code><![CDATA[$this->namesCache]]></code>
  2053. <code><![CDATA[$this->namesCache]]></code>
  2054. <code><![CDATA[$this->namesCache]]></code>
  2055. <code><![CDATA[$this->namesCache]]></code>
  2056. <code><![CDATA[$this->namesCache]]></code>
  2057. <code><![CDATA[$this->namesCache]]></code>
  2058. <code><![CDATA[$this->namesCache]]></code>
  2059. <code><![CDATA[$this->namesCache]]></code>
  2060. <code><![CDATA[$this->namesCache]]></code>
  2061. <code><![CDATA[$this->namesCache]]></code>
  2062. <code><![CDATA[$this->namesCache]]></code>
  2063. <code><![CDATA[$this->namesCache]]></code>
  2064. <code><![CDATA[$this->namesCache]]></code>
  2065. <code><![CDATA[$this->namesCache]]></code>
  2066. </UndefinedInterfaceMethod>
  2067. </file>
  2068. <file src="lib/private/Files/Storage/Wrapper/Encryption.php">
  2069. <InvalidOperand>
  2070. <code><![CDATA[$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file, false, $isRename)]]></code>
  2071. </InvalidOperand>
  2072. <InvalidReturnStatement>
  2073. <code><![CDATA[$result]]></code>
  2074. </InvalidReturnStatement>
  2075. <InvalidReturnType>
  2076. <code><![CDATA[int]]></code>
  2077. </InvalidReturnType>
  2078. <InvalidScalarArgument>
  2079. <code><![CDATA[$lastChunkPos]]></code>
  2080. <code><![CDATA[$size]]></code>
  2081. </InvalidScalarArgument>
  2082. </file>
  2083. <file src="lib/private/Files/Stream/SeekableHttpStream.php">
  2084. <InvalidReturnType>
  2085. <code><![CDATA[stream_close]]></code>
  2086. <code><![CDATA[stream_flush]]></code>
  2087. </InvalidReturnType>
  2088. </file>
  2089. <file src="lib/private/Files/Template/TemplateManager.php">
  2090. <RedundantCondition>
  2091. <code><![CDATA[!$isDefaultTemplates]]></code>
  2092. </RedundantCondition>
  2093. </file>
  2094. <file src="lib/private/Files/Type/Detection.php">
  2095. <ParamNameMismatch>
  2096. <code><![CDATA[$mimetype]]></code>
  2097. </ParamNameMismatch>
  2098. </file>
  2099. <file src="lib/private/Files/Utils/Scanner.php">
  2100. <LessSpecificReturnStatement>
  2101. <code><![CDATA[$mounts]]></code>
  2102. </LessSpecificReturnStatement>
  2103. <MoreSpecificReturnType>
  2104. <code><![CDATA[\OC\Files\Mount\MountPoint[]]]></code>
  2105. </MoreSpecificReturnType>
  2106. </file>
  2107. <file src="lib/private/Files/View.php">
  2108. <InvalidScalarArgument>
  2109. <code><![CDATA[$mtime]]></code>
  2110. </InvalidScalarArgument>
  2111. <UndefinedInterfaceMethod>
  2112. <code><![CDATA[acquireLock]]></code>
  2113. <code><![CDATA[changeLock]]></code>
  2114. <code><![CDATA[releaseLock]]></code>
  2115. </UndefinedInterfaceMethod>
  2116. </file>
  2117. <file src="lib/private/FullTextSearch/Model/IndexDocument.php">
  2118. <TypeDoesNotContainNull>
  2119. <code><![CDATA[is_null($this->getContent())]]></code>
  2120. </TypeDoesNotContainNull>
  2121. </file>
  2122. <file src="lib/private/Group/Group.php">
  2123. <InvalidArgument>
  2124. <code><![CDATA[bool]]></code>
  2125. </InvalidArgument>
  2126. <InvalidOperand>
  2127. <code><![CDATA[$hide]]></code>
  2128. </InvalidOperand>
  2129. <LessSpecificReturnStatement>
  2130. <code><![CDATA[$users]]></code>
  2131. </LessSpecificReturnStatement>
  2132. <MoreSpecificReturnType>
  2133. <code><![CDATA[\OC\User\User[]]]></code>
  2134. </MoreSpecificReturnType>
  2135. <RedundantCondition>
  2136. <code><![CDATA[$this->emitter]]></code>
  2137. <code><![CDATA[$this->emitter]]></code>
  2138. <code><![CDATA[$this->emitter]]></code>
  2139. </RedundantCondition>
  2140. <UndefinedMethod>
  2141. <code><![CDATA[addToGroup]]></code>
  2142. <code><![CDATA[countUsersInGroup]]></code>
  2143. <code><![CDATA[deleteGroup]]></code>
  2144. <code><![CDATA[removeFromGroup]]></code>
  2145. </UndefinedMethod>
  2146. </file>
  2147. <file src="lib/private/Group/Manager.php">
  2148. <LessSpecificReturnStatement>
  2149. <code><![CDATA[$groups]]></code>
  2150. <code><![CDATA[array_values($groups)]]></code>
  2151. <code><![CDATA[array_values($groups)]]></code>
  2152. </LessSpecificReturnStatement>
  2153. <MoreSpecificReturnType>
  2154. <code><![CDATA[\OC\Group\Group[]]]></code>
  2155. <code><![CDATA[\OC\Group\Group[]]]></code>
  2156. </MoreSpecificReturnType>
  2157. <UndefinedInterfaceMethod>
  2158. <code><![CDATA[createGroup]]></code>
  2159. <code><![CDATA[getGroupDetails]]></code>
  2160. <code><![CDATA[isAdmin]]></code>
  2161. </UndefinedInterfaceMethod>
  2162. </file>
  2163. <file src="lib/private/Http/Client/Response.php">
  2164. <InvalidNullableReturnType>
  2165. <code><![CDATA[string|resource]]></code>
  2166. </InvalidNullableReturnType>
  2167. <NullableReturnStatement>
  2168. <code><![CDATA[$this->stream ?
  2169. $this->response->getBody()->detach():
  2170. $this->response->getBody()->getContents()]]></code>
  2171. </NullableReturnStatement>
  2172. </file>
  2173. <file src="lib/private/Installer.php">
  2174. <InvalidArgument>
  2175. <code><![CDATA[false]]></code>
  2176. <code><![CDATA[false]]></code>
  2177. </InvalidArgument>
  2178. <NullArgument>
  2179. <code><![CDATA[null]]></code>
  2180. </NullArgument>
  2181. </file>
  2182. <file src="lib/private/IntegrityCheck/Checker.php">
  2183. <InvalidArrayAccess>
  2184. <code><![CDATA[$x509->getDN(X509::DN_OPENSSL)['CN']]]></code>
  2185. <code><![CDATA[$x509->getDN(X509::DN_OPENSSL)['CN']]]></code>
  2186. <code><![CDATA[$x509->getDN(true)['CN']]]></code>
  2187. </InvalidArrayAccess>
  2188. <UndefinedInterfaceMethod>
  2189. <code><![CDATA[getOnlyDefaultAliases]]></code>
  2190. </UndefinedInterfaceMethod>
  2191. </file>
  2192. <file src="lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php">
  2193. <MissingTemplateParam>
  2194. <code><![CDATA[ExcludeFileByNameFilterIterator]]></code>
  2195. </MissingTemplateParam>
  2196. </file>
  2197. <file src="lib/private/IntegrityCheck/Iterator/ExcludeFoldersByPathFilterIterator.php">
  2198. <MissingTemplateParam>
  2199. <code><![CDATA[ExcludeFoldersByPathFilterIterator]]></code>
  2200. </MissingTemplateParam>
  2201. </file>
  2202. <file src="lib/private/L10N/Factory.php">
  2203. <ImplementedReturnTypeMismatch>
  2204. <code><![CDATA[null|string]]></code>
  2205. </ImplementedReturnTypeMismatch>
  2206. <LessSpecificImplementedReturnType>
  2207. <code><![CDATA[array|mixed]]></code>
  2208. </LessSpecificImplementedReturnType>
  2209. </file>
  2210. <file src="lib/private/LargeFileHelper.php">
  2211. <InvalidOperand>
  2212. <code><![CDATA[$matches[1]]]></code>
  2213. </InvalidOperand>
  2214. </file>
  2215. <file src="lib/private/Lockdown/Filesystem/NullCache.php">
  2216. <InvalidNullableReturnType>
  2217. <code><![CDATA[get]]></code>
  2218. </InvalidNullableReturnType>
  2219. <InvalidReturnStatement>
  2220. <code><![CDATA[[]]]></code>
  2221. </InvalidReturnStatement>
  2222. <InvalidReturnType>
  2223. <code><![CDATA[getIncomplete]]></code>
  2224. </InvalidReturnType>
  2225. <NullableReturnStatement>
  2226. <code><![CDATA[$file !== '' ? null :
  2227. new CacheEntry([
  2228. 'fileid' => -1,
  2229. 'parent' => -1,
  2230. 'name' => '',
  2231. 'path' => '',
  2232. 'size' => '0',
  2233. 'mtime' => time(),
  2234. 'storage_mtime' => time(),
  2235. 'etag' => '',
  2236. 'mimetype' => FileInfo::MIMETYPE_FOLDER,
  2237. 'mimepart' => 'httpd',
  2238. 'permissions' => Constants::PERMISSION_READ
  2239. ])]]></code>
  2240. </NullableReturnStatement>
  2241. </file>
  2242. <file src="lib/private/Lockdown/Filesystem/NullStorage.php">
  2243. <TooManyArguments>
  2244. <code><![CDATA[new IteratorDirectory([])]]></code>
  2245. </TooManyArguments>
  2246. </file>
  2247. <file src="lib/private/Lockdown/LockdownManager.php">
  2248. <InvalidFunctionCall>
  2249. <code><![CDATA[$callback()]]></code>
  2250. </InvalidFunctionCall>
  2251. <InvalidPropertyAssignmentValue>
  2252. <code><![CDATA[$sessionCallback]]></code>
  2253. </InvalidPropertyAssignmentValue>
  2254. </file>
  2255. <file src="lib/private/Log/File.php">
  2256. <TypeDoesNotContainNull>
  2257. <code><![CDATA[$limit === null]]></code>
  2258. </TypeDoesNotContainNull>
  2259. </file>
  2260. <file src="lib/private/Log/LogDetails.php">
  2261. <RedundantCondition>
  2262. <code><![CDATA[is_string($request->getMethod())]]></code>
  2263. </RedundantCondition>
  2264. </file>
  2265. <file src="lib/private/Log/Systemdlog.php">
  2266. <UndefinedFunction>
  2267. <code><![CDATA[sd_journal_send('PRIORITY=' . $journal_level,
  2268. 'SYSLOG_IDENTIFIER=' . $this->syslogId,
  2269. 'MESSAGE=' . $this->logDetailsAsJSON($app, $message, $level))]]></code>
  2270. </UndefinedFunction>
  2271. </file>
  2272. <file src="lib/private/Memcache/APCu.php">
  2273. <InvalidReturnStatement>
  2274. <code><![CDATA[apcu_add($this->getPrefix() . $key, $value, $ttl)]]></code>
  2275. </InvalidReturnStatement>
  2276. <InvalidReturnType>
  2277. <code><![CDATA[bool]]></code>
  2278. </InvalidReturnType>
  2279. </file>
  2280. <file src="lib/private/Memcache/Cache.php">
  2281. <LessSpecificImplementedReturnType>
  2282. <code><![CDATA[mixed]]></code>
  2283. <code><![CDATA[mixed]]></code>
  2284. <code><![CDATA[mixed]]></code>
  2285. <code><![CDATA[mixed]]></code>
  2286. </LessSpecificImplementedReturnType>
  2287. </file>
  2288. <file src="lib/private/Preview/BackgroundCleanupJob.php">
  2289. <InvalidReturnStatement>
  2290. <code><![CDATA[[]]]></code>
  2291. </InvalidReturnStatement>
  2292. </file>
  2293. <file src="lib/private/Preview/Generator.php">
  2294. <InvalidArgument>
  2295. <code><![CDATA[$maxPreviewImage]]></code>
  2296. </InvalidArgument>
  2297. <LessSpecificReturnType>
  2298. <code><![CDATA[null|string]]></code>
  2299. </LessSpecificReturnType>
  2300. <MismatchingDocblockParamType>
  2301. <code><![CDATA[ISimpleFile]]></code>
  2302. </MismatchingDocblockParamType>
  2303. <UndefinedInterfaceMethod>
  2304. <code><![CDATA[height]]></code>
  2305. <code><![CDATA[height]]></code>
  2306. <code><![CDATA[preciseResizeCopy]]></code>
  2307. <code><![CDATA[resizeCopy]]></code>
  2308. <code><![CDATA[valid]]></code>
  2309. <code><![CDATA[width]]></code>
  2310. <code><![CDATA[width]]></code>
  2311. </UndefinedInterfaceMethod>
  2312. </file>
  2313. <file src="lib/private/Preview/ProviderV1Adapter.php">
  2314. <InvalidReturnStatement>
  2315. <code><![CDATA[$thumbnail === false ? null: $thumbnail]]></code>
  2316. </InvalidReturnStatement>
  2317. <InvalidReturnType>
  2318. <code><![CDATA[?IImage]]></code>
  2319. </InvalidReturnType>
  2320. </file>
  2321. <file src="lib/private/RedisFactory.php">
  2322. <InvalidArgument>
  2323. <code><![CDATA[\RedisCluster::OPT_SLAVE_FAILOVER]]></code>
  2324. </InvalidArgument>
  2325. </file>
  2326. <file src="lib/private/Remote/Api/OCS.php">
  2327. <ImplementedReturnTypeMismatch>
  2328. <code><![CDATA[array]]></code>
  2329. </ImplementedReturnTypeMismatch>
  2330. </file>
  2331. <file src="lib/private/Remote/Instance.php">
  2332. <InvalidReturnStatement>
  2333. <code><![CDATA[$request->getBody()]]></code>
  2334. </InvalidReturnStatement>
  2335. <InvalidReturnType>
  2336. <code><![CDATA[bool|string]]></code>
  2337. </InvalidReturnType>
  2338. <InvalidScalarArgument>
  2339. <code><![CDATA[$response]]></code>
  2340. </InvalidScalarArgument>
  2341. </file>
  2342. <file src="lib/private/Repair/Owncloud/CleanPreviews.php">
  2343. <InvalidArgument>
  2344. <code><![CDATA[false]]></code>
  2345. </InvalidArgument>
  2346. </file>
  2347. <file src="lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php">
  2348. <ParamNameMismatch>
  2349. <code><![CDATA[$arguments]]></code>
  2350. </ParamNameMismatch>
  2351. </file>
  2352. <file src="lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php">
  2353. <ParamNameMismatch>
  2354. <code><![CDATA[$arguments]]></code>
  2355. </ParamNameMismatch>
  2356. </file>
  2357. <file src="lib/private/Repair/RemoveLinkShares.php">
  2358. <InvalidPropertyAssignmentValue>
  2359. <code><![CDATA[$this->userToNotify]]></code>
  2360. </InvalidPropertyAssignmentValue>
  2361. </file>
  2362. <file src="lib/private/Repair/RepairInvalidShares.php">
  2363. <ParamNameMismatch>
  2364. <code><![CDATA[$out]]></code>
  2365. </ParamNameMismatch>
  2366. </file>
  2367. <file src="lib/private/Repair/RepairMimeTypes.php">
  2368. <ParamNameMismatch>
  2369. <code><![CDATA[$out]]></code>
  2370. </ParamNameMismatch>
  2371. </file>
  2372. <file src="lib/private/Route/Router.php">
  2373. <InvalidClass>
  2374. <code><![CDATA[\OC_APP]]></code>
  2375. </InvalidClass>
  2376. <InvalidNullableReturnType>
  2377. <code><![CDATA[string]]></code>
  2378. </InvalidNullableReturnType>
  2379. <NullableReturnStatement>
  2380. <code><![CDATA[$this->collectionName]]></code>
  2381. </NullableReturnStatement>
  2382. </file>
  2383. <file src="lib/private/Security/Bruteforce/Throttler.php">
  2384. <NullArgument>
  2385. <code><![CDATA[null]]></code>
  2386. </NullArgument>
  2387. </file>
  2388. <file src="lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php">
  2389. <NoInterfaceProperties>
  2390. <code><![CDATA[$this->request->server]]></code>
  2391. </NoInterfaceProperties>
  2392. </file>
  2393. <file src="lib/private/Security/CSRF/CsrfToken.php">
  2394. <InvalidArgument>
  2395. <code><![CDATA[\strlen($this->value)]]></code>
  2396. </InvalidArgument>
  2397. </file>
  2398. <file src="lib/private/Security/Crypto.php">
  2399. <InternalMethod>
  2400. <code><![CDATA[decrypt]]></code>
  2401. <code><![CDATA[encrypt]]></code>
  2402. <code><![CDATA[setIV]]></code>
  2403. <code><![CDATA[setIV]]></code>
  2404. <code><![CDATA[setPassword]]></code>
  2405. <code><![CDATA[setPassword]]></code>
  2406. </InternalMethod>
  2407. </file>
  2408. <file src="lib/private/Server.php">
  2409. <ImplementedReturnTypeMismatch>
  2410. <code><![CDATA[\OCP\Calendar\Resource\IManager]]></code>
  2411. <code><![CDATA[\OCP\Calendar\Room\IManager]]></code>
  2412. <code><![CDATA[\OCP\Files\Folder|null]]></code>
  2413. </ImplementedReturnTypeMismatch>
  2414. <LessSpecificReturnStatement>
  2415. <code><![CDATA[$this->get(IFile::class)]]></code>
  2416. <code><![CDATA[$this->get(IGroupManager::class)]]></code>
  2417. <code><![CDATA[$this->get(INavigationManager::class)]]></code>
  2418. <code><![CDATA[$this->get(IUserManager::class)]]></code>
  2419. <code><![CDATA[$this->get(IUserSession::class)]]></code>
  2420. <code><![CDATA[$this->get(\OCP\Encryption\IManager::class)]]></code>
  2421. </LessSpecificReturnStatement>
  2422. <MoreSpecificReturnType>
  2423. <code><![CDATA[\OC\Encryption\File]]></code>
  2424. <code><![CDATA[\OC\Encryption\Manager]]></code>
  2425. <code><![CDATA[\OC\Group\Manager]]></code>
  2426. <code><![CDATA[\OC\NavigationManager]]></code>
  2427. <code><![CDATA[\OC\User\Manager]]></code>
  2428. <code><![CDATA[\OC\User\Session]]></code>
  2429. </MoreSpecificReturnType>
  2430. <UndefinedDocblockClass>
  2431. <code><![CDATA[\OC\OCSClient]]></code>
  2432. </UndefinedDocblockClass>
  2433. </file>
  2434. <file src="lib/private/ServerContainer.php">
  2435. <InvalidPropertyAssignmentValue>
  2436. <code><![CDATA[$this->hasNoAppContainer]]></code>
  2437. </InvalidPropertyAssignmentValue>
  2438. <NoValue>
  2439. <code><![CDATA[return $this->appContainers[$namespace];]]></code>
  2440. </NoValue>
  2441. </file>
  2442. <file src="lib/private/Session/Internal.php">
  2443. <MoreSpecificImplementedParamType>
  2444. <code><![CDATA[$value]]></code>
  2445. </MoreSpecificImplementedParamType>
  2446. </file>
  2447. <file src="lib/private/Session/Memory.php">
  2448. <MoreSpecificImplementedParamType>
  2449. <code><![CDATA[$value]]></code>
  2450. </MoreSpecificImplementedParamType>
  2451. </file>
  2452. <file src="lib/private/Setup.php">
  2453. <RedundantCondition>
  2454. <code><![CDATA[$type === 'pdo']]></code>
  2455. </RedundantCondition>
  2456. <UndefinedVariable>
  2457. <code><![CDATA[$vendor]]></code>
  2458. </UndefinedVariable>
  2459. </file>
  2460. <file src="lib/private/Setup/AbstractDatabase.php">
  2461. <TypeDoesNotContainType>
  2462. <code><![CDATA[ctype_digit($this->dbPort)]]></code>
  2463. </TypeDoesNotContainType>
  2464. <UndefinedThisPropertyFetch>
  2465. <code><![CDATA[$this->dbprettyname]]></code>
  2466. <code><![CDATA[$this->dbprettyname]]></code>
  2467. <code><![CDATA[$this->dbprettyname]]></code>
  2468. <code><![CDATA[$this->dbprettyname]]></code>
  2469. </UndefinedThisPropertyFetch>
  2470. </file>
  2471. <file src="lib/private/Share20/DefaultShareProvider.php">
  2472. <InvalidArgument>
  2473. <code><![CDATA[$share->getId()]]></code>
  2474. <code><![CDATA[$share->getId()]]></code>
  2475. <code><![CDATA[(int)$data['id']]]></code>
  2476. </InvalidArgument>
  2477. <TooManyArguments>
  2478. <code><![CDATA[set]]></code>
  2479. </TooManyArguments>
  2480. <UndefinedInterfaceMethod>
  2481. <code><![CDATA[getParent]]></code>
  2482. </UndefinedInterfaceMethod>
  2483. </file>
  2484. <file src="lib/private/Share20/Manager.php">
  2485. <InvalidArgument>
  2486. <code><![CDATA[$id]]></code>
  2487. </InvalidArgument>
  2488. <TooManyArguments>
  2489. <code><![CDATA[update]]></code>
  2490. </TooManyArguments>
  2491. <UndefinedClass>
  2492. <code><![CDATA[\OCA\Circles\Api\v1\Circles]]></code>
  2493. </UndefinedClass>
  2494. <UndefinedInterfaceMethod>
  2495. <code><![CDATA[getChildren]]></code>
  2496. </UndefinedInterfaceMethod>
  2497. </file>
  2498. <file src="lib/private/Share20/ProviderFactory.php">
  2499. <InvalidNullableReturnType>
  2500. <code><![CDATA[FederatedShareProvider]]></code>
  2501. <code><![CDATA[ShareByMailProvider]]></code>
  2502. </InvalidNullableReturnType>
  2503. <InvalidReturnStatement>
  2504. <code><![CDATA[$provider]]></code>
  2505. <code><![CDATA[$provider]]></code>
  2506. <code><![CDATA[$this->shareByCircleProvider]]></code>
  2507. </InvalidReturnStatement>
  2508. <InvalidReturnType>
  2509. <code><![CDATA[getProviderForType]]></code>
  2510. </InvalidReturnType>
  2511. <NullableReturnStatement>
  2512. <code><![CDATA[null]]></code>
  2513. <code><![CDATA[null]]></code>
  2514. <code><![CDATA[null]]></code>
  2515. <code><![CDATA[null]]></code>
  2516. <code><![CDATA[null]]></code>
  2517. <code><![CDATA[null]]></code>
  2518. </NullableReturnStatement>
  2519. <ParamNameMismatch>
  2520. <code><![CDATA[$shareProviderClass]]></code>
  2521. </ParamNameMismatch>
  2522. <UndefinedClass>
  2523. <code><![CDATA[\OCA\Circles\ShareByCircleProvider]]></code>
  2524. </UndefinedClass>
  2525. <UndefinedDocblockClass>
  2526. <code><![CDATA[RoomShareProvider]]></code>
  2527. <code><![CDATA[\OCA\Circles\ShareByCircleProvider]]></code>
  2528. <code><![CDATA[\OCA\Talk\Share\RoomShareProvider]]></code>
  2529. <code><![CDATA[private $roomShareProvider = null;]]></code>
  2530. <code><![CDATA[private $shareByCircleProvider = null;]]></code>
  2531. </UndefinedDocblockClass>
  2532. </file>
  2533. <file src="lib/private/Share20/Share.php">
  2534. <LessSpecificReturnStatement>
  2535. <code><![CDATA[$this->node]]></code>
  2536. </LessSpecificReturnStatement>
  2537. <MoreSpecificReturnType>
  2538. <code><![CDATA[getNode]]></code>
  2539. </MoreSpecificReturnType>
  2540. </file>
  2541. <file src="lib/private/Streamer.php">
  2542. <UndefinedInterfaceMethod>
  2543. <code><![CDATA[get]]></code>
  2544. </UndefinedInterfaceMethod>
  2545. </file>
  2546. <file src="lib/private/SubAdmin.php">
  2547. <UndefinedInterfaceMethod>
  2548. <code><![CDATA[listen]]></code>
  2549. <code><![CDATA[listen]]></code>
  2550. </UndefinedInterfaceMethod>
  2551. </file>
  2552. <file src="lib/private/Support/Subscription/Registry.php">
  2553. <UndefinedInterfaceMethod>
  2554. <code><![CDATA[getSupportedApps]]></code>
  2555. </UndefinedInterfaceMethod>
  2556. </file>
  2557. <file src="lib/private/TagManager.php">
  2558. <InvalidNullableReturnType>
  2559. <code><![CDATA[\OCP\ITags]]></code>
  2560. </InvalidNullableReturnType>
  2561. <NullableReturnStatement>
  2562. <code><![CDATA[null]]></code>
  2563. </NullableReturnStatement>
  2564. </file>
  2565. <file src="lib/private/Tags.php">
  2566. <InvalidScalarArgument>
  2567. <code><![CDATA[$from]]></code>
  2568. <code><![CDATA[$names]]></code>
  2569. </InvalidScalarArgument>
  2570. <MoreSpecificImplementedParamType>
  2571. <code><![CDATA[$tag]]></code>
  2572. </MoreSpecificImplementedParamType>
  2573. </file>
  2574. <file src="lib/private/TempManager.php">
  2575. <FalsableReturnStatement>
  2576. <code><![CDATA[false]]></code>
  2577. <code><![CDATA[false]]></code>
  2578. </FalsableReturnStatement>
  2579. </file>
  2580. <file src="lib/private/Template/CSSResourceLocator.php">
  2581. <ParamNameMismatch>
  2582. <code><![CDATA[$style]]></code>
  2583. <code><![CDATA[$style]]></code>
  2584. </ParamNameMismatch>
  2585. </file>
  2586. <file src="lib/private/Template/JSConfigHelper.php">
  2587. <NullArgument>
  2588. <code><![CDATA[null]]></code>
  2589. <code><![CDATA[null]]></code>
  2590. </NullArgument>
  2591. </file>
  2592. <file src="lib/private/Template/JSResourceLocator.php">
  2593. <InvalidArgument>
  2594. <code><![CDATA[false]]></code>
  2595. </InvalidArgument>
  2596. <ParamNameMismatch>
  2597. <code><![CDATA[$script]]></code>
  2598. <code><![CDATA[$script]]></code>
  2599. </ParamNameMismatch>
  2600. </file>
  2601. <file src="lib/private/TemplateLayout.php">
  2602. <InvalidParamDefault>
  2603. <code><![CDATA[string]]></code>
  2604. <code><![CDATA[string]]></code>
  2605. </InvalidParamDefault>
  2606. <InvalidScalarArgument>
  2607. <code><![CDATA[$appId]]></code>
  2608. </InvalidScalarArgument>
  2609. </file>
  2610. <file src="lib/private/URLGenerator.php">
  2611. <InvalidReturnStatement>
  2612. <code><![CDATA[$path]]></code>
  2613. </InvalidReturnStatement>
  2614. </file>
  2615. <file src="lib/private/User/Database.php">
  2616. <FalsableReturnStatement>
  2617. <code><![CDATA[false]]></code>
  2618. </FalsableReturnStatement>
  2619. </file>
  2620. <file src="lib/private/User/Manager.php">
  2621. <ImplementedReturnTypeMismatch>
  2622. <code><![CDATA[IUser|false]]></code>
  2623. </ImplementedReturnTypeMismatch>
  2624. <InvalidArgument>
  2625. <code><![CDATA[$backend]]></code>
  2626. </InvalidArgument>
  2627. <UndefinedInterfaceMethod>
  2628. <code><![CDATA[createUser]]></code>
  2629. <code><![CDATA[getUsersForUserValueCaseInsensitive]]></code>
  2630. </UndefinedInterfaceMethod>
  2631. </file>
  2632. <file src="lib/private/User/Session.php">
  2633. <ImplementedReturnTypeMismatch>
  2634. <code><![CDATA[boolean|null]]></code>
  2635. </ImplementedReturnTypeMismatch>
  2636. <NoInterfaceProperties>
  2637. <code><![CDATA[$request->server]]></code>
  2638. <code><![CDATA[$request->server]]></code>
  2639. </NoInterfaceProperties>
  2640. <RedundantCondition>
  2641. <code><![CDATA[$this->manager instanceof PublicEmitter]]></code>
  2642. </RedundantCondition>
  2643. </file>
  2644. <file src="lib/private/User/User.php">
  2645. <UndefinedInterfaceMethod>
  2646. <code><![CDATA[emit]]></code>
  2647. <code><![CDATA[emit]]></code>
  2648. <code><![CDATA[emit]]></code>
  2649. <code><![CDATA[emit]]></code>
  2650. <code><![CDATA[emit]]></code>
  2651. </UndefinedInterfaceMethod>
  2652. </file>
  2653. <file src="lib/private/legacy/OC_App.php">
  2654. <InvalidArgument>
  2655. <code><![CDATA[$groupsList]]></code>
  2656. </InvalidArgument>
  2657. <NullArgument>
  2658. <code><![CDATA[null]]></code>
  2659. </NullArgument>
  2660. </file>
  2661. <file src="lib/private/legacy/OC_Helper.php">
  2662. <InvalidArrayOffset>
  2663. <code><![CDATA[$matches[0][$last_match]]]></code>
  2664. <code><![CDATA[$matches[1][$last_match]]]></code>
  2665. </InvalidArrayOffset>
  2666. <InvalidScalarArgument>
  2667. <code><![CDATA[$path]]></code>
  2668. </InvalidScalarArgument>
  2669. <UndefinedInterfaceMethod>
  2670. <code><![CDATA[getQuota]]></code>
  2671. </UndefinedInterfaceMethod>
  2672. </file>
  2673. <file src="lib/private/legacy/OC_Template.php">
  2674. <InvalidReturnType>
  2675. <code><![CDATA[bool|string]]></code>
  2676. </InvalidReturnType>
  2677. </file>
  2678. <file src="lib/private/legacy/OC_User.php">
  2679. <UndefinedClass>
  2680. <code><![CDATA[\Test\Util\User\Dummy]]></code>
  2681. </UndefinedClass>
  2682. </file>
  2683. <file src="lib/private/legacy/OC_Util.php">
  2684. <InvalidReturnType>
  2685. <code><![CDATA[void]]></code>
  2686. </InvalidReturnType>
  2687. </file>
  2688. <file src="lib/public/AppFramework/ApiController.php">
  2689. <NoInterfaceProperties>
  2690. <code><![CDATA[$this->request->server]]></code>
  2691. </NoInterfaceProperties>
  2692. </file>
  2693. <file src="lib/public/AppFramework/App.php">
  2694. <InternalMethod>
  2695. <code><![CDATA[new RouteConfig($this->container, $router, $routes)]]></code>
  2696. </InternalMethod>
  2697. </file>
  2698. <file src="lib/public/AppFramework/Http/Response.php">
  2699. <LessSpecificReturnStatement>
  2700. <code><![CDATA[array_merge($mergeWith, $this->headers)]]></code>
  2701. </LessSpecificReturnStatement>
  2702. <MoreSpecificReturnType>
  2703. <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>
  2704. </MoreSpecificReturnType>
  2705. </file>
  2706. <file src="lib/public/Color.php">
  2707. <LessSpecificReturnStatement>
  2708. <code><![CDATA[$step]]></code>
  2709. </LessSpecificReturnStatement>
  2710. <MoreSpecificReturnType>
  2711. <code><![CDATA[array{0: int, 1: int, 2: int}]]></code>
  2712. </MoreSpecificReturnType>
  2713. </file>
  2714. <file src="lib/public/Diagnostics/IQueryLogger.php">
  2715. <LessSpecificImplementedReturnType>
  2716. <code><![CDATA[mixed]]></code>
  2717. </LessSpecificImplementedReturnType>
  2718. </file>
  2719. <file src="lib/public/EventDispatcher/GenericEvent.php">
  2720. <MissingTemplateParam>
  2721. <code><![CDATA[ArrayAccess]]></code>
  2722. <code><![CDATA[IteratorAggregate]]></code>
  2723. </MissingTemplateParam>
  2724. </file>
  2725. <file src="lib/public/Files.php">
  2726. <FalsableReturnStatement>
  2727. <code><![CDATA[\OC_App::getStorage($app)]]></code>
  2728. </FalsableReturnStatement>
  2729. </file>
  2730. <file src="lib/public/L10N/ILanguageIterator.php">
  2731. <MissingTemplateParam>
  2732. <code><![CDATA[\Iterator]]></code>
  2733. </MissingTemplateParam>
  2734. </file>
  2735. <file src="lib/public/Preview/BeforePreviewFetchedEvent.php">
  2736. <LessSpecificReturnStatement>
  2737. <code><![CDATA[$this->mode]]></code>
  2738. </LessSpecificReturnStatement>
  2739. <MoreSpecificReturnType>
  2740. <code><![CDATA[null|IPreview::MODE_FILL|IPreview::MODE_COVER]]></code>
  2741. </MoreSpecificReturnType>
  2742. </file>
  2743. </files>