psalm-baseline.xml 100 KB

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