1
0

psalm-baseline.xml 144 KB

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