psalm-baseline.xml 129 KB

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