psalm-baseline.xml 110 KB

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