psalm-baseline.xml 101 KB

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