psalm-baseline.xml 101 KB

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