1
0

psalm-baseline.xml 97 KB

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