psalm-baseline.xml 131 KB

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