psalm-baseline.xml 119 KB

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