psalm-baseline.xml 133 KB

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