psalm-baseline.xml 106 KB

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