psalm-baseline.xml 104 KB

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