psalm-baseline.xml 116 KB

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