psalm-baseline.xml 101 KB

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