psalm-baseline.xml 129 KB

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