1
0

psalm-baseline.xml 118 KB

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