1
0

psalm-baseline.xml 105 KB

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