psalm-baseline.xml 120 KB

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