1
0

psalm-baseline.xml 124 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858
  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. <RedundantCondition>
  875. <code>$userSession</code>
  876. </RedundantCondition>
  877. <TypeDoesNotContainType>
  878. <code>get_class($res) === 'OpenSSLAsymmetricKey'</code>
  879. </TypeDoesNotContainType>
  880. </file>
  881. <file src="apps/encryption/lib/Crypto/Encryption.php">
  882. <ImplementedParamTypeMismatch>
  883. <code>$position</code>
  884. </ImplementedParamTypeMismatch>
  885. </file>
  886. <file src="apps/encryption/lib/KeyManager.php">
  887. <InvalidScalarArgument>
  888. <code>time()</code>
  889. <code>time()</code>
  890. <code>time()</code>
  891. </InvalidScalarArgument>
  892. <InvalidThrow>
  893. <code>throw $exception;</code>
  894. </InvalidThrow>
  895. </file>
  896. <file src="apps/encryption/lib/Session.php">
  897. <TooManyArguments>
  898. <code>new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0)</code>
  899. </TooManyArguments>
  900. </file>
  901. <file src="apps/encryption/lib/Util.php">
  902. <LessSpecificReturnStatement>
  903. <code><![CDATA[$this->files->getMount($path)->getStorage()]]></code>
  904. </LessSpecificReturnStatement>
  905. <MoreSpecificReturnType>
  906. <code>\OC\Files\Storage\Storage|null</code>
  907. </MoreSpecificReturnType>
  908. <RedundantCondition>
  909. <code>$userSession</code>
  910. </RedundantCondition>
  911. </file>
  912. <file src="apps/federatedfilesharing/lib/Controller/RequestHandlerController.php">
  913. <InvalidArgument>
  914. <code>$id</code>
  915. <code>$id</code>
  916. <code>$id</code>
  917. <code>$id</code>
  918. <code>$id</code>
  919. <code>$id</code>
  920. <code>$remoteId</code>
  921. </InvalidArgument>
  922. </file>
  923. <file src="apps/federatedfilesharing/lib/FederatedShareProvider.php">
  924. <InvalidArgument>
  925. <code>$shareId</code>
  926. <code>$shareId</code>
  927. <code>$shareId</code>
  928. <code>$shareId</code>
  929. <code>(int)$data['id']</code>
  930. </InvalidArgument>
  931. <LessSpecificReturnStatement>
  932. <code>$nodes[0]</code>
  933. </LessSpecificReturnStatement>
  934. <MoreSpecificReturnType>
  935. <code>\OCP\Files\File|\OCP\Files\Folder</code>
  936. </MoreSpecificReturnType>
  937. </file>
  938. <file src="apps/federatedfilesharing/lib/Listeners/LoadAdditionalScriptsListener.php">
  939. <MissingTemplateParam>
  940. <code>IEventListener</code>
  941. </MissingTemplateParam>
  942. </file>
  943. <file src="apps/federatedfilesharing/lib/Notifications.php">
  944. <InvalidReturnType>
  945. <code>bool</code>
  946. <code>bool</code>
  947. <code>bool</code>
  948. </InvalidReturnType>
  949. </file>
  950. <file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php">
  951. <InvalidArgument>
  952. <code>$id</code>
  953. <code>$id</code>
  954. <code>$id</code>
  955. <code>$id</code>
  956. </InvalidArgument>
  957. <InvalidReturnStatement>
  958. <code>$shareId</code>
  959. </InvalidReturnStatement>
  960. <InvalidReturnType>
  961. <code>string</code>
  962. </InvalidReturnType>
  963. <InvalidScalarArgument>
  964. <code>(int)$share['id']</code>
  965. </InvalidScalarArgument>
  966. </file>
  967. <file src="apps/federation/lib/DbHandler.php">
  968. <LessSpecificReturnStatement>
  969. <code>$result</code>
  970. </LessSpecificReturnStatement>
  971. <MoreSpecificReturnType>
  972. <code><![CDATA[list<array{id: int, url: string, url_hash: string, shared_secret: ?string, status: int, sync_token: ?string}>]]></code>
  973. </MoreSpecificReturnType>
  974. </file>
  975. <file src="apps/federation/lib/Listener/SabrePluginAuthInitListener.php">
  976. <MissingTemplateParam>
  977. <code>IEventListener</code>
  978. </MissingTemplateParam>
  979. </file>
  980. <file src="apps/federation/lib/TrustedServers.php">
  981. <LessSpecificReturnStatement>
  982. <code><![CDATA[$this->dbHandler->getAllServer()]]></code>
  983. </LessSpecificReturnStatement>
  984. <MoreSpecificReturnType>
  985. <code><![CDATA[list<array{id: int, url: string, url_hash: string, shared_secret: string, status: int, sync_token: string}>]]></code>
  986. </MoreSpecificReturnType>
  987. </file>
  988. <file src="apps/files/ajax/download.php">
  989. <InvalidArgument>
  990. <code>$files_list</code>
  991. </InvalidArgument>
  992. </file>
  993. <file src="apps/files/lib/Activity/Provider.php">
  994. <FalsableReturnStatement>
  995. <code><![CDATA[$this->fileEncrypted[$fileId]]]></code>
  996. </FalsableReturnStatement>
  997. <LessSpecificReturnStatement>
  998. <code>$folder</code>
  999. <code><![CDATA[$this->fileEncrypted[$fileId]]]></code>
  1000. </LessSpecificReturnStatement>
  1001. <MoreSpecificReturnType>
  1002. <code>Folder</code>
  1003. </MoreSpecificReturnType>
  1004. <TypeDoesNotContainType>
  1005. <code><![CDATA[$this->fileIsEncrypted]]></code>
  1006. <code><![CDATA[$this->fileIsEncrypted]]></code>
  1007. <code><![CDATA[$this->fileIsEncrypted]]></code>
  1008. <code><![CDATA[$this->fileIsEncrypted]]></code>
  1009. <code><![CDATA[$this->fileIsEncrypted]]></code>
  1010. <code><![CDATA[$this->fileIsEncrypted]]></code>
  1011. <code><![CDATA[$this->fileIsEncrypted]]></code>
  1012. <code><![CDATA[$this->fileIsEncrypted]]></code>
  1013. <code><![CDATA[$this->fileIsEncrypted]]></code>
  1014. <code><![CDATA[$this->fileIsEncrypted]]></code>
  1015. <code><![CDATA[$this->fileIsEncrypted]]></code>
  1016. <code><![CDATA[$this->fileIsEncrypted]]></code>
  1017. <code><![CDATA[$this->fileIsEncrypted]]></code>
  1018. <code><![CDATA[$this->fileIsEncrypted]]></code>
  1019. </TypeDoesNotContainType>
  1020. </file>
  1021. <file src="apps/files/lib/Command/ScanAppData.php">
  1022. <NullArgument>
  1023. <code>null</code>
  1024. <code>null</code>
  1025. </NullArgument>
  1026. </file>
  1027. <file src="apps/files/lib/Controller/DirectEditingController.php">
  1028. <InvalidArgument>
  1029. <code>$templateId</code>
  1030. </InvalidArgument>
  1031. <UndefinedInterfaceMethod>
  1032. <code>getTemplates</code>
  1033. <code>open</code>
  1034. </UndefinedInterfaceMethod>
  1035. </file>
  1036. <file src="apps/files/lib/Controller/ViewController.php">
  1037. <InvalidArgument>
  1038. <code>$fileId</code>
  1039. </InvalidArgument>
  1040. <UndefinedInterfaceMethod>
  1041. <code>getById</code>
  1042. <code>getRelativePath</code>
  1043. <code>getRelativePath</code>
  1044. </UndefinedInterfaceMethod>
  1045. </file>
  1046. <file src="apps/files/lib/Helper.php">
  1047. <UndefinedInterfaceMethod>
  1048. <code>$file</code>
  1049. <code>$i</code>
  1050. <code>$i</code>
  1051. <code>$i</code>
  1052. <code>$i</code>
  1053. <code>$i</code>
  1054. <code>$i</code>
  1055. <code>$i</code>
  1056. <code>$i</code>
  1057. <code>$i</code>
  1058. <code>$i</code>
  1059. <code>$i</code>
  1060. <code>$i</code>
  1061. </UndefinedInterfaceMethod>
  1062. </file>
  1063. <file src="apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php">
  1064. <InvalidArgument>
  1065. <code>$legacyEvent</code>
  1066. </InvalidArgument>
  1067. <MissingTemplateParam>
  1068. <code>IEventListener</code>
  1069. </MissingTemplateParam>
  1070. </file>
  1071. <file src="apps/files/lib/Listener/LoadSidebarListener.php">
  1072. <MissingTemplateParam>
  1073. <code>IEventListener</code>
  1074. </MissingTemplateParam>
  1075. </file>
  1076. <file src="apps/files/lib/Listener/RenderReferenceEventListener.php">
  1077. <MissingTemplateParam>
  1078. <code>IEventListener</code>
  1079. </MissingTemplateParam>
  1080. </file>
  1081. <file src="apps/files/lib/Service/OwnershipTransferService.php">
  1082. <TypeDoesNotContainType>
  1083. <code>empty($encryptedFiles)</code>
  1084. </TypeDoesNotContainType>
  1085. <UndefinedInterfaceMethod>
  1086. <code>isReadyForUser</code>
  1087. </UndefinedInterfaceMethod>
  1088. </file>
  1089. <file src="apps/files/lib/Service/TagService.php">
  1090. <InvalidArgument>
  1091. <code>self::class . '::' . $eventName</code>
  1092. </InvalidArgument>
  1093. <TooManyArguments>
  1094. <code>dispatch</code>
  1095. </TooManyArguments>
  1096. </file>
  1097. <file src="apps/files_external/appinfo/routes.php">
  1098. <InvalidScope>
  1099. <code>$this</code>
  1100. </InvalidScope>
  1101. </file>
  1102. <file src="apps/files_external/lib/Controller/StoragesController.php">
  1103. <RedundantCast>
  1104. <code><![CDATA[(int)$e->getCode()]]></code>
  1105. <code>(int)$status</code>
  1106. </RedundantCast>
  1107. </file>
  1108. <file src="apps/files_external/lib/Lib/Backend/Backend.php">
  1109. <LessSpecificReturnStatement>
  1110. <code><![CDATA[$this->storageClass]]></code>
  1111. </LessSpecificReturnStatement>
  1112. <MoreSpecificReturnType>
  1113. <code><![CDATA[class-string<IStorage>]]></code>
  1114. </MoreSpecificReturnType>
  1115. </file>
  1116. <file src="apps/files_external/lib/Lib/Storage/SFTP.php">
  1117. <InternalMethod>
  1118. <code>put</code>
  1119. </InternalMethod>
  1120. </file>
  1121. <file src="apps/files_external/lib/Lib/Storage/SMB.php">
  1122. <RedundantCast>
  1123. <code><![CDATA[(int)$e->getCode()]]></code>
  1124. <code><![CDATA[(int)$e->getCode()]]></code>
  1125. <code><![CDATA[(int)$e->getCode()]]></code>
  1126. <code><![CDATA[(int)$e->getCode()]]></code>
  1127. <code><![CDATA[(int)$e->getCode()]]></code>
  1128. <code><![CDATA[(int)$e->getCode()]]></code>
  1129. <code><![CDATA[(int)$e->getCode()]]></code>
  1130. </RedundantCast>
  1131. </file>
  1132. <file src="apps/files_external/lib/Lib/Storage/Swift.php">
  1133. <InvalidArgument>
  1134. <code><![CDATA[$object->lastModified]]></code>
  1135. </InvalidArgument>
  1136. <InvalidNullableReturnType>
  1137. <code>filetype</code>
  1138. <code>fopen</code>
  1139. </InvalidNullableReturnType>
  1140. </file>
  1141. <file src="apps/files_external/lib/Listener/GroupDeletedListener.php">
  1142. <MissingTemplateParam>
  1143. <code>IEventListener</code>
  1144. </MissingTemplateParam>
  1145. </file>
  1146. <file src="apps/files_external/lib/Listener/StorePasswordListener.php">
  1147. <MissingTemplateParam>
  1148. <code>IEventListener</code>
  1149. </MissingTemplateParam>
  1150. </file>
  1151. <file src="apps/files_external/lib/Listener/UserDeletedListener.php">
  1152. <MissingTemplateParam>
  1153. <code>IEventListener</code>
  1154. </MissingTemplateParam>
  1155. </file>
  1156. <file src="apps/files_external/lib/Migration/DummyUserSession.php">
  1157. <InvalidReturnType>
  1158. <code>login</code>
  1159. </InvalidReturnType>
  1160. </file>
  1161. <file src="apps/files_external/lib/MountConfig.php">
  1162. <InternalMethod>
  1163. <code>decrypt</code>
  1164. <code>encrypt</code>
  1165. <code>setIV</code>
  1166. <code>setIV</code>
  1167. </InternalMethod>
  1168. <TooManyArguments>
  1169. <code>test</code>
  1170. </TooManyArguments>
  1171. </file>
  1172. <file src="apps/files_external/lib/Service/BackendService.php">
  1173. <InvalidArgument>
  1174. <code>'OCA\\Files_External::loadAdditionalBackends'</code>
  1175. </InvalidArgument>
  1176. <TooManyArguments>
  1177. <code>dispatch</code>
  1178. </TooManyArguments>
  1179. </file>
  1180. <file src="apps/files_sharing/lib/Controller/ShareAPIController.php">
  1181. <RedundantCast>
  1182. <code>(int)$code</code>
  1183. <code>(int)$code</code>
  1184. </RedundantCast>
  1185. <UndefinedClass>
  1186. <code>\OCA\Circles\Api\v1\Circles</code>
  1187. <code>\OCA\Circles\Api\v1\Circles</code>
  1188. </UndefinedClass>
  1189. <UndefinedDocblockClass>
  1190. <code><![CDATA[$this->getRoomShareHelper()]]></code>
  1191. <code><![CDATA[$this->getRoomShareHelper()]]></code>
  1192. <code><![CDATA[$this->getRoomShareHelper()]]></code>
  1193. <code>\OCA\Talk\Share\Helper\ShareAPIController</code>
  1194. </UndefinedDocblockClass>
  1195. </file>
  1196. <file src="apps/files_sharing/lib/Controller/ShareController.php">
  1197. <InvalidArgument>
  1198. <code>$files_list</code>
  1199. </InvalidArgument>
  1200. </file>
  1201. <file src="apps/files_sharing/lib/External/Manager.php">
  1202. <LessSpecificReturnStatement>
  1203. <code>$mount</code>
  1204. </LessSpecificReturnStatement>
  1205. <MoreSpecificReturnType>
  1206. <code>Mount</code>
  1207. </MoreSpecificReturnType>
  1208. </file>
  1209. <file src="apps/files_sharing/lib/External/Scanner.php">
  1210. <MoreSpecificImplementedParamType>
  1211. <code>$cacheData</code>
  1212. </MoreSpecificImplementedParamType>
  1213. </file>
  1214. <file src="apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php">
  1215. <InvalidArgument>
  1216. <code>$legacyEvent</code>
  1217. </InvalidArgument>
  1218. <MissingTemplateParam>
  1219. <code>IEventListener</code>
  1220. </MissingTemplateParam>
  1221. </file>
  1222. <file src="apps/files_sharing/lib/Listener/LoadAdditionalListener.php">
  1223. <MissingTemplateParam>
  1224. <code>IEventListener</code>
  1225. </MissingTemplateParam>
  1226. </file>
  1227. <file src="apps/files_sharing/lib/Listener/LoadSidebarListener.php">
  1228. <MissingTemplateParam>
  1229. <code>IEventListener</code>
  1230. </MissingTemplateParam>
  1231. </file>
  1232. <file src="apps/files_sharing/lib/Listener/ShareInteractionListener.php">
  1233. <MissingTemplateParam>
  1234. <code>IEventListener</code>
  1235. </MissingTemplateParam>
  1236. </file>
  1237. <file src="apps/files_sharing/lib/Listener/UserAddedToGroupListener.php">
  1238. <MissingTemplateParam>
  1239. <code>IEventListener</code>
  1240. </MissingTemplateParam>
  1241. </file>
  1242. <file src="apps/files_sharing/lib/Listener/UserShareAcceptanceListener.php">
  1243. <MissingTemplateParam>
  1244. <code>IEventListener</code>
  1245. </MissingTemplateParam>
  1246. </file>
  1247. <file src="apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php">
  1248. <InvalidArgument>
  1249. <code><![CDATA[$exception->getMessage()]]></code>
  1250. </InvalidArgument>
  1251. </file>
  1252. <file src="apps/files_sharing/lib/MountProvider.php">
  1253. <RedundantFunctionCall>
  1254. <code>array_values</code>
  1255. </RedundantFunctionCall>
  1256. </file>
  1257. <file src="apps/files_sharing/lib/ShareBackend/File.php">
  1258. <InvalidArgument>
  1259. <code>$itemSource</code>
  1260. <code>$itemSource</code>
  1261. </InvalidArgument>
  1262. <MoreSpecificImplementedParamType>
  1263. <code>$shareWith</code>
  1264. </MoreSpecificImplementedParamType>
  1265. </file>
  1266. <file src="apps/files_sharing/lib/ShareBackend/Folder.php">
  1267. <UndefinedInterfaceMethod>
  1268. <code>fetchRow</code>
  1269. </UndefinedInterfaceMethod>
  1270. </file>
  1271. <file src="apps/files_sharing/lib/SharedMount.php">
  1272. <InvalidReturnType>
  1273. <code>bool</code>
  1274. </InvalidReturnType>
  1275. </file>
  1276. <file src="apps/files_sharing/lib/SharedStorage.php">
  1277. <FalsableReturnStatement>
  1278. <code><![CDATA[$this->sourceRootInfo]]></code>
  1279. </FalsableReturnStatement>
  1280. <InvalidNullableReturnType>
  1281. <code>ICacheEntry</code>
  1282. </InvalidNullableReturnType>
  1283. <InvalidReturnStatement>
  1284. <code>new FailedCache()</code>
  1285. </InvalidReturnStatement>
  1286. <NullableReturnStatement>
  1287. <code><![CDATA[$this->sourceRootInfo]]></code>
  1288. </NullableReturnStatement>
  1289. </file>
  1290. <file src="apps/files_sharing/lib/Updater.php">
  1291. <UndefinedMethod>
  1292. <code>moveMount</code>
  1293. </UndefinedMethod>
  1294. </file>
  1295. <file src="apps/files_sharing/templates/public.php">
  1296. <RedundantCondition>
  1297. <code>$_['hideFileList'] !== true</code>
  1298. <code><![CDATA[isset($_['hideFileList']) && $_['hideFileList'] !== true]]></code>
  1299. </RedundantCondition>
  1300. </file>
  1301. <file src="apps/files_trashbin/lib/Listeners/LoadAdditionalScripts.php">
  1302. <MissingTemplateParam>
  1303. <code>IEventListener</code>
  1304. </MissingTemplateParam>
  1305. </file>
  1306. <file src="apps/files_trashbin/lib/Sabre/AbstractTrash.php">
  1307. <InvalidNullableReturnType>
  1308. <code>int</code>
  1309. </InvalidNullableReturnType>
  1310. <NullableReturnStatement>
  1311. <code><![CDATA[$this->data->getId()]]></code>
  1312. </NullableReturnStatement>
  1313. </file>
  1314. <file src="apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php">
  1315. <InvalidReturnStatement>
  1316. <code>$entry</code>
  1317. </InvalidReturnStatement>
  1318. <InvalidReturnType>
  1319. <code>ITrash</code>
  1320. </InvalidReturnType>
  1321. </file>
  1322. <file src="apps/files_trashbin/lib/Sabre/RestoreFolder.php">
  1323. <InvalidNullableReturnType>
  1324. <code>getChild</code>
  1325. </InvalidNullableReturnType>
  1326. <NullableReturnStatement>
  1327. <code>null</code>
  1328. </NullableReturnStatement>
  1329. </file>
  1330. <file src="apps/files_trashbin/lib/Sabre/RootCollection.php">
  1331. <MismatchingDocblockReturnType>
  1332. <code>INode</code>
  1333. </MismatchingDocblockReturnType>
  1334. </file>
  1335. <file src="apps/files_trashbin/lib/Sabre/TrashRoot.php">
  1336. <InvalidReturnStatement>
  1337. <code>$entry</code>
  1338. </InvalidReturnStatement>
  1339. <InvalidReturnType>
  1340. <code>ITrash</code>
  1341. </InvalidReturnType>
  1342. </file>
  1343. <file src="apps/files_trashbin/lib/Storage.php">
  1344. <InvalidOperand>
  1345. <code><![CDATA[$this->mountPoint]]></code>
  1346. </InvalidOperand>
  1347. </file>
  1348. <file src="apps/files_trashbin/lib/Trash/LegacyTrashBackend.php">
  1349. <RedundantCondition>
  1350. <code>$trashFiles</code>
  1351. </RedundantCondition>
  1352. <TypeDoesNotContainType>
  1353. <code>null</code>
  1354. </TypeDoesNotContainType>
  1355. <UndefinedInterfaceMethod>
  1356. <code>$file</code>
  1357. <code>getById</code>
  1358. </UndefinedInterfaceMethod>
  1359. </file>
  1360. <file src="apps/files_trashbin/lib/Trashbin.php">
  1361. <FalsableReturnStatement>
  1362. <code>false</code>
  1363. </FalsableReturnStatement>
  1364. <InvalidArgument>
  1365. <code>$timestamp</code>
  1366. </InvalidArgument>
  1367. <InvalidScalarArgument>
  1368. <code>$timestamp</code>
  1369. </InvalidScalarArgument>
  1370. </file>
  1371. <file src="apps/files_versions/appinfo/routes.php">
  1372. <InvalidScope>
  1373. <code>$this</code>
  1374. <code>$this</code>
  1375. </InvalidScope>
  1376. </file>
  1377. <file src="apps/files_versions/lib/Listener/FileEventsListener.php">
  1378. <MissingTemplateParam>
  1379. <code>IEventListener</code>
  1380. </MissingTemplateParam>
  1381. </file>
  1382. <file src="apps/files_versions/lib/Listener/LoadAdditionalListener.php">
  1383. <MissingTemplateParam>
  1384. <code>IEventListener</code>
  1385. </MissingTemplateParam>
  1386. </file>
  1387. <file src="apps/files_versions/lib/Listener/LoadSidebarListener.php">
  1388. <MissingTemplateParam>
  1389. <code>IEventListener</code>
  1390. </MissingTemplateParam>
  1391. </file>
  1392. <file src="apps/files_versions/lib/Sabre/RestoreFolder.php">
  1393. <InvalidNullableReturnType>
  1394. <code>getChild</code>
  1395. </InvalidNullableReturnType>
  1396. <NullableReturnStatement>
  1397. <code>null</code>
  1398. </NullableReturnStatement>
  1399. </file>
  1400. <file src="apps/files_versions/lib/Sabre/VersionHome.php">
  1401. <InvalidNullableReturnType>
  1402. <code>getChild</code>
  1403. </InvalidNullableReturnType>
  1404. </file>
  1405. <file src="apps/files_versions/lib/Storage.php">
  1406. <RedundantCondition>
  1407. <code><![CDATA[$storage1->instanceOfStorage('\OC\Files\ObjectStore\ObjectStoreStorage')]]></code>
  1408. </RedundantCondition>
  1409. </file>
  1410. <file src="apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php">
  1411. <InvalidArgument>
  1412. <code><![CDATA[$this->retries + 1]]></code>
  1413. </InvalidArgument>
  1414. </file>
  1415. <file src="apps/oauth2/lib/Controller/OauthApiController.php">
  1416. <NoInterfaceProperties>
  1417. <code><![CDATA[$this->request->server]]></code>
  1418. </NoInterfaceProperties>
  1419. </file>
  1420. <file src="apps/provisioning_api/lib/Controller/UsersController.php">
  1421. <TypeDoesNotContainNull>
  1422. <code>$groupid === null</code>
  1423. <code>$groupid === null</code>
  1424. </TypeDoesNotContainNull>
  1425. </file>
  1426. <file src="apps/provisioning_api/lib/Listener/UserDeletedListener.php">
  1427. <MissingTemplateParam>
  1428. <code>IEventListener</code>
  1429. </MissingTemplateParam>
  1430. </file>
  1431. <file src="apps/provisioning_api/lib/Middleware/ProvisioningApiMiddleware.php">
  1432. <InvalidReturnType>
  1433. <code>Response</code>
  1434. </InvalidReturnType>
  1435. </file>
  1436. <file src="apps/settings/lib/AppInfo/Application.php">
  1437. <InvalidArgument>
  1438. <code>AppPasswordCreatedActivityListener::class</code>
  1439. </InvalidArgument>
  1440. <UndefinedInterfaceMethod>
  1441. <code>getSettingsManager</code>
  1442. </UndefinedInterfaceMethod>
  1443. </file>
  1444. <file src="apps/settings/lib/Controller/AppSettingsController.php">
  1445. <UndefinedInterfaceMethod>
  1446. <code>ignoreNextcloudRequirementForApp</code>
  1447. </UndefinedInterfaceMethod>
  1448. </file>
  1449. <file src="apps/settings/lib/Hooks.php">
  1450. <InvalidArrayOffset>
  1451. <code><![CDATA[[$user->getEMailAddress() => $user->getDisplayName()]]]></code>
  1452. </InvalidArrayOffset>
  1453. </file>
  1454. <file src="apps/settings/lib/Listener/GroupRemovedListener.php">
  1455. <MissingTemplateParam>
  1456. <code>IEventListener</code>
  1457. </MissingTemplateParam>
  1458. </file>
  1459. <file src="apps/settings/lib/Listener/UserAddedToGroupActivityListener.php">
  1460. <MissingTemplateParam>
  1461. <code>IEventListener</code>
  1462. </MissingTemplateParam>
  1463. </file>
  1464. <file src="apps/settings/lib/Listener/UserRemovedFromGroupActivityListener.php">
  1465. <MissingTemplateParam>
  1466. <code>IEventListener</code>
  1467. </MissingTemplateParam>
  1468. </file>
  1469. <file src="apps/settings/lib/Settings/Admin/Security.php">
  1470. <UndefinedInterfaceMethod>
  1471. <code>isReady</code>
  1472. </UndefinedInterfaceMethod>
  1473. </file>
  1474. <file src="apps/settings/lib/Settings/Admin/Sharing.php">
  1475. <NullArgument>
  1476. <code>null</code>
  1477. </NullArgument>
  1478. </file>
  1479. <file src="apps/sharebymail/lib/ShareByMailProvider.php">
  1480. <InvalidArgument>
  1481. <code><![CDATA[$share->getId()]]></code>
  1482. <code>(int)$data['id']</code>
  1483. </InvalidArgument>
  1484. <LessSpecificReturnStatement>
  1485. <code>$nodes[0]</code>
  1486. </LessSpecificReturnStatement>
  1487. <MoreSpecificReturnType>
  1488. <code>\OCP\Files\File|\OCP\Files\Folder</code>
  1489. </MoreSpecificReturnType>
  1490. </file>
  1491. <file src="apps/systemtags/lib/Activity/Listener.php">
  1492. <InvalidArgument>
  1493. <code><![CDATA[$event->getObjectId()]]></code>
  1494. <code><![CDATA[$event->getObjectId()]]></code>
  1495. </InvalidArgument>
  1496. </file>
  1497. <file src="apps/theming/lib/Jobs/MigrateBackgroundImages.php">
  1498. <OverriddenInterfaceConstant>
  1499. <code>TIME_SENSITIVE</code>
  1500. </OverriddenInterfaceConstant>
  1501. </file>
  1502. <file src="apps/theming/lib/Listener/BeforePreferenceListener.php">
  1503. <MissingTemplateParam>
  1504. <code>IEventListener</code>
  1505. </MissingTemplateParam>
  1506. </file>
  1507. <file src="apps/theming/lib/Listener/BeforeTemplateRenderedListener.php">
  1508. <MissingTemplateParam>
  1509. <code>IEventListener</code>
  1510. </MissingTemplateParam>
  1511. </file>
  1512. <file src="apps/theming/lib/Util.php">
  1513. <InvalidReturnStatement>
  1514. <code><![CDATA[array_values($color->getRgb())]]></code>
  1515. </InvalidReturnStatement>
  1516. <InvalidReturnType>
  1517. <code>array{0: int, 1: int, 2: int}</code>
  1518. </InvalidReturnType>
  1519. </file>
  1520. <file src="apps/twofactor_backupcodes/lib/Listener/ActivityPublisher.php">
  1521. <MissingTemplateParam>
  1522. <code>IEventListener</code>
  1523. </MissingTemplateParam>
  1524. </file>
  1525. <file src="apps/twofactor_backupcodes/lib/Listener/ClearNotifications.php">
  1526. <MissingTemplateParam>
  1527. <code>IEventListener</code>
  1528. </MissingTemplateParam>
  1529. </file>
  1530. <file src="apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php">
  1531. <MissingTemplateParam>
  1532. <code>IEventListener</code>
  1533. </MissingTemplateParam>
  1534. </file>
  1535. <file src="apps/twofactor_backupcodes/lib/Listener/ProviderEnabled.php">
  1536. <MissingTemplateParam>
  1537. <code>IEventListener</code>
  1538. </MissingTemplateParam>
  1539. </file>
  1540. <file src="apps/twofactor_backupcodes/lib/Listener/RegistryUpdater.php">
  1541. <MissingTemplateParam>
  1542. <code>IEventListener</code>
  1543. </MissingTemplateParam>
  1544. </file>
  1545. <file src="apps/twofactor_backupcodes/lib/Listener/UserDeleted.php">
  1546. <MissingTemplateParam>
  1547. <code>IEventListener</code>
  1548. </MissingTemplateParam>
  1549. </file>
  1550. <file src="apps/updatenotification/lib/Notification/BackgroundJob.php">
  1551. <InvalidArgument>
  1552. <code>false</code>
  1553. </InvalidArgument>
  1554. <InvalidPropertyAssignmentValue>
  1555. <code><![CDATA[$this->users]]></code>
  1556. </InvalidPropertyAssignmentValue>
  1557. </file>
  1558. <file src="apps/user_ldap/ajax/getNewServerConfigPrefix.php">
  1559. <InvalidScalarArgument>
  1560. <code>$ln + 1</code>
  1561. </InvalidScalarArgument>
  1562. </file>
  1563. <file src="apps/user_ldap/appinfo/routes.php">
  1564. <InvalidScope>
  1565. <code>$this</code>
  1566. </InvalidScope>
  1567. </file>
  1568. <file src="apps/user_ldap/lib/Access.php">
  1569. <InvalidReturnStatement>
  1570. <code>$uuid</code>
  1571. <code>$values</code>
  1572. </InvalidReturnStatement>
  1573. <InvalidReturnType>
  1574. <code>string[]</code>
  1575. </InvalidReturnType>
  1576. <RedundantCast>
  1577. <code><![CDATA[(int)$e->getCode()]]></code>
  1578. </RedundantCast>
  1579. </file>
  1580. <file src="apps/user_ldap/lib/Connection.php">
  1581. <NoValue>
  1582. <code>$subj</code>
  1583. </NoValue>
  1584. <ParadoxicalCondition>
  1585. <code>default:
  1586. $subj = $key;
  1587. break;</code>
  1588. </ParadoxicalCondition>
  1589. </file>
  1590. <file src="apps/user_ldap/lib/Group_LDAP.php">
  1591. <InvalidScalarArgument>
  1592. <code>$groupID</code>
  1593. </InvalidScalarArgument>
  1594. </file>
  1595. <file src="apps/user_ldap/lib/Group_Proxy.php">
  1596. <ParamNameMismatch>
  1597. <code>$gid</code>
  1598. </ParamNameMismatch>
  1599. </file>
  1600. <file src="apps/user_ldap/lib/Jobs/Sync.php">
  1601. <InvalidOperand>
  1602. <code>$i</code>
  1603. </InvalidOperand>
  1604. <NullArgument>
  1605. <code>null</code>
  1606. </NullArgument>
  1607. </file>
  1608. <file src="apps/user_ldap/lib/Mapping/AbstractMapping.php">
  1609. <RedundantCondition>
  1610. <code>isset($qb)</code>
  1611. </RedundantCondition>
  1612. <TypeDoesNotContainNull>
  1613. <code>isset($qb)</code>
  1614. </TypeDoesNotContainNull>
  1615. </file>
  1616. <file src="apps/user_ldap/lib/Proxy.php">
  1617. <InvalidDocblock>
  1618. <code>protected function handleRequest($id, $method, $parameters, $passOnWhen = false) {</code>
  1619. </InvalidDocblock>
  1620. </file>
  1621. <file src="apps/user_ldap/lib/User/Manager.php">
  1622. <InvalidDocblock>
  1623. <code>public function setLdapAccess(Access $access) {</code>
  1624. </InvalidDocblock>
  1625. </file>
  1626. <file src="apps/user_ldap/lib/User/User.php">
  1627. <FalsableReturnStatement>
  1628. <code><![CDATA[$this->avatarImage]]></code>
  1629. </FalsableReturnStatement>
  1630. <InvalidPropertyAssignmentValue>
  1631. <code><![CDATA[$this->refreshedFeatures]]></code>
  1632. </InvalidPropertyAssignmentValue>
  1633. <InvalidReturnType>
  1634. <code>null</code>
  1635. </InvalidReturnType>
  1636. <RedundantCondition>
  1637. <code><![CDATA[$aQuota && (count($aQuota) > 0)]]></code>
  1638. </RedundantCondition>
  1639. </file>
  1640. <file src="apps/user_ldap/lib/User_LDAP.php">
  1641. <ImplementedReturnTypeMismatch>
  1642. <code>string|false</code>
  1643. </ImplementedReturnTypeMismatch>
  1644. <MoreSpecificImplementedParamType>
  1645. <code>$limit</code>
  1646. <code>$offset</code>
  1647. </MoreSpecificImplementedParamType>
  1648. <NullableReturnStatement>
  1649. <code>null</code>
  1650. </NullableReturnStatement>
  1651. <RedundantCondition>
  1652. <code><![CDATA[$displayName && (count($displayName) > 0)]]></code>
  1653. <code>is_string($dn)</code>
  1654. </RedundantCondition>
  1655. </file>
  1656. <file src="apps/user_ldap/lib/User_Proxy.php">
  1657. <ParamNameMismatch>
  1658. <code>$uid</code>
  1659. </ParamNameMismatch>
  1660. </file>
  1661. <file src="apps/user_ldap/lib/Wizard.php">
  1662. <InvalidArrayOffset>
  1663. <code>$possibleAttrs[$i]</code>
  1664. </InvalidArrayOffset>
  1665. </file>
  1666. <file src="apps/user_status/lib/AppInfo/Application.php">
  1667. <UndefinedInterfaceMethod>
  1668. <code>registerProvider</code>
  1669. </UndefinedInterfaceMethod>
  1670. </file>
  1671. <file src="apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php">
  1672. <MissingTemplateParam>
  1673. <code>IEventListener</code>
  1674. </MissingTemplateParam>
  1675. </file>
  1676. <file src="apps/user_status/lib/Listener/UserDeletedListener.php">
  1677. <MissingTemplateParam>
  1678. <code>IEventListener</code>
  1679. </MissingTemplateParam>
  1680. </file>
  1681. <file src="apps/user_status/lib/Listener/UserLiveStatusListener.php">
  1682. <MissingTemplateParam>
  1683. <code>IEventListener</code>
  1684. </MissingTemplateParam>
  1685. </file>
  1686. <file src="apps/workflowengine/lib/Check/AbstractStringCheck.php">
  1687. <NullArgument>
  1688. <code>null</code>
  1689. </NullArgument>
  1690. </file>
  1691. <file src="apps/workflowengine/lib/Check/FileSize.php">
  1692. <FalsableReturnStatement>
  1693. <code><![CDATA[$this->size]]></code>
  1694. </FalsableReturnStatement>
  1695. <InvalidPropertyAssignmentValue>
  1696. <code>$size</code>
  1697. </InvalidPropertyAssignmentValue>
  1698. <InvalidReturnStatement>
  1699. <code><![CDATA[$this->size]]></code>
  1700. </InvalidReturnStatement>
  1701. <InvalidReturnType>
  1702. <code>string</code>
  1703. </InvalidReturnType>
  1704. </file>
  1705. <file src="apps/workflowengine/lib/Check/FileSystemTags.php">
  1706. <UndefinedDocblockClass>
  1707. <code><![CDATA[$this->storage]]></code>
  1708. </UndefinedDocblockClass>
  1709. </file>
  1710. <file src="apps/workflowengine/lib/Check/RequestRemoteAddress.php">
  1711. <InvalidArgument>
  1712. <code>$decodedValue[1]</code>
  1713. <code>$decodedValue[1]</code>
  1714. <code>$decodedValue[1]</code>
  1715. <code>$decodedValue[1]</code>
  1716. </InvalidArgument>
  1717. </file>
  1718. <file src="apps/workflowengine/lib/Check/RequestTime.php">
  1719. <InvalidScalarArgument>
  1720. <code>$hour1</code>
  1721. <code>$minute1</code>
  1722. </InvalidScalarArgument>
  1723. </file>
  1724. <file src="apps/workflowengine/lib/Check/TFileCheck.php">
  1725. <InvalidArgument>
  1726. <code><![CDATA[['app' => Application::APP_ID, 'class' => get_class($subject)]]]></code>
  1727. </InvalidArgument>
  1728. </file>
  1729. <file src="apps/workflowengine/lib/Entity/File.php">
  1730. <InvalidReturnType>
  1731. <code>string</code>
  1732. </InvalidReturnType>
  1733. <ParamNameMismatch>
  1734. <code>$uid</code>
  1735. </ParamNameMismatch>
  1736. </file>
  1737. <file src="apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php">
  1738. <MissingTemplateParam>
  1739. <code>IEventListener</code>
  1740. </MissingTemplateParam>
  1741. </file>
  1742. <file src="apps/workflowengine/lib/Manager.php">
  1743. <InvalidArgument>
  1744. <code>$missingCheck</code>
  1745. </InvalidArgument>
  1746. <InvalidOperand>
  1747. <code>$result</code>
  1748. </InvalidOperand>
  1749. <InvalidReturnStatement>
  1750. <code>$result</code>
  1751. </InvalidReturnStatement>
  1752. <InvalidReturnType>
  1753. <code>bool</code>
  1754. </InvalidReturnType>
  1755. </file>
  1756. <file src="apps/workflowengine/lib/Service/RuleMatcher.php">
  1757. <UndefinedInterfaceMethod>
  1758. <code>getAllConfiguredScopesForOperation</code>
  1759. <code>getChecks</code>
  1760. <code>getOperations</code>
  1761. <code>getOperations</code>
  1762. <code>isUserScopeEnabled</code>
  1763. </UndefinedInterfaceMethod>
  1764. </file>
  1765. <file src="core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php">
  1766. <ParamNameMismatch>
  1767. <code>$arguments</code>
  1768. </ParamNameMismatch>
  1769. </file>
  1770. <file src="core/BackgroundJobs/CheckForUserCertificates.php">
  1771. <ParamNameMismatch>
  1772. <code>$arguments</code>
  1773. </ParamNameMismatch>
  1774. </file>
  1775. <file src="core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php">
  1776. <ParamNameMismatch>
  1777. <code>$arguments</code>
  1778. </ParamNameMismatch>
  1779. </file>
  1780. <file src="core/Command/App/Install.php">
  1781. <TypeDoesNotContainType>
  1782. <code>$result === false</code>
  1783. </TypeDoesNotContainType>
  1784. </file>
  1785. <file src="core/Command/App/ListApps.php">
  1786. <LessSpecificImplementedReturnType>
  1787. <code>array</code>
  1788. </LessSpecificImplementedReturnType>
  1789. </file>
  1790. <file src="core/Command/App/Update.php">
  1791. <RedundantCondition>
  1792. <code>$result === true</code>
  1793. </RedundantCondition>
  1794. </file>
  1795. <file src="core/Command/Config/Import.php">
  1796. <InvalidScalarArgument>
  1797. <code>0</code>
  1798. <code>1</code>
  1799. </InvalidScalarArgument>
  1800. </file>
  1801. <file src="core/Command/Config/ListConfigs.php">
  1802. <FalsableReturnStatement>
  1803. <code><![CDATA[$this->appConfig->getValues($app, false)]]></code>
  1804. </FalsableReturnStatement>
  1805. <TooManyArguments>
  1806. <code>getFilteredValues</code>
  1807. </TooManyArguments>
  1808. </file>
  1809. <file src="core/Command/Db/ConvertType.php">
  1810. <InvalidScalarArgument>
  1811. <code>0</code>
  1812. <code>1</code>
  1813. </InvalidScalarArgument>
  1814. </file>
  1815. <file src="core/Command/Encryption/Enable.php">
  1816. <NullArgument>
  1817. <code>null</code>
  1818. </NullArgument>
  1819. </file>
  1820. <file src="core/Command/Log/File.php">
  1821. <InvalidReturnStatement>
  1822. <code>[0]</code>
  1823. </InvalidReturnStatement>
  1824. <InvalidReturnType>
  1825. <code>string[]</code>
  1826. </InvalidReturnType>
  1827. </file>
  1828. <file src="core/Command/Log/Manage.php">
  1829. <InvalidArgument>
  1830. <code>$levelNum</code>
  1831. </InvalidArgument>
  1832. </file>
  1833. <file src="core/Command/Maintenance/DataFingerprint.php">
  1834. <InvalidScalarArgument>
  1835. <code><![CDATA[$this->timeFactory->getTime()]]></code>
  1836. </InvalidScalarArgument>
  1837. </file>
  1838. <file src="core/Command/Maintenance/Mimetype/UpdateDB.php">
  1839. <UndefinedInterfaceMethod>
  1840. <code>getAllMappings</code>
  1841. <code>updateFilecache</code>
  1842. </UndefinedInterfaceMethod>
  1843. </file>
  1844. <file src="core/Command/Maintenance/Mimetype/UpdateJS.php">
  1845. <UndefinedInterfaceMethod>
  1846. <code>getAllAliases</code>
  1847. </UndefinedInterfaceMethod>
  1848. </file>
  1849. <file src="core/Command/Maintenance/RepairShareOwnership.php">
  1850. <LessSpecificReturnStatement>
  1851. <code>$found</code>
  1852. <code>$found</code>
  1853. </LessSpecificReturnStatement>
  1854. <MoreSpecificReturnType>
  1855. <code>array{shareId: int, fileTarget: string, initiator: string, receiver: string, owner: string, mountOwner: string}[]</code>
  1856. <code>array{shareId: int, fileTarget: string, initiator: string, receiver: string, owner: string, mountOwner: string}[]</code>
  1857. </MoreSpecificReturnType>
  1858. </file>
  1859. <file src="core/Command/Preview/Repair.php">
  1860. <UndefinedInterfaceMethod>
  1861. <code>section</code>
  1862. <code>section</code>
  1863. </UndefinedInterfaceMethod>
  1864. </file>
  1865. <file src="core/Command/Preview/ResetRenderedTexts.php">
  1866. <InvalidReturnStatement>
  1867. <code>[]</code>
  1868. </InvalidReturnStatement>
  1869. </file>
  1870. <file src="core/Controller/ClientFlowLoginV2Controller.php">
  1871. <TypeDoesNotContainType>
  1872. <code>!is_string($stateToken)</code>
  1873. </TypeDoesNotContainType>
  1874. </file>
  1875. <file src="core/Controller/CollaborationResourcesController.php">
  1876. <UndefinedInterfaceMethod>
  1877. <code>searchCollections</code>
  1878. </UndefinedInterfaceMethod>
  1879. </file>
  1880. <file src="core/Controller/LostController.php">
  1881. <RedundantCast>
  1882. <code><![CDATA[(int)$e->getCode()]]></code>
  1883. </RedundantCast>
  1884. </file>
  1885. <file src="core/Controller/UnifiedSearchController.php">
  1886. <UndefinedInterfaceMethod>
  1887. <code>findMatchingRoute</code>
  1888. </UndefinedInterfaceMethod>
  1889. </file>
  1890. <file src="core/Listener/BeforeTemplateRenderedListener.php">
  1891. <MissingTemplateParam>
  1892. <code>IEventListener</code>
  1893. </MissingTemplateParam>
  1894. </file>
  1895. <file src="core/Middleware/TwoFactorMiddleware.php">
  1896. <NoInterfaceProperties>
  1897. <code><![CDATA[$this->request->server]]></code>
  1898. </NoInterfaceProperties>
  1899. </file>
  1900. <file src="core/routes.php">
  1901. <InvalidScope>
  1902. <code>$this</code>
  1903. <code>$this</code>
  1904. <code><![CDATA[$this->create('core_ajax_update', '/core/ajax/update.php')]]></code>
  1905. </InvalidScope>
  1906. </file>
  1907. <file src="core/templates/layout.public.php">
  1908. <UndefinedInterfaceMethod>
  1909. <code>getIcon</code>
  1910. </UndefinedInterfaceMethod>
  1911. </file>
  1912. <file src="lib/autoloader.php">
  1913. <RedundantCondition>
  1914. <code><![CDATA[$this->memoryCache]]></code>
  1915. </RedundantCondition>
  1916. </file>
  1917. <file src="lib/base.php">
  1918. <InvalidArgument>
  1919. <code>$restrictions</code>
  1920. </InvalidArgument>
  1921. </file>
  1922. <file src="lib/private/Accounts/AccountManager.php">
  1923. <InvalidArgument>
  1924. <code>'OC\AccountManager::userUpdated'</code>
  1925. </InvalidArgument>
  1926. <TooManyArguments>
  1927. <code>dispatch</code>
  1928. </TooManyArguments>
  1929. </file>
  1930. <file src="lib/private/Activity/Event.php">
  1931. <ParamNameMismatch>
  1932. <code>$affectedUser</code>
  1933. </ParamNameMismatch>
  1934. </file>
  1935. <file src="lib/private/Activity/Manager.php">
  1936. <InvalidPropertyAssignmentValue>
  1937. <code><![CDATA[$this->filterClasses]]></code>
  1938. <code><![CDATA[$this->providerClasses]]></code>
  1939. <code><![CDATA[$this->settingsClasses]]></code>
  1940. </InvalidPropertyAssignmentValue>
  1941. <LessSpecificReturnStatement>
  1942. <code><![CDATA[$this->settings]]></code>
  1943. </LessSpecificReturnStatement>
  1944. <MoreSpecificReturnType>
  1945. <code>ActivitySettings[]</code>
  1946. </MoreSpecificReturnType>
  1947. <TypeDoesNotContainType>
  1948. <code><![CDATA[!is_string($currentUserId) && $currentUserId !== null]]></code>
  1949. </TypeDoesNotContainType>
  1950. </file>
  1951. <file src="lib/private/AllConfig.php">
  1952. <MoreSpecificImplementedParamType>
  1953. <code>$key</code>
  1954. </MoreSpecificImplementedParamType>
  1955. <TypeDoesNotContainType>
  1956. <code>!is_array($userIds)</code>
  1957. </TypeDoesNotContainType>
  1958. </file>
  1959. <file src="lib/private/App/AppManager.php">
  1960. <LessSpecificImplementedReturnType>
  1961. <code>array</code>
  1962. <code>array</code>
  1963. </LessSpecificImplementedReturnType>
  1964. </file>
  1965. <file src="lib/private/App/AppStore/Fetcher/Fetcher.php">
  1966. <TooManyArguments>
  1967. <code>fetch</code>
  1968. </TooManyArguments>
  1969. </file>
  1970. <file src="lib/private/App/DependencyAnalyzer.php">
  1971. <InvalidNullableReturnType>
  1972. <code>bool</code>
  1973. </InvalidNullableReturnType>
  1974. <NullableReturnStatement>
  1975. <code>version_compare($first, $second, $operator)</code>
  1976. </NullableReturnStatement>
  1977. </file>
  1978. <file src="lib/private/App/InfoParser.php">
  1979. <InvalidArrayOffset>
  1980. <code>$array[$element][]</code>
  1981. <code>$array[$element][]</code>
  1982. </InvalidArrayOffset>
  1983. <InvalidReturnStatement>
  1984. <code>(string)$xml</code>
  1985. </InvalidReturnStatement>
  1986. <InvalidReturnType>
  1987. <code>array</code>
  1988. </InvalidReturnType>
  1989. </file>
  1990. <file src="lib/private/AppConfig.php">
  1991. <FalsableReturnStatement>
  1992. <code>$values</code>
  1993. </FalsableReturnStatement>
  1994. <NullableReturnStatement>
  1995. <code>$default</code>
  1996. </NullableReturnStatement>
  1997. </file>
  1998. <file src="lib/private/AppFramework/Bootstrap/Coordinator.php">
  1999. <InvalidPropertyAssignmentValue>
  2000. <code><![CDATA[$this->bootedApps]]></code>
  2001. </InvalidPropertyAssignmentValue>
  2002. </file>
  2003. <file src="lib/private/AppFramework/Bootstrap/FunctionInjector.php">
  2004. <UndefinedMethod>
  2005. <code>getName</code>
  2006. </UndefinedMethod>
  2007. </file>
  2008. <file src="lib/private/AppFramework/DependencyInjection/DIContainer.php">
  2009. <ImplementedReturnTypeMismatch>
  2010. <code>boolean|null</code>
  2011. </ImplementedReturnTypeMismatch>
  2012. <InvalidReturnStatement>
  2013. <code><![CDATA[$this->server]]></code>
  2014. </InvalidReturnStatement>
  2015. <InvalidReturnType>
  2016. <code>\OCP\IServerContainer</code>
  2017. <code>mixed</code>
  2018. </InvalidReturnType>
  2019. <UndefinedInterfaceMethod>
  2020. <code>getAppDataDir</code>
  2021. </UndefinedInterfaceMethod>
  2022. </file>
  2023. <file src="lib/private/AppFramework/Http/Dispatcher.php">
  2024. <NoInterfaceProperties>
  2025. <code><![CDATA[$this->request->method]]></code>
  2026. </NoInterfaceProperties>
  2027. <NullArgument>
  2028. <code>null</code>
  2029. </NullArgument>
  2030. </file>
  2031. <file src="lib/private/AppFramework/Http/Output.php">
  2032. <InvalidReturnStatement>
  2033. <code>@readfile($path)</code>
  2034. <code>http_response_code()</code>
  2035. </InvalidReturnStatement>
  2036. <InvalidReturnType>
  2037. <code>bool</code>
  2038. <code>int</code>
  2039. </InvalidReturnType>
  2040. </file>
  2041. <file src="lib/private/AppFramework/Http/Request.php">
  2042. <MissingTemplateParam>
  2043. <code>\ArrayAccess</code>
  2044. </MissingTemplateParam>
  2045. <NullableReturnStatement>
  2046. <code>$name</code>
  2047. <code>$remoteAddress</code>
  2048. <code><![CDATA[$this->getOverwriteHost()]]></code>
  2049. <code><![CDATA[$this->method]]></code>
  2050. <code>$uri</code>
  2051. <code><![CDATA[isset($this->cookies[$key]) ? $this->cookies[$key] : null]]></code>
  2052. <code><![CDATA[isset($this->env[$key]) ? $this->env[$key] : null]]></code>
  2053. <code><![CDATA[isset($this->files[$key]) ? $this->files[$key] : null]]></code>
  2054. </NullableReturnStatement>
  2055. <RedundantCondition>
  2056. <code>\is_array($params)</code>
  2057. </RedundantCondition>
  2058. <UndefinedFunction>
  2059. <code>\Sabre\HTTP\decodePath($pathInfo)</code>
  2060. </UndefinedFunction>
  2061. </file>
  2062. <file src="lib/private/AppFramework/Logger.php">
  2063. <InvalidReturnType>
  2064. <code>log</code>
  2065. </InvalidReturnType>
  2066. </file>
  2067. <file src="lib/private/AppFramework/Middleware/OCSMiddleware.php">
  2068. <InternalMethod>
  2069. <code>setOCSVersion</code>
  2070. </InternalMethod>
  2071. </file>
  2072. <file src="lib/private/AppFramework/Middleware/Security/CORSMiddleware.php">
  2073. <NoInterfaceProperties>
  2074. <code><![CDATA[$this->request->server]]></code>
  2075. <code><![CDATA[$this->request->server]]></code>
  2076. </NoInterfaceProperties>
  2077. </file>
  2078. <file src="lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php">
  2079. <NoInterfaceProperties>
  2080. <code><![CDATA[$this->request->server]]></code>
  2081. </NoInterfaceProperties>
  2082. <UndefinedClass>
  2083. <code>\OCA\Talk\Controller\PageController</code>
  2084. </UndefinedClass>
  2085. </file>
  2086. <file src="lib/private/AppFramework/Routing/RouteConfig.php">
  2087. <InvalidArrayOffset>
  2088. <code>$action['url-postfix']</code>
  2089. </InvalidArrayOffset>
  2090. </file>
  2091. <file src="lib/private/AppFramework/Services/AppConfig.php">
  2092. <MoreSpecificImplementedParamType>
  2093. <code>$default</code>
  2094. </MoreSpecificImplementedParamType>
  2095. </file>
  2096. <file src="lib/private/AppFramework/Utility/SimpleContainer.php">
  2097. <LessSpecificReturnStatement>
  2098. <code><![CDATA[$class->newInstance()]]></code>
  2099. <code><![CDATA[$class->newInstanceArgs(array_map(function (ReflectionParameter $parameter) {
  2100. $parameterType = $parameter->getType();
  2101. $resolveName = $parameter->getName();
  2102. // try to find out if it is a class or a simple parameter
  2103. if ($parameterType !== null && ($parameterType instanceof ReflectionNamedType) && !$parameterType->isBuiltin()) {
  2104. $resolveName = $parameterType->getName();
  2105. }
  2106. try {
  2107. $builtIn = $parameter->hasType() && ($parameter->getType() instanceof ReflectionNamedType)
  2108. && $parameter->getType()->isBuiltin();
  2109. return $this->query($resolveName, !$builtIn);
  2110. } catch (QueryException $e) {
  2111. // Service not found, use the default value when available
  2112. if ($parameter->isDefaultValueAvailable()) {
  2113. return $parameter->getDefaultValue();
  2114. }
  2115. if ($parameterType !== null && ($parameterType instanceof ReflectionNamedType) && !$parameterType->isBuiltin()) {
  2116. $resolveName = $parameter->getName();
  2117. try {
  2118. return $this->query($resolveName);
  2119. } catch (QueryException $e2) {
  2120. // don't lose the error we got while trying to query by type
  2121. throw new QueryException($e->getMessage(), (int) $e->getCode(), $e);
  2122. }
  2123. }
  2124. throw $e;
  2125. }
  2126. }, $constructor->getParameters()))]]></code>
  2127. </LessSpecificReturnStatement>
  2128. <MissingTemplateParam>
  2129. <code>ArrayAccess</code>
  2130. </MissingTemplateParam>
  2131. <MoreSpecificReturnType>
  2132. <code>\stdClass</code>
  2133. </MoreSpecificReturnType>
  2134. <RedundantCast>
  2135. <code><![CDATA[(int) $e->getCode()]]></code>
  2136. </RedundantCast>
  2137. </file>
  2138. <file src="lib/private/Archive/TAR.php">
  2139. <UndefinedDocblockClass>
  2140. <code><![CDATA[$this->tar->extractInString($path)]]></code>
  2141. </UndefinedDocblockClass>
  2142. </file>
  2143. <file src="lib/private/Authentication/Listeners/UserDeletedFilesCleanupListener.php">
  2144. <MissingTemplateParam>
  2145. <code>IEventListener</code>
  2146. </MissingTemplateParam>
  2147. </file>
  2148. <file src="lib/private/Authentication/Listeners/UserDeletedWebAuthnCleanupListener.php">
  2149. <MissingTemplateParam>
  2150. <code>IEventListener</code>
  2151. </MissingTemplateParam>
  2152. </file>
  2153. <file src="lib/private/Authentication/LoginCredentials/Store.php">
  2154. <RedundantCondition>
  2155. <code>$trySession</code>
  2156. </RedundantCondition>
  2157. </file>
  2158. <file src="lib/private/Authentication/Token/IToken.php">
  2159. <AmbiguousConstantInheritance>
  2160. <code>DO_NOT_REMEMBER</code>
  2161. <code>PERMANENT_TOKEN</code>
  2162. <code>REMEMBER</code>
  2163. <code>TEMPORARY_TOKEN</code>
  2164. <code>WIPE_TOKEN</code>
  2165. </AmbiguousConstantInheritance>
  2166. </file>
  2167. <file src="lib/private/Authentication/Token/PublicKeyToken.php">
  2168. <UndefinedMagicMethod>
  2169. <code>getExpires</code>
  2170. <code>getLastCheck</code>
  2171. <code>getLoginName</code>
  2172. <code>getName</code>
  2173. <code>getPassword</code>
  2174. <code>getRemember</code>
  2175. <code>getScope</code>
  2176. <code>setExpires</code>
  2177. <code>setLastCheck</code>
  2178. <code>setName</code>
  2179. <code>setPassword</code>
  2180. <code>setPasswordInvalid</code>
  2181. <code>setScope</code>
  2182. <code>setScope</code>
  2183. <code>setToken</code>
  2184. <code>setType</code>
  2185. </UndefinedMagicMethod>
  2186. </file>
  2187. <file src="lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php">
  2188. <LessSpecificReturnStatement>
  2189. <code><![CDATA[array_map(function (array $row) {
  2190. return [
  2191. 'provider_id' => $row['provider_id'],
  2192. 'uid' => $row['uid'],
  2193. 'enabled' => 1 === (int) $row['enabled'],
  2194. ];
  2195. }, $rows)]]></code>
  2196. </LessSpecificReturnStatement>
  2197. <MoreSpecificReturnType>
  2198. <code><![CDATA[list<array{provider_id: string, uid: string, enabled: bool}>]]></code>
  2199. </MoreSpecificReturnType>
  2200. </file>
  2201. <file src="lib/private/Authentication/TwoFactorAuth/ProviderSet.php">
  2202. <InvalidArgument>
  2203. <code><![CDATA[$this->providers]]></code>
  2204. </InvalidArgument>
  2205. <InvalidPropertyAssignmentValue>
  2206. <code><![CDATA[$this->providers]]></code>
  2207. <code>[]</code>
  2208. </InvalidPropertyAssignmentValue>
  2209. <InvalidReturnStatement>
  2210. <code><![CDATA[$this->providers]]></code>
  2211. </InvalidReturnStatement>
  2212. <InvalidReturnType>
  2213. <code>IProvider[]</code>
  2214. </InvalidReturnType>
  2215. <UndefinedInterfaceMethod>
  2216. <code><![CDATA[$this->providers]]></code>
  2217. </UndefinedInterfaceMethod>
  2218. </file>
  2219. <file src="lib/private/BackgroundJob/QueuedJob.php">
  2220. <MoreSpecificImplementedParamType>
  2221. <code>$jobList</code>
  2222. <code>$jobList</code>
  2223. </MoreSpecificImplementedParamType>
  2224. </file>
  2225. <file src="lib/private/Cache/CappedMemoryCache.php">
  2226. <MissingTemplateParam>
  2227. <code>\ArrayAccess</code>
  2228. </MissingTemplateParam>
  2229. </file>
  2230. <file src="lib/private/Cache/File.php">
  2231. <LessSpecificImplementedReturnType>
  2232. <code>bool|mixed</code>
  2233. <code>bool|mixed</code>
  2234. </LessSpecificImplementedReturnType>
  2235. </file>
  2236. <file src="lib/private/Calendar/Manager.php">
  2237. <LessSpecificReturnStatement>
  2238. <code><![CDATA[array_merge(
  2239. ...array_map(function ($registration) use ($principalUri, $calendarUris) {
  2240. try {
  2241. /** @var ICalendarProvider $provider */
  2242. $provider = $this->container->get($registration->getService());
  2243. } catch (Throwable $e) {
  2244. $this->logger->error('Could not load calendar provider ' . $registration->getService() . ': ' . $e->getMessage(), [
  2245. 'exception' => $e,
  2246. ]);
  2247. return [];
  2248. }
  2249. return $provider->getCalendars($principalUri, $calendarUris);
  2250. }, $context->getCalendarProviders())
  2251. )]]></code>
  2252. </LessSpecificReturnStatement>
  2253. <MoreSpecificReturnType>
  2254. <code>ICreateFromString[]</code>
  2255. </MoreSpecificReturnType>
  2256. <NamedArgumentNotAllowed>
  2257. <code><![CDATA[array_map(function ($registration) use ($principalUri, $calendarUris) {
  2258. try {
  2259. /** @var ICalendarProvider $provider */
  2260. $provider = $this->container->get($registration->getService());
  2261. } catch (Throwable $e) {
  2262. $this->logger->error('Could not load calendar provider ' . $registration->getService() . ': ' . $e->getMessage(), [
  2263. 'exception' => $e,
  2264. ]);
  2265. return [];
  2266. }
  2267. return $provider->getCalendars($principalUri, $calendarUris);
  2268. }, $context->getCalendarProviders())]]></code>
  2269. </NamedArgumentNotAllowed>
  2270. </file>
  2271. <file src="lib/private/Command/CallableJob.php">
  2272. <ParamNameMismatch>
  2273. <code>$serializedCallable</code>
  2274. </ParamNameMismatch>
  2275. </file>
  2276. <file src="lib/private/Command/ClosureJob.php">
  2277. <InvalidArgument>
  2278. <code>[LaravelClosure::class, OpisClosure::class]</code>
  2279. </InvalidArgument>
  2280. <ParamNameMismatch>
  2281. <code>$serializedCallable</code>
  2282. </ParamNameMismatch>
  2283. </file>
  2284. <file src="lib/private/Command/CommandJob.php">
  2285. <ParamNameMismatch>
  2286. <code>$serializedCommand</code>
  2287. </ParamNameMismatch>
  2288. </file>
  2289. <file src="lib/private/Comments/Manager.php">
  2290. <RedundantCast>
  2291. <code>(string)$id</code>
  2292. </RedundantCast>
  2293. </file>
  2294. <file src="lib/private/Config.php">
  2295. <InvalidOperand>
  2296. <code><![CDATA[$this->delete($key)]]></code>
  2297. <code><![CDATA[$this->set($key, $value)]]></code>
  2298. </InvalidOperand>
  2299. <UndefinedVariable>
  2300. <code>$CONFIG</code>
  2301. <code>$CONFIG</code>
  2302. </UndefinedVariable>
  2303. </file>
  2304. <file src="lib/private/Console/Application.php">
  2305. <NoInterfaceProperties>
  2306. <code><![CDATA[$this->request->server]]></code>
  2307. </NoInterfaceProperties>
  2308. </file>
  2309. <file src="lib/private/ContactsManager.php">
  2310. <InvalidArgument>
  2311. <code>$searchOptions</code>
  2312. </InvalidArgument>
  2313. <InvalidNullableReturnType>
  2314. <code>IAddressBook</code>
  2315. <code>array</code>
  2316. <code>bool</code>
  2317. </InvalidNullableReturnType>
  2318. <NullableReturnStatement>
  2319. <code>null</code>
  2320. <code>null</code>
  2321. <code>null</code>
  2322. <code>null</code>
  2323. <code>null</code>
  2324. </NullableReturnStatement>
  2325. <ParamNameMismatch>
  2326. <code>$addressBook</code>
  2327. <code>$addressBook</code>
  2328. </ParamNameMismatch>
  2329. </file>
  2330. <file src="lib/private/DB/Adapter.php">
  2331. <InvalidReturnStatement>
  2332. <code><![CDATA[$builder->execute()]]></code>
  2333. </InvalidReturnStatement>
  2334. <InvalidReturnType>
  2335. <code>int</code>
  2336. </InvalidReturnType>
  2337. </file>
  2338. <file src="lib/private/DB/AdapterMySQL.php">
  2339. <InternalMethod>
  2340. <code>getParams</code>
  2341. </InternalMethod>
  2342. <InvalidArrayOffset>
  2343. <code>$params['collation']</code>
  2344. </InvalidArrayOffset>
  2345. </file>
  2346. <file src="lib/private/DB/Connection.php">
  2347. <InternalMethod>
  2348. <code>getParams</code>
  2349. </InternalMethod>
  2350. <InvalidArgument>
  2351. <code>$params</code>
  2352. </InvalidArgument>
  2353. <InvalidArrayOffset>
  2354. <code>$params['adapter']</code>
  2355. <code>$params['tablePrefix']</code>
  2356. </InvalidArrayOffset>
  2357. <InvalidReturnStatement>
  2358. <code><![CDATA[$this->adapter->lastInsertId($seqName)]]></code>
  2359. </InvalidReturnStatement>
  2360. <InvalidReturnType>
  2361. <code>string</code>
  2362. </InvalidReturnType>
  2363. <ParamNameMismatch>
  2364. <code>$seqName</code>
  2365. <code>$statement</code>
  2366. </ParamNameMismatch>
  2367. </file>
  2368. <file src="lib/private/DB/Exceptions/DbalException.php">
  2369. <RedundantCondition>
  2370. <code><![CDATA[is_int($original->getCode())]]></code>
  2371. </RedundantCondition>
  2372. <TypeDoesNotContainType>
  2373. <code>0</code>
  2374. </TypeDoesNotContainType>
  2375. </file>
  2376. <file src="lib/private/DB/MigrationService.php">
  2377. <InvalidOperand>
  2378. <code>$offset</code>
  2379. <code>$offset</code>
  2380. </InvalidOperand>
  2381. <LessSpecificReturnStatement>
  2382. <code>$s</code>
  2383. </LessSpecificReturnStatement>
  2384. <MoreSpecificReturnType>
  2385. <code>IMigrationStep</code>
  2386. </MoreSpecificReturnType>
  2387. </file>
  2388. <file src="lib/private/DB/OracleConnection.php">
  2389. <InvalidArrayAccess>
  2390. <code>$key[0]</code>
  2391. </InvalidArrayAccess>
  2392. </file>
  2393. <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php">
  2394. <ImplicitToStringCast>
  2395. <code><![CDATA[$this->functionBuilder->lower($x)]]></code>
  2396. </ImplicitToStringCast>
  2397. <InvalidArgument>
  2398. <code>$y</code>
  2399. <code>$y</code>
  2400. </InvalidArgument>
  2401. </file>
  2402. <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php">
  2403. <InternalMethod>
  2404. <code>getParams</code>
  2405. </InternalMethod>
  2406. <InvalidArrayOffset>
  2407. <code>$params['collation']</code>
  2408. </InvalidArrayOffset>
  2409. </file>
  2410. <file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
  2411. <InvalidNullableReturnType>
  2412. <code>string</code>
  2413. </InvalidNullableReturnType>
  2414. <NullableReturnStatement>
  2415. <code>$alias</code>
  2416. </NullableReturnStatement>
  2417. <ParamNameMismatch>
  2418. <code>$groupBys</code>
  2419. <code>$selects</code>
  2420. </ParamNameMismatch>
  2421. </file>
  2422. <file src="lib/private/DB/QueryBuilder/QuoteHelper.php">
  2423. <InvalidNullableReturnType>
  2424. <code>string</code>
  2425. </InvalidNullableReturnType>
  2426. <NullableReturnStatement>
  2427. <code>$string</code>
  2428. </NullableReturnStatement>
  2429. </file>
  2430. <file src="lib/private/DateTimeFormatter.php">
  2431. <FalsableReturnStatement>
  2432. <code><![CDATA[$l->l($type, $timestamp, [
  2433. 'width' => $format,
  2434. ])]]></code>
  2435. </FalsableReturnStatement>
  2436. <InvalidDocblock>
  2437. <code>public function formatDateSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code>
  2438. <code>public function formatTimeSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code>
  2439. </InvalidDocblock>
  2440. <InvalidReturnStatement>
  2441. <code><![CDATA[$l->l($type, $timestamp, [
  2442. 'width' => $format,
  2443. ])]]></code>
  2444. </InvalidReturnStatement>
  2445. <InvalidReturnType>
  2446. <code>string</code>
  2447. </InvalidReturnType>
  2448. </file>
  2449. <file src="lib/private/DateTimeZone.php">
  2450. <InvalidScalarArgument>
  2451. <code>$timestamp</code>
  2452. </InvalidScalarArgument>
  2453. </file>
  2454. <file src="lib/private/Diagnostics/Query.php">
  2455. <ImplementedReturnTypeMismatch>
  2456. <code>float</code>
  2457. </ImplementedReturnTypeMismatch>
  2458. </file>
  2459. <file src="lib/private/Diagnostics/QueryLogger.php">
  2460. <InvalidArgument>
  2461. <code>microtime(true)</code>
  2462. </InvalidArgument>
  2463. <InvalidReturnType>
  2464. <code>stopQuery</code>
  2465. </InvalidReturnType>
  2466. </file>
  2467. <file src="lib/private/DirectEditing/Manager.php">
  2468. <InvalidReturnStatement>
  2469. <code><![CDATA[$query->execute()]]></code>
  2470. </InvalidReturnStatement>
  2471. <InvalidReturnType>
  2472. <code>TemplateResponse</code>
  2473. <code>int</code>
  2474. </InvalidReturnType>
  2475. <UndefinedMethod>
  2476. <code>$template</code>
  2477. <code>$template</code>
  2478. <code>$template</code>
  2479. <code>$template</code>
  2480. </UndefinedMethod>
  2481. </file>
  2482. <file src="lib/private/DirectEditing/Token.php">
  2483. <LessSpecificReturnStatement>
  2484. <code><![CDATA[$this->manager->getFileForToken($this->data['user_id'], $this->data['file_id'], $this->data['file_path'])]]></code>
  2485. </LessSpecificReturnStatement>
  2486. <UndefinedMethod>
  2487. <code>getShareForToken</code>
  2488. </UndefinedMethod>
  2489. </file>
  2490. <file src="lib/private/Encryption/File.php">
  2491. <LessSpecificReturnStatement>
  2492. <code><![CDATA[['users' => $uniqueUserIds, 'public' => $public]]]></code>
  2493. </LessSpecificReturnStatement>
  2494. <MoreSpecificReturnType>
  2495. <code>array{users: string[], public: bool}</code>
  2496. </MoreSpecificReturnType>
  2497. </file>
  2498. <file src="lib/private/Encryption/Keys/Storage.php">
  2499. <InvalidNullableReturnType>
  2500. <code>deleteUserKey</code>
  2501. </InvalidNullableReturnType>
  2502. <NullArgument>
  2503. <code>null</code>
  2504. <code>null</code>
  2505. <code>null</code>
  2506. </NullArgument>
  2507. </file>
  2508. <file src="lib/private/Encryption/Manager.php">
  2509. <ImplementedReturnTypeMismatch>
  2510. <code>bool</code>
  2511. </ImplementedReturnTypeMismatch>
  2512. </file>
  2513. <file src="lib/private/EventDispatcher/EventDispatcher.php">
  2514. <TooManyArguments>
  2515. <code>dispatch</code>
  2516. </TooManyArguments>
  2517. </file>
  2518. <file src="lib/private/EventDispatcher/GenericEventWrapper.php">
  2519. <LessSpecificReturnStatement>
  2520. <code><![CDATA[$this->event->setArgument($key, $value)]]></code>
  2521. <code><![CDATA[$this->event->setArguments($args)]]></code>
  2522. </LessSpecificReturnStatement>
  2523. <MoreSpecificReturnType>
  2524. <code>setArgument</code>
  2525. <code>setArguments</code>
  2526. </MoreSpecificReturnType>
  2527. </file>
  2528. <file src="lib/private/EventDispatcher/SymfonyAdapter.php">
  2529. <ImplementedParamTypeMismatch>
  2530. <code>$eventName</code>
  2531. </ImplementedParamTypeMismatch>
  2532. <NoValue>
  2533. <code>$listener</code>
  2534. </NoValue>
  2535. <ParamNameMismatch>
  2536. <code>$eventName</code>
  2537. </ParamNameMismatch>
  2538. <TooManyArguments>
  2539. <code>dispatch</code>
  2540. </TooManyArguments>
  2541. </file>
  2542. <file src="lib/private/Federation/CloudFederationProviderManager.php">
  2543. <ParamNameMismatch>
  2544. <code>$providerId</code>
  2545. </ParamNameMismatch>
  2546. </file>
  2547. <file src="lib/private/Files/AppData/AppData.php">
  2548. <LessSpecificReturnStatement>
  2549. <code><![CDATA[$this->folder]]></code>
  2550. </LessSpecificReturnStatement>
  2551. <MoreSpecificReturnType>
  2552. <code>Folder</code>
  2553. </MoreSpecificReturnType>
  2554. </file>
  2555. <file src="lib/private/Files/Cache/Cache.php">
  2556. <InvalidArgument>
  2557. <code>$parentData</code>
  2558. </InvalidArgument>
  2559. <InvalidNullableReturnType>
  2560. <code>array</code>
  2561. </InvalidNullableReturnType>
  2562. <InvalidScalarArgument>
  2563. <code>$path</code>
  2564. <code>\OC_Util::normalizeUnicode($path)</code>
  2565. </InvalidScalarArgument>
  2566. <NullableReturnStatement>
  2567. <code>null</code>
  2568. <code>null</code>
  2569. </NullableReturnStatement>
  2570. <ParamNameMismatch>
  2571. <code>$searchQuery</code>
  2572. </ParamNameMismatch>
  2573. </file>
  2574. <file src="lib/private/Files/Cache/FailedCache.php">
  2575. <InvalidReturnStatement>
  2576. <code>[]</code>
  2577. </InvalidReturnStatement>
  2578. <InvalidReturnType>
  2579. <code>getIncomplete</code>
  2580. <code>insert</code>
  2581. <code>put</code>
  2582. </InvalidReturnType>
  2583. </file>
  2584. <file src="lib/private/Files/Cache/HomeCache.php">
  2585. <FalsableReturnStatement>
  2586. <code>$data</code>
  2587. </FalsableReturnStatement>
  2588. <MoreSpecificImplementedParamType>
  2589. <code>$file</code>
  2590. <code>$file</code>
  2591. </MoreSpecificImplementedParamType>
  2592. </file>
  2593. <file src="lib/private/Files/Cache/Scanner.php">
  2594. <InvalidArgument>
  2595. <code>self::SCAN_RECURSIVE_INCOMPLETE</code>
  2596. </InvalidArgument>
  2597. <InvalidReturnStatement>
  2598. <code>$existingChildren</code>
  2599. </InvalidReturnStatement>
  2600. <InvalidReturnType>
  2601. <code>array[]</code>
  2602. </InvalidReturnType>
  2603. </file>
  2604. <file src="lib/private/Files/Cache/Storage.php">
  2605. <InvalidNullableReturnType>
  2606. <code>array</code>
  2607. </InvalidNullableReturnType>
  2608. <NullableReturnStatement>
  2609. <code><![CDATA[self::getGlobalCache()->getStorageInfo($storageId)]]></code>
  2610. </NullableReturnStatement>
  2611. </file>
  2612. <file src="lib/private/Files/Cache/Updater.php">
  2613. <RedundantCondition>
  2614. <code><![CDATA[$this->cache instanceof Cache]]></code>
  2615. </RedundantCondition>
  2616. </file>
  2617. <file src="lib/private/Files/Cache/Wrapper/CacheWrapper.php">
  2618. <LessSpecificImplementedReturnType>
  2619. <code>array</code>
  2620. <code>array</code>
  2621. </LessSpecificImplementedReturnType>
  2622. <ParamNameMismatch>
  2623. <code>$searchQuery</code>
  2624. </ParamNameMismatch>
  2625. </file>
  2626. <file src="lib/private/Files/Config/MountProviderCollection.php">
  2627. <InvalidOperand>
  2628. <code>$user</code>
  2629. </InvalidOperand>
  2630. <RedundantCondition>
  2631. <code>get_class($provider) !== 'OCA\Files_Sharing\MountProvider'</code>
  2632. </RedundantCondition>
  2633. <TypeDoesNotContainType>
  2634. <code>get_class($provider) === 'OCA\Files_Sharing\MountProvider'</code>
  2635. </TypeDoesNotContainType>
  2636. </file>
  2637. <file src="lib/private/Files/Config/UserMountCache.php">
  2638. <InvalidReturnType>
  2639. <code>remoteStorageMounts</code>
  2640. <code>removeUserStorageMount</code>
  2641. </InvalidReturnType>
  2642. <LessSpecificImplementedReturnType>
  2643. <code>array</code>
  2644. </LessSpecificImplementedReturnType>
  2645. <LessSpecificReturnStatement>
  2646. <code><![CDATA[$this->cacheInfoCache[$fileId]]]></code>
  2647. </LessSpecificReturnStatement>
  2648. <MoreSpecificReturnType>
  2649. <code>array{int, string, int}</code>
  2650. </MoreSpecificReturnType>
  2651. </file>
  2652. <file src="lib/private/Files/FileInfo.php">
  2653. <MissingTemplateParam>
  2654. <code>\ArrayAccess</code>
  2655. </MissingTemplateParam>
  2656. </file>
  2657. <file src="lib/private/Files/Filesystem.php">
  2658. <LessSpecificReturnStatement>
  2659. <code><![CDATA[$mount->getStorage()]]></code>
  2660. <code><![CDATA[self::getMountManager()->findByNumericId($id)]]></code>
  2661. <code><![CDATA[self::getMountManager()->findByStorageId($id)]]></code>
  2662. </LessSpecificReturnStatement>
  2663. <MoreSpecificReturnType>
  2664. <code>Mount\MountPoint[]</code>
  2665. <code>Mount\MountPoint[]</code>
  2666. <code>\OC\Files\Storage\Storage|null</code>
  2667. </MoreSpecificReturnType>
  2668. <TooManyArguments>
  2669. <code>addStorageWrapper</code>
  2670. </TooManyArguments>
  2671. </file>
  2672. <file src="lib/private/Files/Mount/MountPoint.php">
  2673. <UndefinedInterfaceMethod>
  2674. <code>wrap</code>
  2675. </UndefinedInterfaceMethod>
  2676. </file>
  2677. <file src="lib/private/Files/Mount/ObjectHomeMountProvider.php">
  2678. <InvalidNullableReturnType>
  2679. <code>\OCP\Files\Mount\IMountPoint</code>
  2680. </InvalidNullableReturnType>
  2681. <NullableReturnStatement>
  2682. <code>null</code>
  2683. </NullableReturnStatement>
  2684. </file>
  2685. <file src="lib/private/Files/Node/File.php">
  2686. <InvalidReturnStatement>
  2687. <code><![CDATA[$this->view->hash($type, $this->path, $raw)]]></code>
  2688. </InvalidReturnStatement>
  2689. <InvalidReturnType>
  2690. <code>string</code>
  2691. </InvalidReturnType>
  2692. </file>
  2693. <file src="lib/private/Files/Node/Folder.php">
  2694. <LessSpecificReturnStatement>
  2695. <code><![CDATA[$this->root->get($this->getFullPath($path))]]></code>
  2696. <code><![CDATA[$this->root->getByIdInPath((int)$id, $this->getPath())]]></code>
  2697. <code><![CDATA[array_map(function (FileInfo $file) {
  2698. return $this->createNode($file->getPath(), $file);
  2699. }, $files)]]></code>
  2700. </LessSpecificReturnStatement>
  2701. <MoreSpecificImplementedParamType>
  2702. <code>$node</code>
  2703. </MoreSpecificImplementedParamType>
  2704. <MoreSpecificReturnType>
  2705. <code>\OC\Files\Node\Node</code>
  2706. <code>\OC\Files\Node\Node[]</code>
  2707. <code>\OC\Files\Node\Node[]</code>
  2708. </MoreSpecificReturnType>
  2709. </file>
  2710. <file src="lib/private/Files/Node/HookConnector.php">
  2711. <UndefinedInterfaceMethod>
  2712. <code>emit</code>
  2713. <code>emit</code>
  2714. <code>emit</code>
  2715. <code>emit</code>
  2716. <code>emit</code>
  2717. <code>emit</code>
  2718. <code>emit</code>
  2719. <code>emit</code>
  2720. <code>emit</code>
  2721. <code>emit</code>
  2722. <code>emit</code>
  2723. <code>emit</code>
  2724. <code>emit</code>
  2725. </UndefinedInterfaceMethod>
  2726. </file>
  2727. <file src="lib/private/Files/Node/LazyFolder.php">
  2728. <InvalidReturnStatement>
  2729. <code><![CDATA[$this->__call(__FUNCTION__, func_get_args())]]></code>
  2730. </InvalidReturnStatement>
  2731. </file>
  2732. <file src="lib/private/Files/Node/LazyUserFolder.php">
  2733. <LessSpecificReturnStatement>
  2734. <code>$node</code>
  2735. </LessSpecificReturnStatement>
  2736. <MoreSpecificReturnType>
  2737. <code>Folder</code>
  2738. </MoreSpecificReturnType>
  2739. </file>
  2740. <file src="lib/private/Files/Node/Node.php">
  2741. <InvalidArgument>
  2742. <code>'\OCP\Files::' . $hook</code>
  2743. </InvalidArgument>
  2744. <InvalidNullableReturnType>
  2745. <code>FileInfo</code>
  2746. </InvalidNullableReturnType>
  2747. <InvalidReturnType>
  2748. <code>getChecksum</code>
  2749. </InvalidReturnType>
  2750. <LessSpecificReturnStatement>
  2751. <code><![CDATA[$this->parent]]></code>
  2752. </LessSpecificReturnStatement>
  2753. <MoreSpecificReturnType>
  2754. <code>INode|IRootFolder</code>
  2755. </MoreSpecificReturnType>
  2756. <NullableReturnStatement>
  2757. <code><![CDATA[$this->fileInfo]]></code>
  2758. </NullableReturnStatement>
  2759. <ParamNameMismatch>
  2760. <code>$type</code>
  2761. </ParamNameMismatch>
  2762. <TooManyArguments>
  2763. <code>dispatch</code>
  2764. </TooManyArguments>
  2765. <UndefinedInterfaceMethod>
  2766. <code><![CDATA[$this->fileInfo]]></code>
  2767. <code><![CDATA[$this->fileInfo]]></code>
  2768. </UndefinedInterfaceMethod>
  2769. </file>
  2770. <file src="lib/private/Files/Node/Root.php">
  2771. <LessSpecificReturnStatement>
  2772. <code>$folders</code>
  2773. <code><![CDATA[$this->createNode($fullPath, $fileInfo, false)]]></code>
  2774. <code><![CDATA[$this->mountManager->findByNumericId($numericId)]]></code>
  2775. <code><![CDATA[$this->mountManager->findByStorageId($storageId)]]></code>
  2776. <code><![CDATA[$this->mountManager->findIn($mountPoint)]]></code>
  2777. <code><![CDATA[$this->user]]></code>
  2778. </LessSpecificReturnStatement>
  2779. <MoreSpecificReturnType>
  2780. <code>MountPoint[]</code>
  2781. <code>Node</code>
  2782. <code>\OC\Files\Mount\MountPoint[]</code>
  2783. <code>\OC\Files\Mount\MountPoint[]</code>
  2784. <code>\OC\User\User</code>
  2785. </MoreSpecificReturnType>
  2786. <NullableReturnStatement>
  2787. <code><![CDATA[$this->user]]></code>
  2788. </NullableReturnStatement>
  2789. <UndefinedMethod>
  2790. <code>remove</code>
  2791. </UndefinedMethod>
  2792. </file>
  2793. <file src="lib/private/Files/ObjectStore/HomeObjectStoreStorage.php">
  2794. <ImplementedReturnTypeMismatch>
  2795. <code>false|string</code>
  2796. </ImplementedReturnTypeMismatch>
  2797. </file>
  2798. <file src="lib/private/Files/ObjectStore/ObjectStoreStorage.php">
  2799. <InvalidScalarArgument>
  2800. <code>$source</code>
  2801. </InvalidScalarArgument>
  2802. </file>
  2803. <file src="lib/private/Files/ObjectStore/S3ConnectionTrait.php">
  2804. <InternalClass>
  2805. <code>ClientResolver::_default_signature_provider()</code>
  2806. <code>ClientResolver::_default_signature_provider()</code>
  2807. </InternalClass>
  2808. <InternalMethod>
  2809. <code>ClientResolver::_default_signature_provider()</code>
  2810. </InternalMethod>
  2811. <UndefinedFunction>
  2812. <code>Promise\promise_for(
  2813. new Credentials($key, $secret)
  2814. )</code>
  2815. <code>\Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())</code>
  2816. </UndefinedFunction>
  2817. </file>
  2818. <file src="lib/private/Files/ObjectStore/S3ObjectTrait.php">
  2819. <InternalMethod>
  2820. <code>upload</code>
  2821. </InternalMethod>
  2822. <UndefinedFunction>
  2823. <code>\Aws\serialize($command)</code>
  2824. </UndefinedFunction>
  2825. </file>
  2826. <file src="lib/private/Files/ObjectStore/S3Signature.php">
  2827. <NullArgument>
  2828. <code>null</code>
  2829. </NullArgument>
  2830. </file>
  2831. <file src="lib/private/Files/ObjectStore/StorageObjectStore.php">
  2832. <InvalidReturnType>
  2833. <code>string</code>
  2834. </InvalidReturnType>
  2835. </file>
  2836. <file src="lib/private/Files/Storage/Common.php">
  2837. <ImplementedReturnTypeMismatch>
  2838. <code>string|false</code>
  2839. </ImplementedReturnTypeMismatch>
  2840. <InvalidOperand>
  2841. <code>!$permissions</code>
  2842. <code><![CDATA[$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file)]]></code>
  2843. </InvalidOperand>
  2844. <NoInterfaceProperties>
  2845. <code><![CDATA[$storage->cache]]></code>
  2846. <code><![CDATA[$storage->cache]]></code>
  2847. <code><![CDATA[$storage->propagator]]></code>
  2848. <code><![CDATA[$storage->propagator]]></code>
  2849. <code><![CDATA[$storage->scanner]]></code>
  2850. <code><![CDATA[$storage->scanner]]></code>
  2851. <code><![CDATA[$storage->updater]]></code>
  2852. <code><![CDATA[$storage->updater]]></code>
  2853. </NoInterfaceProperties>
  2854. </file>
  2855. <file src="lib/private/Files/Storage/DAV.php">
  2856. <InvalidClass>
  2857. <code>ArrayCache</code>
  2858. <code>ArrayCache</code>
  2859. </InvalidClass>
  2860. <InvalidReturnStatement>
  2861. <code><![CDATA[$response->getBody()]]></code>
  2862. </InvalidReturnStatement>
  2863. <InvalidReturnType>
  2864. <code>fopen</code>
  2865. </InvalidReturnType>
  2866. <NullableReturnStatement>
  2867. <code>null</code>
  2868. </NullableReturnStatement>
  2869. </file>
  2870. <file src="lib/private/Files/Storage/FailedStorage.php">
  2871. <InvalidReturnStatement>
  2872. <code>new FailedCache()</code>
  2873. <code>true</code>
  2874. </InvalidReturnStatement>
  2875. <InvalidReturnType>
  2876. <code>getCache</code>
  2877. <code>verifyPath</code>
  2878. </InvalidReturnType>
  2879. </file>
  2880. <file src="lib/private/Files/Storage/Local.php">
  2881. <ImplicitToStringCast>
  2882. <code>$file</code>
  2883. </ImplicitToStringCast>
  2884. <TypeDoesNotContainNull>
  2885. <code>$space === false || is_null($space)</code>
  2886. <code>is_null($space)</code>
  2887. </TypeDoesNotContainNull>
  2888. <TypeDoesNotContainType>
  2889. <code>$stat === false</code>
  2890. </TypeDoesNotContainType>
  2891. </file>
  2892. <file src="lib/private/Files/Storage/LocalRootStorage.php">
  2893. <NoInterfaceProperties>
  2894. <code><![CDATA[$storage->scanner]]></code>
  2895. <code><![CDATA[$storage->scanner]]></code>
  2896. </NoInterfaceProperties>
  2897. </file>
  2898. <file src="lib/private/Files/Storage/Wrapper/Encoding.php">
  2899. <InvalidArgument>
  2900. <code>\Normalizer::FORM_C</code>
  2901. <code>\Normalizer::FORM_C</code>
  2902. <code>\Normalizer::FORM_D</code>
  2903. </InvalidArgument>
  2904. <UndefinedInterfaceMethod>
  2905. <code><![CDATA[$this->namesCache]]></code>
  2906. <code><![CDATA[$this->namesCache]]></code>
  2907. <code><![CDATA[$this->namesCache]]></code>
  2908. <code><![CDATA[$this->namesCache]]></code>
  2909. <code><![CDATA[$this->namesCache]]></code>
  2910. <code><![CDATA[$this->namesCache]]></code>
  2911. <code><![CDATA[$this->namesCache]]></code>
  2912. <code><![CDATA[$this->namesCache]]></code>
  2913. <code><![CDATA[$this->namesCache]]></code>
  2914. <code><![CDATA[$this->namesCache]]></code>
  2915. <code><![CDATA[$this->namesCache]]></code>
  2916. <code><![CDATA[$this->namesCache]]></code>
  2917. <code><![CDATA[$this->namesCache]]></code>
  2918. <code><![CDATA[$this->namesCache]]></code>
  2919. <code><![CDATA[$this->namesCache]]></code>
  2920. <code><![CDATA[$this->namesCache]]></code>
  2921. <code><![CDATA[$this->namesCache]]></code>
  2922. </UndefinedInterfaceMethod>
  2923. </file>
  2924. <file src="lib/private/Files/Storage/Wrapper/Encryption.php">
  2925. <InvalidOperand>
  2926. <code>$result</code>
  2927. <code>$result</code>
  2928. <code><![CDATA[$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file, false, $isRename)]]></code>
  2929. </InvalidOperand>
  2930. <InvalidReturnStatement>
  2931. <code>$newUnencryptedSize</code>
  2932. <code>$result</code>
  2933. </InvalidReturnStatement>
  2934. <InvalidReturnType>
  2935. <code>bool</code>
  2936. <code>int</code>
  2937. </InvalidReturnType>
  2938. <InvalidScalarArgument>
  2939. <code>$lastChunkPos</code>
  2940. <code>$size</code>
  2941. </InvalidScalarArgument>
  2942. </file>
  2943. <file src="lib/private/Files/Storage/Wrapper/Jail.php">
  2944. <InvalidReturnStatement>
  2945. <code><![CDATA[$this->getWrapperStorage()->filetype($this->getUnjailedPath($path))]]></code>
  2946. </InvalidReturnStatement>
  2947. <InvalidReturnType>
  2948. <code>bool</code>
  2949. </InvalidReturnType>
  2950. </file>
  2951. <file src="lib/private/Files/Storage/Wrapper/Wrapper.php">
  2952. <InvalidReturnStatement>
  2953. <code><![CDATA[$this->getWrapperStorage()->test()]]></code>
  2954. </InvalidReturnStatement>
  2955. <InvalidReturnType>
  2956. <code>true</code>
  2957. </InvalidReturnType>
  2958. </file>
  2959. <file src="lib/private/Files/Stream/SeekableHttpStream.php">
  2960. <InvalidReturnType>
  2961. <code>stream_close</code>
  2962. <code>stream_flush</code>
  2963. </InvalidReturnType>
  2964. </file>
  2965. <file src="lib/private/Files/Template/TemplateManager.php">
  2966. <RedundantCondition>
  2967. <code>!$isDefaultTemplates</code>
  2968. </RedundantCondition>
  2969. </file>
  2970. <file src="lib/private/Files/Type/Detection.php">
  2971. <ParamNameMismatch>
  2972. <code>$mimetype</code>
  2973. </ParamNameMismatch>
  2974. </file>
  2975. <file src="lib/private/Files/Type/Loader.php">
  2976. <InvalidReturnStatement>
  2977. <code><![CDATA[$update->execute()]]></code>
  2978. </InvalidReturnStatement>
  2979. <InvalidReturnType>
  2980. <code>int</code>
  2981. </InvalidReturnType>
  2982. </file>
  2983. <file src="lib/private/Files/Utils/Scanner.php">
  2984. <LessSpecificReturnStatement>
  2985. <code>$mounts</code>
  2986. </LessSpecificReturnStatement>
  2987. <MoreSpecificReturnType>
  2988. <code>\OC\Files\Mount\MountPoint[]</code>
  2989. </MoreSpecificReturnType>
  2990. </file>
  2991. <file src="lib/private/Files/View.php">
  2992. <InvalidScalarArgument>
  2993. <code>$mtime</code>
  2994. </InvalidScalarArgument>
  2995. <UndefinedInterfaceMethod>
  2996. <code>acquireLock</code>
  2997. <code>changeLock</code>
  2998. <code>releaseLock</code>
  2999. </UndefinedInterfaceMethod>
  3000. </file>
  3001. <file src="lib/private/FullTextSearch/Model/IndexDocument.php">
  3002. <TypeDoesNotContainNull>
  3003. <code><![CDATA[is_null($this->getContent())]]></code>
  3004. </TypeDoesNotContainNull>
  3005. </file>
  3006. <file src="lib/private/Group/Database.php">
  3007. <InvalidArrayOffset>
  3008. <code><![CDATA[$this->groupCache[$gid]['displayname']]]></code>
  3009. </InvalidArrayOffset>
  3010. <InvalidPropertyAssignmentValue>
  3011. <code><![CDATA[$this->groupCache]]></code>
  3012. <code><![CDATA[$this->groupCache]]></code>
  3013. <code><![CDATA[$this->groupCache]]></code>
  3014. </InvalidPropertyAssignmentValue>
  3015. </file>
  3016. <file src="lib/private/Group/DisplayNameCache.php">
  3017. <MissingTemplateParam>
  3018. <code>IEventListener</code>
  3019. </MissingTemplateParam>
  3020. </file>
  3021. <file src="lib/private/Group/Group.php">
  3022. <InvalidArgument>
  3023. <code>bool</code>
  3024. </InvalidArgument>
  3025. <InvalidOperand>
  3026. <code>$hide</code>
  3027. </InvalidOperand>
  3028. <LessSpecificReturnStatement>
  3029. <code>$users</code>
  3030. </LessSpecificReturnStatement>
  3031. <MoreSpecificImplementedParamType>
  3032. <code>$user</code>
  3033. </MoreSpecificImplementedParamType>
  3034. <MoreSpecificReturnType>
  3035. <code>\OC\User\User[]</code>
  3036. </MoreSpecificReturnType>
  3037. <RedundantCondition>
  3038. <code><![CDATA[$this->emitter]]></code>
  3039. <code><![CDATA[$this->emitter]]></code>
  3040. <code><![CDATA[$this->emitter]]></code>
  3041. </RedundantCondition>
  3042. <UndefinedMethod>
  3043. <code>addToGroup</code>
  3044. <code>countUsersInGroup</code>
  3045. <code>deleteGroup</code>
  3046. <code>removeFromGroup</code>
  3047. </UndefinedMethod>
  3048. </file>
  3049. <file src="lib/private/Group/Manager.php">
  3050. <LessSpecificReturnStatement>
  3051. <code>$groups</code>
  3052. <code>array_values($groups)</code>
  3053. <code>array_values($groups)</code>
  3054. </LessSpecificReturnStatement>
  3055. <MoreSpecificReturnType>
  3056. <code>\OC\Group\Group[]</code>
  3057. <code>\OC\Group\Group[]</code>
  3058. </MoreSpecificReturnType>
  3059. <UndefinedInterfaceMethod>
  3060. <code>createGroup</code>
  3061. <code>getGroupDetails</code>
  3062. <code>isAdmin</code>
  3063. </UndefinedInterfaceMethod>
  3064. </file>
  3065. <file src="lib/private/Http/Client/Response.php">
  3066. <InvalidNullableReturnType>
  3067. <code>string|resource</code>
  3068. </InvalidNullableReturnType>
  3069. <NullableReturnStatement>
  3070. <code><![CDATA[$this->stream ?
  3071. $this->response->getBody()->detach():
  3072. $this->response->getBody()->getContents()]]></code>
  3073. </NullableReturnStatement>
  3074. </file>
  3075. <file src="lib/private/Installer.php">
  3076. <FalsableReturnStatement>
  3077. <code>false</code>
  3078. </FalsableReturnStatement>
  3079. <InvalidArgument>
  3080. <code>false</code>
  3081. <code>false</code>
  3082. </InvalidArgument>
  3083. <InvalidArrayOffset>
  3084. <code>$app['path']</code>
  3085. <code>$app['path']</code>
  3086. </InvalidArrayOffset>
  3087. <NullArgument>
  3088. <code>null</code>
  3089. </NullArgument>
  3090. </file>
  3091. <file src="lib/private/IntegrityCheck/Checker.php">
  3092. <InvalidArrayAccess>
  3093. <code><![CDATA[$x509->getDN(X509::DN_OPENSSL)['CN']]]></code>
  3094. <code><![CDATA[$x509->getDN(X509::DN_OPENSSL)['CN']]]></code>
  3095. <code><![CDATA[$x509->getDN(true)['CN']]]></code>
  3096. </InvalidArrayAccess>
  3097. <UndefinedInterfaceMethod>
  3098. <code>getAllAliases</code>
  3099. <code>getOnlyDefaultAliases</code>
  3100. </UndefinedInterfaceMethod>
  3101. </file>
  3102. <file src="lib/private/IntegrityCheck/Iterator/ExcludeFileByNameFilterIterator.php">
  3103. <MissingTemplateParam>
  3104. <code>ExcludeFileByNameFilterIterator</code>
  3105. </MissingTemplateParam>
  3106. </file>
  3107. <file src="lib/private/IntegrityCheck/Iterator/ExcludeFoldersByPathFilterIterator.php">
  3108. <MissingTemplateParam>
  3109. <code>ExcludeFoldersByPathFilterIterator</code>
  3110. </MissingTemplateParam>
  3111. </file>
  3112. <file src="lib/private/L10N/Factory.php">
  3113. <ImplementedReturnTypeMismatch>
  3114. <code>null|string</code>
  3115. </ImplementedReturnTypeMismatch>
  3116. <LessSpecificImplementedReturnType>
  3117. <code>array|mixed</code>
  3118. </LessSpecificImplementedReturnType>
  3119. </file>
  3120. <file src="lib/private/LargeFileHelper.php">
  3121. <InvalidOperand>
  3122. <code>$matches[1]</code>
  3123. </InvalidOperand>
  3124. </file>
  3125. <file src="lib/private/Lockdown/Filesystem/NullCache.php">
  3126. <InvalidNullableReturnType>
  3127. <code>get</code>
  3128. </InvalidNullableReturnType>
  3129. <InvalidReturnStatement>
  3130. <code>[]</code>
  3131. </InvalidReturnStatement>
  3132. <InvalidReturnType>
  3133. <code>getIncomplete</code>
  3134. </InvalidReturnType>
  3135. <NullableReturnStatement>
  3136. <code><![CDATA[$file !== '' ? null :
  3137. new CacheEntry([
  3138. 'fileid' => -1,
  3139. 'parent' => -1,
  3140. 'name' => '',
  3141. 'path' => '',
  3142. 'size' => '0',
  3143. 'mtime' => time(),
  3144. 'storage_mtime' => time(),
  3145. 'etag' => '',
  3146. 'mimetype' => FileInfo::MIMETYPE_FOLDER,
  3147. 'mimepart' => 'httpd',
  3148. 'permissions' => Constants::PERMISSION_READ
  3149. ])]]></code>
  3150. </NullableReturnStatement>
  3151. </file>
  3152. <file src="lib/private/Lockdown/Filesystem/NullStorage.php">
  3153. <InvalidNullableReturnType>
  3154. <code>getOwner</code>
  3155. <code>getPermissions</code>
  3156. </InvalidNullableReturnType>
  3157. <InvalidReturnStatement>
  3158. <code>new IteratorDirectory([])</code>
  3159. <code>new NullCache()</code>
  3160. </InvalidReturnStatement>
  3161. <InvalidReturnType>
  3162. <code>getCache</code>
  3163. <code>opendir</code>
  3164. </InvalidReturnType>
  3165. <NullableReturnStatement>
  3166. <code>null</code>
  3167. <code>null</code>
  3168. </NullableReturnStatement>
  3169. <TooManyArguments>
  3170. <code>new IteratorDirectory([])</code>
  3171. </TooManyArguments>
  3172. </file>
  3173. <file src="lib/private/Lockdown/LockdownManager.php">
  3174. <InvalidFunctionCall>
  3175. <code>$callback()</code>
  3176. </InvalidFunctionCall>
  3177. <InvalidPropertyAssignmentValue>
  3178. <code>$sessionCallback</code>
  3179. </InvalidPropertyAssignmentValue>
  3180. </file>
  3181. <file src="lib/private/Log.php">
  3182. <RedundantCondition>
  3183. <code>$request</code>
  3184. </RedundantCondition>
  3185. </file>
  3186. <file src="lib/private/Log/File.php">
  3187. <TypeDoesNotContainNull>
  3188. <code>$limit === null</code>
  3189. </TypeDoesNotContainNull>
  3190. </file>
  3191. <file src="lib/private/Log/LogDetails.php">
  3192. <RedundantCondition>
  3193. <code><![CDATA[is_string($request->getMethod())]]></code>
  3194. </RedundantCondition>
  3195. </file>
  3196. <file src="lib/private/Log/Rotate.php">
  3197. <ParamNameMismatch>
  3198. <code>$dummy</code>
  3199. </ParamNameMismatch>
  3200. </file>
  3201. <file src="lib/private/Log/Systemdlog.php">
  3202. <UndefinedFunction>
  3203. <code><![CDATA[sd_journal_send('PRIORITY='.$journal_level,
  3204. 'SYSLOG_IDENTIFIER='.$this->syslogId,
  3205. 'MESSAGE=' . $this->logDetailsAsJSON($app, $message, $level))]]></code>
  3206. </UndefinedFunction>
  3207. </file>
  3208. <file src="lib/private/Memcache/APCu.php">
  3209. <InvalidReturnStatement>
  3210. <code><![CDATA[apcu_add($this->getPrefix() . $key, $value, $ttl)]]></code>
  3211. </InvalidReturnStatement>
  3212. <InvalidReturnType>
  3213. <code>bool</code>
  3214. </InvalidReturnType>
  3215. </file>
  3216. <file src="lib/private/Memcache/Cache.php">
  3217. <LessSpecificImplementedReturnType>
  3218. <code>mixed</code>
  3219. <code>mixed</code>
  3220. <code>mixed</code>
  3221. <code>mixed</code>
  3222. </LessSpecificImplementedReturnType>
  3223. <MissingTemplateParam>
  3224. <code>\ArrayAccess</code>
  3225. </MissingTemplateParam>
  3226. </file>
  3227. <file src="lib/private/Memcache/ProfilerWrapperCache.php">
  3228. <MissingTemplateParam>
  3229. <code>\ArrayAccess</code>
  3230. </MissingTemplateParam>
  3231. </file>
  3232. <file src="lib/private/NavigationManager.php">
  3233. <ParamNameMismatch>
  3234. <code>$id</code>
  3235. </ParamNameMismatch>
  3236. </file>
  3237. <file src="lib/private/Preview/BackgroundCleanupJob.php">
  3238. <InvalidReturnStatement>
  3239. <code>[]</code>
  3240. </InvalidReturnStatement>
  3241. </file>
  3242. <file src="lib/private/Preview/Generator.php">
  3243. <InvalidArgument>
  3244. <code>$maxPreviewImage</code>
  3245. <code>$semId</code>
  3246. </InvalidArgument>
  3247. <InvalidReturnStatement>
  3248. <code>$sem</code>
  3249. </InvalidReturnStatement>
  3250. <InvalidReturnType>
  3251. <code>false|resource</code>
  3252. </InvalidReturnType>
  3253. <LessSpecificReturnType>
  3254. <code>null|string</code>
  3255. </LessSpecificReturnType>
  3256. <MismatchingDocblockParamType>
  3257. <code>ISimpleFile</code>
  3258. </MismatchingDocblockParamType>
  3259. <UndefinedInterfaceMethod>
  3260. <code>height</code>
  3261. <code>height</code>
  3262. <code>preciseResizeCopy</code>
  3263. <code>resizeCopy</code>
  3264. <code>valid</code>
  3265. <code>width</code>
  3266. <code>width</code>
  3267. </UndefinedInterfaceMethod>
  3268. </file>
  3269. <file src="lib/private/Preview/ProviderV1Adapter.php">
  3270. <InvalidReturnStatement>
  3271. <code>$thumbnail === false ? null: $thumbnail</code>
  3272. </InvalidReturnStatement>
  3273. <InvalidReturnType>
  3274. <code>?IImage</code>
  3275. </InvalidReturnType>
  3276. </file>
  3277. <file src="lib/private/RedisFactory.php">
  3278. <InvalidArgument>
  3279. <code>\RedisCluster::OPT_SLAVE_FAILOVER</code>
  3280. </InvalidArgument>
  3281. </file>
  3282. <file src="lib/private/Remote/Api/OCS.php">
  3283. <ImplementedReturnTypeMismatch>
  3284. <code>array</code>
  3285. </ImplementedReturnTypeMismatch>
  3286. </file>
  3287. <file src="lib/private/Remote/Instance.php">
  3288. <InvalidReturnStatement>
  3289. <code><![CDATA[$request->getBody()]]></code>
  3290. </InvalidReturnStatement>
  3291. <InvalidReturnType>
  3292. <code>bool|string</code>
  3293. </InvalidReturnType>
  3294. <InvalidScalarArgument>
  3295. <code>$response</code>
  3296. </InvalidScalarArgument>
  3297. </file>
  3298. <file src="lib/private/Repair/Owncloud/CleanPreviews.php">
  3299. <InvalidArgument>
  3300. <code>false</code>
  3301. </InvalidArgument>
  3302. </file>
  3303. <file src="lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php">
  3304. <ParamNameMismatch>
  3305. <code>$arguments</code>
  3306. </ParamNameMismatch>
  3307. </file>
  3308. <file src="lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php">
  3309. <ParamNameMismatch>
  3310. <code>$arguments</code>
  3311. </ParamNameMismatch>
  3312. <TypeDoesNotContainType>
  3313. <code>$counter % 100 === 0</code>
  3314. </TypeDoesNotContainType>
  3315. </file>
  3316. <file src="lib/private/Repair/RemoveLinkShares.php">
  3317. <InvalidPropertyAssignmentValue>
  3318. <code><![CDATA[$this->userToNotify]]></code>
  3319. </InvalidPropertyAssignmentValue>
  3320. </file>
  3321. <file src="lib/private/Repair/RepairInvalidShares.php">
  3322. <ParamNameMismatch>
  3323. <code>$out</code>
  3324. </ParamNameMismatch>
  3325. </file>
  3326. <file src="lib/private/Repair/RepairMimeTypes.php">
  3327. <ParamNameMismatch>
  3328. <code>$out</code>
  3329. </ParamNameMismatch>
  3330. </file>
  3331. <file src="lib/private/Repair/SqliteAutoincrement.php">
  3332. <ParamNameMismatch>
  3333. <code>$out</code>
  3334. </ParamNameMismatch>
  3335. </file>
  3336. <file src="lib/private/Route/Router.php">
  3337. <InvalidClass>
  3338. <code>\OC_APP</code>
  3339. </InvalidClass>
  3340. <InvalidNullableReturnType>
  3341. <code>string</code>
  3342. </InvalidNullableReturnType>
  3343. <NullableReturnStatement>
  3344. <code><![CDATA[$this->collectionName]]></code>
  3345. </NullableReturnStatement>
  3346. </file>
  3347. <file src="lib/private/Search.php">
  3348. <RedundantCondition>
  3349. <code>$provider instanceof Provider</code>
  3350. </RedundantCondition>
  3351. </file>
  3352. <file src="lib/private/Search/Result/File.php">
  3353. <InvalidPropertyAssignmentValue>
  3354. <code><![CDATA[$data->getId()]]></code>
  3355. <code><![CDATA[$data->getMtime()]]></code>
  3356. <code><![CDATA[$data->getPermissions()]]></code>
  3357. <code><![CDATA[$this->hasPreview($data)]]></code>
  3358. </InvalidPropertyAssignmentValue>
  3359. </file>
  3360. <file src="lib/private/Security/Bruteforce/Throttler.php">
  3361. <NullArgument>
  3362. <code>null</code>
  3363. </NullArgument>
  3364. </file>
  3365. <file src="lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php">
  3366. <NoInterfaceProperties>
  3367. <code><![CDATA[$this->request->server]]></code>
  3368. </NoInterfaceProperties>
  3369. </file>
  3370. <file src="lib/private/Security/CSRF/CsrfToken.php">
  3371. <InvalidArgument>
  3372. <code><![CDATA[\strlen($this->value)]]></code>
  3373. </InvalidArgument>
  3374. </file>
  3375. <file src="lib/private/Security/CredentialsManager.php">
  3376. <InvalidReturnStatement>
  3377. <code><![CDATA[$qb->execute()]]></code>
  3378. <code><![CDATA[$qb->execute()]]></code>
  3379. </InvalidReturnStatement>
  3380. <InvalidReturnType>
  3381. <code>int</code>
  3382. <code>int</code>
  3383. </InvalidReturnType>
  3384. </file>
  3385. <file src="lib/private/Security/Crypto.php">
  3386. <InternalMethod>
  3387. <code>decrypt</code>
  3388. <code>encrypt</code>
  3389. <code>setIV</code>
  3390. <code>setIV</code>
  3391. <code>setPassword</code>
  3392. <code>setPassword</code>
  3393. </InternalMethod>
  3394. </file>
  3395. <file src="lib/private/Server.php">
  3396. <ImplementedReturnTypeMismatch>
  3397. <code>\OCP\Calendar\Resource\IManager</code>
  3398. <code>\OCP\Calendar\Room\IManager</code>
  3399. <code>\OCP\Files\Folder|null</code>
  3400. </ImplementedReturnTypeMismatch>
  3401. <LessSpecificReturnStatement>
  3402. <code><![CDATA[$this->get(IFile::class)]]></code>
  3403. <code><![CDATA[$this->get(IGroupManager::class)]]></code>
  3404. <code><![CDATA[$this->get(INavigationManager::class)]]></code>
  3405. <code><![CDATA[$this->get(IUserManager::class)]]></code>
  3406. <code><![CDATA[$this->get(IUserSession::class)]]></code>
  3407. <code><![CDATA[$this->get(\OCP\Encryption\IManager::class)]]></code>
  3408. </LessSpecificReturnStatement>
  3409. <MoreSpecificReturnType>
  3410. <code>\OC\Encryption\File</code>
  3411. <code>\OC\Encryption\Manager</code>
  3412. <code>\OC\Group\Manager</code>
  3413. <code>\OC\NavigationManager</code>
  3414. <code>\OC\User\Manager</code>
  3415. <code>\OC\User\Session</code>
  3416. </MoreSpecificReturnType>
  3417. <UndefinedDocblockClass>
  3418. <code>\OC\OCSClient</code>
  3419. </UndefinedDocblockClass>
  3420. </file>
  3421. <file src="lib/private/ServerContainer.php">
  3422. <InvalidPropertyAssignmentValue>
  3423. <code><![CDATA[$this->hasNoAppContainer]]></code>
  3424. </InvalidPropertyAssignmentValue>
  3425. <NoValue>
  3426. <code><![CDATA[return $this->appContainers[$namespace];]]></code>
  3427. </NoValue>
  3428. </file>
  3429. <file src="lib/private/Session/CryptoSessionData.php">
  3430. <MissingTemplateParam>
  3431. <code>\ArrayAccess</code>
  3432. </MissingTemplateParam>
  3433. </file>
  3434. <file src="lib/private/Session/Internal.php">
  3435. <MoreSpecificImplementedParamType>
  3436. <code>$value</code>
  3437. </MoreSpecificImplementedParamType>
  3438. </file>
  3439. <file src="lib/private/Session/Memory.php">
  3440. <MoreSpecificImplementedParamType>
  3441. <code>$value</code>
  3442. </MoreSpecificImplementedParamType>
  3443. </file>
  3444. <file src="lib/private/Session/Session.php">
  3445. <MissingTemplateParam>
  3446. <code>\ArrayAccess</code>
  3447. </MissingTemplateParam>
  3448. </file>
  3449. <file src="lib/private/Setup.php">
  3450. <RedundantCondition>
  3451. <code>$content !== ''</code>
  3452. <code>$type === 'pdo'</code>
  3453. </RedundantCondition>
  3454. <UndefinedVariable>
  3455. <code>$vendor</code>
  3456. </UndefinedVariable>
  3457. </file>
  3458. <file src="lib/private/Setup/AbstractDatabase.php">
  3459. <TypeDoesNotContainType>
  3460. <code><![CDATA[ctype_digit($this->dbPort)]]></code>
  3461. </TypeDoesNotContainType>
  3462. <UndefinedThisPropertyFetch>
  3463. <code><![CDATA[$this->dbprettyname]]></code>
  3464. <code><![CDATA[$this->dbprettyname]]></code>
  3465. <code><![CDATA[$this->dbprettyname]]></code>
  3466. <code><![CDATA[$this->dbprettyname]]></code>
  3467. </UndefinedThisPropertyFetch>
  3468. </file>
  3469. <file src="lib/private/Share/Share.php">
  3470. <InvalidOperand>
  3471. <code>!self::isResharingAllowed()</code>
  3472. </InvalidOperand>
  3473. <UndefinedInterfaceMethod>
  3474. <code>getParents</code>
  3475. <code>getParents</code>
  3476. </UndefinedInterfaceMethod>
  3477. </file>
  3478. <file src="lib/private/Share20/DefaultShareProvider.php">
  3479. <InvalidArgument>
  3480. <code><![CDATA[$share->getId()]]></code>
  3481. <code><![CDATA[$share->getId()]]></code>
  3482. <code>(int)$data['id']</code>
  3483. </InvalidArgument>
  3484. <TooManyArguments>
  3485. <code>set</code>
  3486. </TooManyArguments>
  3487. <UndefinedInterfaceMethod>
  3488. <code>getParent</code>
  3489. </UndefinedInterfaceMethod>
  3490. </file>
  3491. <file src="lib/private/Share20/Manager.php">
  3492. <InvalidArgument>
  3493. <code>$id</code>
  3494. <code>'OCP\Share::postAcceptShare'</code>
  3495. <code>'OCP\Share::postShare'</code>
  3496. <code>'OCP\Share::postUnshare'</code>
  3497. <code>'OCP\Share::postUnshareFromSelf'</code>
  3498. <code>'OCP\Share::preShare'</code>
  3499. <code>'OCP\Share::preUnshare'</code>
  3500. </InvalidArgument>
  3501. <TooManyArguments>
  3502. <code>dispatch</code>
  3503. <code>dispatch</code>
  3504. <code>dispatch</code>
  3505. <code>dispatch</code>
  3506. <code>dispatch</code>
  3507. <code>dispatch</code>
  3508. <code>update</code>
  3509. </TooManyArguments>
  3510. <UndefinedClass>
  3511. <code>\OCA\Circles\Api\v1\Circles</code>
  3512. </UndefinedClass>
  3513. <UndefinedInterfaceMethod>
  3514. <code>getChildren</code>
  3515. </UndefinedInterfaceMethod>
  3516. </file>
  3517. <file src="lib/private/Share20/ProviderFactory.php">
  3518. <InvalidNullableReturnType>
  3519. <code>FederatedShareProvider</code>
  3520. <code>ShareByMailProvider</code>
  3521. </InvalidNullableReturnType>
  3522. <InvalidReturnStatement>
  3523. <code>$provider</code>
  3524. <code>$provider</code>
  3525. <code><![CDATA[$this->shareByCircleProvider]]></code>
  3526. </InvalidReturnStatement>
  3527. <InvalidReturnType>
  3528. <code>getProviderForType</code>
  3529. </InvalidReturnType>
  3530. <NullableReturnStatement>
  3531. <code>null</code>
  3532. <code>null</code>
  3533. <code>null</code>
  3534. <code>null</code>
  3535. <code>null</code>
  3536. <code>null</code>
  3537. </NullableReturnStatement>
  3538. <ParamNameMismatch>
  3539. <code>$shareProviderClass</code>
  3540. </ParamNameMismatch>
  3541. <UndefinedClass>
  3542. <code>\OCA\Circles\ShareByCircleProvider</code>
  3543. </UndefinedClass>
  3544. <UndefinedDocblockClass>
  3545. <code>RoomShareProvider</code>
  3546. <code>\OCA\Circles\ShareByCircleProvider</code>
  3547. <code>\OCA\Talk\Share\RoomShareProvider</code>
  3548. <code>private $roomShareProvider = null;</code>
  3549. <code>private $shareByCircleProvider = null;</code>
  3550. </UndefinedDocblockClass>
  3551. <UndefinedInterfaceMethod>
  3552. <code>getLazyRootFolder</code>
  3553. <code>getLazyRootFolder</code>
  3554. <code>getLazyRootFolder</code>
  3555. <code>getLazyRootFolder</code>
  3556. </UndefinedInterfaceMethod>
  3557. </file>
  3558. <file src="lib/private/Share20/Share.php">
  3559. <LessSpecificReturnStatement>
  3560. <code><![CDATA[$this->node]]></code>
  3561. </LessSpecificReturnStatement>
  3562. <MoreSpecificReturnType>
  3563. <code>getNode</code>
  3564. </MoreSpecificReturnType>
  3565. </file>
  3566. <file src="lib/private/Streamer.php">
  3567. <InvalidArgument>
  3568. <code>$stream</code>
  3569. </InvalidArgument>
  3570. <UndefinedInterfaceMethod>
  3571. <code>get</code>
  3572. </UndefinedInterfaceMethod>
  3573. </file>
  3574. <file src="lib/private/SubAdmin.php">
  3575. <UndefinedInterfaceMethod>
  3576. <code>listen</code>
  3577. <code>listen</code>
  3578. </UndefinedInterfaceMethod>
  3579. </file>
  3580. <file src="lib/private/Support/Subscription/Registry.php">
  3581. <UndefinedInterfaceMethod>
  3582. <code>getSupportedApps</code>
  3583. </UndefinedInterfaceMethod>
  3584. </file>
  3585. <file src="lib/private/TagManager.php">
  3586. <InvalidNullableReturnType>
  3587. <code>\OCP\ITags</code>
  3588. </InvalidNullableReturnType>
  3589. <NullableReturnStatement>
  3590. <code>null</code>
  3591. </NullableReturnStatement>
  3592. </file>
  3593. <file src="lib/private/Tags.php">
  3594. <InvalidScalarArgument>
  3595. <code>$from</code>
  3596. <code>$names</code>
  3597. </InvalidScalarArgument>
  3598. <MoreSpecificImplementedParamType>
  3599. <code>$tag</code>
  3600. </MoreSpecificImplementedParamType>
  3601. </file>
  3602. <file src="lib/private/TempManager.php">
  3603. <FalsableReturnStatement>
  3604. <code>false</code>
  3605. <code>false</code>
  3606. </FalsableReturnStatement>
  3607. </file>
  3608. <file src="lib/private/Template/CSSResourceLocator.php">
  3609. <ParamNameMismatch>
  3610. <code>$style</code>
  3611. <code>$style</code>
  3612. </ParamNameMismatch>
  3613. </file>
  3614. <file src="lib/private/Template/JSConfigHelper.php">
  3615. <NullArgument>
  3616. <code>null</code>
  3617. <code>null</code>
  3618. </NullArgument>
  3619. </file>
  3620. <file src="lib/private/Template/JSResourceLocator.php">
  3621. <InvalidArgument>
  3622. <code>false</code>
  3623. </InvalidArgument>
  3624. <ParamNameMismatch>
  3625. <code>$script</code>
  3626. <code>$script</code>
  3627. </ParamNameMismatch>
  3628. </file>
  3629. <file src="lib/private/TemplateLayout.php">
  3630. <InvalidParamDefault>
  3631. <code>string</code>
  3632. <code>string</code>
  3633. </InvalidParamDefault>
  3634. <InvalidScalarArgument>
  3635. <code>$appName</code>
  3636. <code>$appName</code>
  3637. </InvalidScalarArgument>
  3638. <UndefinedInterfaceMethod>
  3639. <code>getInitialStates</code>
  3640. </UndefinedInterfaceMethod>
  3641. </file>
  3642. <file src="lib/private/URLGenerator.php">
  3643. <InvalidReturnStatement>
  3644. <code>$path</code>
  3645. </InvalidReturnStatement>
  3646. </file>
  3647. <file src="lib/private/User/Database.php">
  3648. <FalsableReturnStatement>
  3649. <code>false</code>
  3650. </FalsableReturnStatement>
  3651. </file>
  3652. <file src="lib/private/User/DisplayNameCache.php">
  3653. <MissingTemplateParam>
  3654. <code>IEventListener</code>
  3655. </MissingTemplateParam>
  3656. </file>
  3657. <file src="lib/private/User/Manager.php">
  3658. <ImplementedReturnTypeMismatch>
  3659. <code>IUser|false</code>
  3660. </ImplementedReturnTypeMismatch>
  3661. <InvalidArgument>
  3662. <code>$backend</code>
  3663. </InvalidArgument>
  3664. <UndefinedInterfaceMethod>
  3665. <code>createUser</code>
  3666. <code>getUsersForUserValueCaseInsensitive</code>
  3667. </UndefinedInterfaceMethod>
  3668. </file>
  3669. <file src="lib/private/User/Session.php">
  3670. <ImplementedReturnTypeMismatch>
  3671. <code>boolean|null</code>
  3672. </ImplementedReturnTypeMismatch>
  3673. <InvalidArgument>
  3674. <code>IUser::class . '::firstLogin'</code>
  3675. </InvalidArgument>
  3676. <NoInterfaceProperties>
  3677. <code><![CDATA[$request->server]]></code>
  3678. <code><![CDATA[$request->server]]></code>
  3679. </NoInterfaceProperties>
  3680. <TooManyArguments>
  3681. <code>dispatch</code>
  3682. </TooManyArguments>
  3683. </file>
  3684. <file src="lib/private/User/User.php">
  3685. <UndefinedInterfaceMethod>
  3686. <code>emit</code>
  3687. <code>emit</code>
  3688. <code>emit</code>
  3689. <code>emit</code>
  3690. <code>emit</code>
  3691. </UndefinedInterfaceMethod>
  3692. </file>
  3693. <file src="lib/private/legacy/OC_API.php">
  3694. <InvalidNullableReturnType>
  3695. <code>int</code>
  3696. </InvalidNullableReturnType>
  3697. <NullableReturnStatement>
  3698. <code>null</code>
  3699. </NullableReturnStatement>
  3700. </file>
  3701. <file src="lib/private/legacy/OC_App.php">
  3702. <InvalidArgument>
  3703. <code>$groupsList</code>
  3704. <code>ManagerEvent::EVENT_APP_UPDATE</code>
  3705. </InvalidArgument>
  3706. <InvalidArrayOffset>
  3707. <code>$dir['path']</code>
  3708. <code>$dir['url']</code>
  3709. </InvalidArrayOffset>
  3710. <NullArgument>
  3711. <code>null</code>
  3712. </NullArgument>
  3713. <NullableReturnStatement>
  3714. <code>null</code>
  3715. </NullableReturnStatement>
  3716. <TooManyArguments>
  3717. <code>dispatch</code>
  3718. </TooManyArguments>
  3719. <TypeDoesNotContainNull>
  3720. <code>$appId === null</code>
  3721. <code>$appId === null</code>
  3722. </TypeDoesNotContainNull>
  3723. </file>
  3724. <file src="lib/private/legacy/OC_FileChunking.php">
  3725. <UndefinedDocblockClass>
  3726. <code>\OC\InsufficientStorageException</code>
  3727. </UndefinedDocblockClass>
  3728. </file>
  3729. <file src="lib/private/legacy/OC_Files.php">
  3730. <RedundantCondition>
  3731. <code>$getType === self::ZIP_DIR</code>
  3732. <code>$getType === self::ZIP_DIR</code>
  3733. </RedundantCondition>
  3734. <UndefinedInterfaceMethod>
  3735. <code>get</code>
  3736. <code>get</code>
  3737. </UndefinedInterfaceMethod>
  3738. </file>
  3739. <file src="lib/private/legacy/OC_Helper.php">
  3740. <InvalidArrayOffset>
  3741. <code>$matches[0][$last_match]</code>
  3742. <code>$matches[1][$last_match]</code>
  3743. </InvalidArrayOffset>
  3744. <InvalidScalarArgument>
  3745. <code>$path</code>
  3746. </InvalidScalarArgument>
  3747. <UndefinedInterfaceMethod>
  3748. <code>getQuota</code>
  3749. </UndefinedInterfaceMethod>
  3750. </file>
  3751. <file src="lib/private/legacy/OC_Template.php">
  3752. <InvalidReturnType>
  3753. <code>bool|string</code>
  3754. </InvalidReturnType>
  3755. </file>
  3756. <file src="lib/private/legacy/OC_User.php">
  3757. <UndefinedClass>
  3758. <code>\Test\Util\User\Dummy</code>
  3759. </UndefinedClass>
  3760. </file>
  3761. <file src="lib/private/legacy/OC_Util.php">
  3762. <InvalidReturnType>
  3763. <code>void</code>
  3764. </InvalidReturnType>
  3765. </file>
  3766. <file src="lib/public/AppFramework/ApiController.php">
  3767. <NoInterfaceProperties>
  3768. <code><![CDATA[$this->request->server]]></code>
  3769. </NoInterfaceProperties>
  3770. </file>
  3771. <file src="lib/public/AppFramework/App.php">
  3772. <InternalMethod>
  3773. <code><![CDATA[new RouteConfig($this->container, $router, $routes)]]></code>
  3774. </InternalMethod>
  3775. </file>
  3776. <file src="lib/public/AppFramework/Db/Entity.php">
  3777. <InvalidNullableReturnType>
  3778. <code>string</code>
  3779. </InvalidNullableReturnType>
  3780. <NullableReturnStatement>
  3781. <code>$column</code>
  3782. </NullableReturnStatement>
  3783. </file>
  3784. <file src="lib/public/AppFramework/Http/Response.php">
  3785. <LessSpecificReturnStatement>
  3786. <code><![CDATA[array_merge($mergeWith, $this->headers)]]></code>
  3787. </LessSpecificReturnStatement>
  3788. <MoreSpecificReturnType>
  3789. <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>
  3790. </MoreSpecificReturnType>
  3791. </file>
  3792. <file src="lib/public/Cache/CappedMemoryCache.php">
  3793. <MissingTemplateParam>
  3794. <code>\ArrayAccess</code>
  3795. </MissingTemplateParam>
  3796. </file>
  3797. <file src="lib/public/Color.php">
  3798. <LessSpecificReturnStatement>
  3799. <code>$step</code>
  3800. </LessSpecificReturnStatement>
  3801. <MoreSpecificReturnType>
  3802. <code>array{0: int, 1: int, 2: int}</code>
  3803. </MoreSpecificReturnType>
  3804. </file>
  3805. <file src="lib/public/Diagnostics/IQueryLogger.php">
  3806. <LessSpecificImplementedReturnType>
  3807. <code>mixed</code>
  3808. </LessSpecificImplementedReturnType>
  3809. </file>
  3810. <file src="lib/public/EventDispatcher/GenericEvent.php">
  3811. <MissingTemplateParam>
  3812. <code>ArrayAccess</code>
  3813. <code>IteratorAggregate</code>
  3814. </MissingTemplateParam>
  3815. </file>
  3816. <file src="lib/public/Files.php">
  3817. <FalsableReturnStatement>
  3818. <code>\OC_App::getStorage($app)</code>
  3819. </FalsableReturnStatement>
  3820. </file>
  3821. <file src="lib/public/Files/Cache/ICacheEntry.php">
  3822. <MissingTemplateParam>
  3823. <code>ArrayAccess</code>
  3824. </MissingTemplateParam>
  3825. </file>
  3826. <file src="lib/public/Files/Storage.php">
  3827. <InvalidParamDefault>
  3828. <code>array</code>
  3829. </InvalidParamDefault>
  3830. </file>
  3831. <file src="lib/public/L10N/ILanguageIterator.php">
  3832. <MissingTemplateParam>
  3833. <code>\Iterator</code>
  3834. </MissingTemplateParam>
  3835. </file>
  3836. <file src="lib/public/Preview/BeforePreviewFetchedEvent.php">
  3837. <LessSpecificReturnStatement>
  3838. <code><![CDATA[$this->mode]]></code>
  3839. </LessSpecificReturnStatement>
  3840. <MoreSpecificReturnType>
  3841. <code>null|IPreview::MODE_FILL|IPreview::MODE_COVER</code>
  3842. </MoreSpecificReturnType>
  3843. </file>
  3844. </files>