psalm-baseline.xml 105 KB

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