psalm-baseline.xml 125 KB

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