psalm-baseline.xml 101 KB

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